sigoden / aichat

All-in-one AI CLI tool that integrates 20+ AI platforms, including OpenAI, Azure-OpenAI, Gemini, Claude, Mistral, Cohere, VertexAI, Bedrock, Ollama, Ernie, Qianwen, Deepseek...
Apache License 2.0
3.27k stars 217 forks source link

refactor: agent rag use `documents` field other than `embeddings` dir #658

Closed sigoden closed 4 days ago

sigoden commented 4 days ago

Instead of useing embeddings dir, we add documents field to agent definition file index.yaml.

documents:
  - files/doc.pdf

relate to #517