feat(RAG): 更新RAG模块代码和文档
refactor: 简化Embeddings和LLM类实现,移除不必要依赖 docs: 更新文档内容,添加硅基流动API使用说明 chore: 更新requirements.txt依赖版本
This commit is contained in:
4
docs/chapter7/RAG/.env_example
Normal file
4
docs/chapter7/RAG/.env_example
Normal file
@@ -0,0 +1,4 @@
|
||||
# 此处默认使用国内可访问的轨迹流动平台 https://cloud.siliconflow.cn/
|
||||
|
||||
OPENAI_API_KEY='your api key'
|
||||
OPENAI_BASE_URL='https://api.siliconflow.cn/v1'
|
||||
Reference in New Issue
Block a user