diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-06 09:38:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-06 09:38:48 +0800 |
| commit | d8eeb55578543b7e35c8ea7c38a46b0786e71052 (patch) | |
| tree | a8f9a1df2ef837f7c65d02e282a39b4d511ceb7f /README.md | |
| parent | 4052bc944eea096d66bbfe23ded12f8d853cb848 (diff) | |
| download | llm-functions-docker-d8eeb55578543b7e35c8ea7c38a46b0786e71052.tar.gz | |
feat: remove ruby (#20)
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 31 |
1 files changed, 1 insertions, 30 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. 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 @@ -165,35 +165,6 @@ def execute(data): exec(data["code"]) ``` -### Ruby - -Create a new ruby script in the [./tools/](./tools/) directory (e.g., `may_execute_rb_code.rb`). - -```rb -def declarate - { - "name": "may_execute_rb_code", - "description": "Runs the ruby code.", - "parameters": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "Ruby code to execute, such as `puts \"hello world\"`" - } - }, - "required": [ - "code" - ] - } - } -end - -def execute(data) - eval(data["code"]) -end -``` - ## License The project is under the MIT License, Refer to the [LICENSE](https://github.com/sigoden/llm-functions/blob/main/LICENSE) file for detailed information.
\ No newline at end of file |
