Implement "direct functions", which allow you to bypass specifying a function configuration (as a FunctionSchema or in a provider-specific format) and use the Python function directly. Metadata is gathered automatically from the function signature and docstring.

This commit is contained in:
Paul Kompfner
2025-06-23 16:02:13 -04:00
parent 0ecfa827e6
commit 15b9a5faf6
6 changed files with 712 additions and 32 deletions

View File

@@ -31,7 +31,8 @@ dependencies = [
"pyloudnorm~=0.1.1",
"resampy~=0.4.3",
"soxr~=0.5.0",
"openai~=1.70.0"
"openai~=1.70.0",
"docstring_parser~=0.16"
]
[project.urls]