aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-28 06:36:56 +0800
committerGitHub <noreply@github.com>2024-06-28 06:36:56 +0800
commitf7f009b1da01b6065d8be153606c23dd6e674645 (patch)
tree1674e15d4536bd5997330477330d64298b7a3217 /README.md
parentff3ee318d266064081c828f86d5a3c5109457729 (diff)
downloadllm-functions-docker-f7f009b1da01b6065d8be153606c23dd6e674645.tar.gz
feat: agent rag use `documents` field other than `embeddings` dir (#51)
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index bdf5fdd..dafad10 100644
--- a/README.md
+++ b/README.md
@@ -130,7 +130,6 @@ The agent has the following folder structure:
```
└── agents
└── myagent
- ├── embeddings/ # Contains RAG files for knowledge
├── functions.json # Function declarations file (Auto-generated)
├── index.yaml # Agent definition file
└── tools.{sh,js,py} # Agent tools script
@@ -145,6 +144,8 @@ version: v0.1.0
instructions: You are a test ai agent to ...
conversation_starters:
- What can you do?
+documents:
+ - files/doc.pdf
```
Refer to `./agents/todo-{sh,js,py}` for examples of how to implement a agent.