diff options
| author | sigoden <sigoden@gmail.com> | 2024-07-13 00:41:46 +0000 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2024-07-13 00:42:12 +0000 |
| commit | 9b557ae1f5f0996e1149ef8d0099876cfe754d57 (patch) | |
| tree | ef51b0c31778e73c409de550e185357f386ae135 | |
| parent | 3f25728e150445a9671f58c9ae574fc273250a9d (diff) | |
| download | llm-functions-docker-9b557ae1f5f0996e1149ef8d0099876cfe754d57.tar.gz | |
chore: update readme
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | agents/demo/README.md | 6 |
2 files changed, 8 insertions, 4 deletions
@@ -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. diff --git a/agents/demo/README.md b/agents/demo/README.md index 888b236..d430477 100644 --- a/agents/demo/README.md +++ b/agents/demo/README.md @@ -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 ```
\ No newline at end of file |
