A LLM Function Calling Tool-kit for Tool Learning research.
LLaMA
{
"name": "get_current_temperature",
"description": "Get the current temperature for a specific location",
"parameters":
{
"type": "object",
"properties":
{
"location": {
"type": "string",
"description": "The city and state, e.g., San Francisco, CA"
},
"unit": {
"type": "string",
"enum": ["Celsius", "Fahrenheit"],
"description": "The temperature unit to use. Infer this from the user's location."
}
},
"required": ["location", "unit"]
}core class
chat history and chat template
data preprocessing,load
extra document process module for RAG
foundation model
format the answer text, ...
tool_pool information and execution
type checking
logging , file io

