chore: update readme
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user