diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1,6 +1,6 @@ # LLM Functions -This project allows you to enhance large language models (LLMs) with custom functions written in Bash/Js/Python/Ruby. Imagine your LLM being able to execute system commands, access web APIs, or perform other complex tasks – all triggered by simple, natural language prompts. +This project allows you to enhance large language models (LLMs) with custom functions written in bash/js/python/ruby. Imagine your LLM being able to execute system commands, access web APIs, or perform other complex tasks – all triggered by simple, natural language prompts. ## Prerequisites @@ -46,7 +46,8 @@ AIChat will automatically load `functions.json` and execute functions located in Now you can interact with your LLM using natural language prompts that trigger your defined functions. - + + ## Function Types @@ -56,13 +57,17 @@ The function returns JSON data to LLM for further processing. AIChat does not ask permission to run the function or print the output. + + ### Execute Type -The function does not return data to LLM. Instead, they enable more complex actions, such as showing a progress bar or running a TUI application. +The function does not have to return JSON data. + +The function can perform dangerous tasks like creating/deleting files, changing network adapter, and setting a scheduled task... AIChat will ask permission before running the function. - + **AIChat categorizes functions starting with `may_` as `execute type` and all others as `retrieve type`.** |
