chore: update readme

This commit is contained in:
sigoden
2024-07-13 00:41:46 +00:00
parent 3f25728e15
commit 9b557ae1f5
2 changed files with 8 additions and 4 deletions
+4 -2
View File
@@ -111,7 +111,7 @@ def main(code: str):
```
## Writing Agents
## Writing Your Own Agents
Agent = Prompt + Tools (Function Callings) + Knowndge (RAG). It's also known as OpenAI's GPTs.
@@ -135,7 +135,9 @@ instructions: You are a test ai agent to ...
conversation_starters:
- What can you do?
documents:
- files/doc.pdf
- local-file.txt
- local-dir/
- https://example.com/remote-file.txt
```
Refer to `./agents/todo-{sh,js,py}` for examples of how to implement a agent.
+4 -2
View File
@@ -36,9 +36,11 @@ instructions: |
### documents
Documents are used for RAG.
Documents are used for RAG, supporting local files/dirs and remote URLs.
```yaml
documents:
- https://raw.githubusercontent.com/sigoden/llm-functions/main/README.md
- local-file.txt
- local-dir/
- https://example.com/remote-file.txt
```