Adding the unified format function calling to the changelog.
This commit is contained in:
21
CHANGELOG.md
21
CHANGELOG.md
@@ -9,6 +9,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
- Added support for a unified format for specifying function calling across all LLM services.
|
||||||
|
```python
|
||||||
|
weather_function = FunctionSchema(
|
||||||
|
name="get_current_weather",
|
||||||
|
description="Get the current weather",
|
||||||
|
properties={
|
||||||
|
"location": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The city and state, e.g. San Francisco, CA",
|
||||||
|
},
|
||||||
|
"format": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["celsius", "fahrenheit"],
|
||||||
|
"description": "The temperature unit to use. Infer this from the user's location.",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
required=["location"],
|
||||||
|
)
|
||||||
|
tools = ToolsSchema(standard_tools=[weather_function])
|
||||||
|
```
|
||||||
|
|
||||||
- Added `speech_threshold` parameter to `GladiaSTTService`.
|
- Added `speech_threshold` parameter to `GladiaSTTService`.
|
||||||
|
|
||||||
- Allow passing user (`user_kwargs`) and assistant (`assistant_kwargs`) context
|
- Allow passing user (`user_kwargs`) and assistant (`assistant_kwargs`) context
|
||||||
|
|||||||
Reference in New Issue
Block a user