by cadifyai · Agent Tool · ★ 21
tool2schema Inspired by janekb04/py2gpt and fastai/lm-hackers Why tool2schema? Sometimes you can provide a large language model (LLM) with functions for it to call, but it needs to follow a specific schema. is a small depedency-free library that converts your functions into that specific schema. So yeah, it's in the name! Installation You can install using . Usage On all functions that you would like to get the schema for, simply add the decorator. Then use the return value of method directly in your requests to whatever LLM you are using.
| Stars | 21 |
| Forks | 1 |
| Language | Python |
| Category | Agent Tool |
| License | Apache-2.0 |
| Quality Score | 76.9330857829757/100 |
| Open Issues | 2 |
| Last Updated | 2024-09-29 |
| Created | 2023-12-18 |
| Platforms | python |
| Est. Tokens | ~17k |
Explore other popular agent tool tools:
tool2schema is Automatically convert functions to schemas for LLM function calling.. It is categorized as a Agent Tool with 21 GitHub stars.
tool2schema is primarily written in Python. It covers topics such as anthropic, function-calling, llm.
You can find installation instructions and usage details in the tool2schema GitHub repository at github.com/cadifyai/tool2schema. The project has 21 stars and 1 forks, indicating an active community.
tool2schema is released under the Apache-2.0 license, making it free to use and modify according to the license terms.