chore: update readme

This commit is contained in:
sigoden
2024-07-12 23:51:00 +00:00
parent 1051beca6a
commit 2f938034c3
+5 -7
View File
@@ -28,22 +28,22 @@ git clone https://github.com/sigoden/llm-functions
``` ```
get_current_weather.sh get_current_weather.sh
execute_command.sh execute_py_code.py
#execute_py_code.py search_tavily.sh
``` ```
- Create a `./agents.txt` file with each agent name on a new line. - Create a `./agents.txt` file with each agent name on a new line.
``` ```
coder
todo todo
#demo
``` ```
- Run `argc build` to build functions declarations files (`functions.json`) and binaries (`./bin`) for tools and agents. - Run `argc build` to build tools and agents
**3. Configure your AIChat:** **3. Configure your AIChat:**
Symlink this repo directory to aichat **functions_dir**: Symlink this repo directory to AIChat **functions_dir**:
```sh ```sh
ln -s "$(pwd)" "$(aichat --info | grep -w functions_dir | awk '{print $2}')" ln -s "$(pwd)" "$(aichat --info | grep -w functions_dir | awk '{print $2}')"
@@ -51,8 +51,6 @@ ln -s "$(pwd)" "$(aichat --info | grep -w functions_dir | awk '{print $2}')"
argc install argc install
``` ```
AIChat will automatically load `functions.json` and execute commands located in the `./bin` directory based on your prompts.
**4. Start using your functions:** **4. Start using your functions:**
Now you can interact with your LLM using natural language prompts that trigger your defined functions. Now you can interact with your LLM using natural language prompts that trigger your defined functions.