diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-08 11:40:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-08 11:40:54 +0800 |
| commit | 8a87890df6e2b5356d4877a311dd8937a92d11a1 (patch) | |
| tree | 13c3412204f0c835974da0930808b454224ab284 /README.md | |
| parent | 2b5b0f6502cc245b2365e4a8b5fdaaefb9d67b5d (diff) | |
| download | llm-functions-docker-8a87890df6e2b5356d4877a311dd8937a92d11a1.tar.gz | |
feat: rename functions.txt to tools.txt (#35)
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -19,9 +19,9 @@ git clone https://github.com/sigoden/llm-functions **2. Build function declarations file and bin dir:** -First, create a `./functions.txt` file with each function name on a new line. +First, create a `./tools.txt` file with each tool name on a new line. -Then, run `argc build` to build function declarations file `./functions.json` and bin dir `./bin/`. +Then, run `argc build` to build declarations file (`./functions.json`) and binaries dir (`./bin/`). **3. Configure your AIChat:** @@ -39,7 +39,7 @@ Don't forget to add the following config to your AIChat `config.yaml` file: function_calling: true ``` -AIChat will automatically load `functions.json` and execute functions located in the `./bin` directory based on your prompts. +AIChat will automatically load `functions.json` and execute commands located in the `./bin` directory based on your prompts. **4. Start using your functions:** @@ -74,7 +74,7 @@ AIChat will ask permission before running the function. You can write functions in bash/javascript/python. -`llm-functions` will automatic generate function declarations from comments. Refer to `demo_tool.{sh,js,py}` for examples of how to use comments for autogeneration of declarations. +`llm-functions` will automatic generate function declarations from comments. Refer to `tools/demo_tool.{sh,js,py}` for examples of how to use comments for autogeneration of declarations. ### Bash |
