-
-
Notifications
You must be signed in to change notification settings - Fork 28.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LLM Tools support for OpenAI integration (#117645)
* initial commit * Add tests * Move tests to the correct file * Fix exception type * Undo change to default prompt * Add intent dependency * Move format_tool out of the class * Fix tests * coverage * Adjust to new API * Update strings * Update tests * Remove unrelated change * Test referencing non-existing API * Add test to verify no exception on tool conversion for Assist tools * Bump voluptuous-openapi==0.0.4 * Add device_id to tool input * Fix tests --------- Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
- Loading branch information
Showing
11 changed files
with
663 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"domain": "openai_conversation", | ||
"name": "OpenAI Conversation", | ||
"after_dependencies": ["assist_pipeline"], | ||
"after_dependencies": ["assist_pipeline", "intent"], | ||
"codeowners": ["@balloob"], | ||
"config_flow": true, | ||
"dependencies": ["conversation"], | ||
"documentation": "https://www.home-assistant.io/integrations/openai_conversation", | ||
"integration_type": "service", | ||
"iot_class": "cloud_polling", | ||
"requirements": ["openai==1.3.8"] | ||
"requirements": ["openai==1.3.8", "voluptuous-openapi==0.0.4"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.