sigoden / llm-functions

Easily create LLM tools and agents using Bash/JavaScript/Python, also a library of commonly used LLM tools and agents.
MIT License
166 stars 22 forks source link

feat: agent rag use `documents` field other than `embeddings` dir #51

Closed sigoden closed 3 months ago

sigoden commented 3 months ago

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

# agent/index.yaml
documents:
  - files/doc.pdf