# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/vfs7t4q
大模型 RAG:基於 PgSql 的向量檢索**
一 RAG 與向量檢索1.1 RAG 概念----------檢索增強生成(Retrieval-augmented Generation),簡稱 RAG。RAG 通常包括兩個階段:1、檢索上下文相關信息;2、使用檢索到的知識指導生成過程。簡單來說,就像開卷考試,我們可以攜帶參考材料用來查找相關信息來回答問題。1.2 RAG 意義----------目前對大模型的使用通常存在兩個主要挑戰:1、由於生 ⌘ Read more