From e78f0ae36bcc6f368a95519a709e58ab62055753 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 3 Jul 2024 08:11:50 +0000 Subject: [PATCH] feat: rename `may_execute_*` to `execute_*` --- README.md | 12 ++---------- tools/{may_execute_command.sh => execute_command.sh} | 0 tools/{may_execute_js_code.js => execute_js_code.js} | 0 tools/{may_execute_py_code.py => execute_py_code.py} | 0 4 files changed, 2 insertions(+), 10 deletions(-) rename tools/{may_execute_command.sh => execute_command.sh} (100%) rename tools/{may_execute_js_code.js => execute_js_code.js} (100%) rename tools/{may_execute_py_code.py => execute_py_code.py} (100%) diff --git a/README.md b/README.md index dafad10..5739837 100644 --- a/README.md +++ b/README.md @@ -45,23 +45,15 @@ ln -s "$(pwd)" "$(aichat --info | grep -w functions_dir | awk '{print $2}')" argc install ``` -Don't forget to add the following config to your AIChat `config.yaml` file: - -```yaml -function_calling: true -``` - AIChat will automatically load `functions.json` and execute commands located in the `./bin` directory based on your prompts. **4. Start using your functions:** Now you can interact with your LLM using natural language prompts that trigger your defined functions. -## AIChat Showcases - -![retrieve-type-showcase](https://github.com/sigoden/llm-functions/assets/4012553/7e628834-9863-444a-bad8-7b51bfb18dff) +## Showcases -![execute-type-showcase](https://github.com/sigoden/llm-functions/assets/4012553/1dbc345f-daf9-4d65-a49f-3df8c7df1727) +![tools-showcase](https://github.com/sigoden/aichat/assets/4012553/f9d7f827-9a2a-4ea1-8b8c-19e1c93178d4) ![agent-showcase](https://github.com/sigoden/llm-functions/assets/4012553/05e1e57e-3bcc-4504-b78f-c36b27d16bfd) diff --git a/tools/may_execute_command.sh b/tools/execute_command.sh similarity index 100% rename from tools/may_execute_command.sh rename to tools/execute_command.sh diff --git a/tools/may_execute_js_code.js b/tools/execute_js_code.js similarity index 100% rename from tools/may_execute_js_code.js rename to tools/execute_js_code.js diff --git a/tools/may_execute_py_code.py b/tools/execute_py_code.py similarity index 100% rename from tools/may_execute_py_code.py rename to tools/execute_py_code.py