@xiking872想法:使用 RAG 对 代理的 copilot 调优 中发帖

我有这个想法,但我不是专业搞ai的吗 
我看到 github-copilot-proxies 这个 Github Copilot 代理仓库
我想着使用 RAG技术将我们本地的git仓库向量化,
然后修改github-copilot-proxies发请求给第三方大模型的参数
注入本地代码仓库相关的信息。从而实现更高的接受率
下面是我写的demo,这里只写了向量化的代码
有几个疑问:

提示词怎么构建才能发挥出作用?
2.如何生成向量数据库的 query?
各位佬友一起看看,觉得这个想法有没有作用~
求指导 💫

# Path: splitter .py
from langchain_text_splitters import RecursiveCharacterTextSplitter
from langchain_text_splitters.base import La...