Include root schema as parameters for tool calling (#10914)

Allows `LanguageModelTool`s to include nested structures, by exposing
the definitions section of their JSON Schema.

Release Notes:

- N/A
This commit is contained in:
Kyle Kelley
2024-04-23 20:49:29 -07:00
committed by GitHub
parent 25981550d5
commit af5a9fabc6
5 changed files with 241 additions and 5 deletions
Generated
+1
View File
@@ -391,6 +391,7 @@ dependencies = [
"node_runtime",
"open_ai",
"project",
"rand 0.8.5",
"release_channel",
"rich_text",
"schemars",