Comments (4)
Yes, you're right that you need to put the args in the description or else the LLM won't know. We should update the docs because intent script doesn't allow specifying fields. Our longer term goal is to just allow scripts to be exposed, and do the same thing.
from core.
Hey there @balloob, mind taking a look at this issue as it has been labeled with an integration (openai_conversation
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of openai_conversation
can trigger bot actions by commenting:
@home-assistant close
Closes the issue.@home-assistant rename Awesome new title
Renames the issue.@home-assistant reopen
Reopen the issue.@home-assistant unassign openai_conversation
Removes the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-information
Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-information
Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
openai_conversation documentation
openai_conversation source
(message by IssueLinks)
from core.
Quick addition, I tried this with an intent script that just had a single slot with no area and ran into a smiliar error. In this example the name was not passed to the tool at all.
from core.
I have an update, I managed to get this to work! Turns out you need to add a very explicit, more detailed description that explains what arguments are required for this function. Here is the description I added to the intent script to get this working:
description: "Used to show a camera by name in the present area. This function requires two arguments: 'area' and 'name'. The 'area' argument is the present area, and the 'name' argument is the requested camera to display."
Perhaps we can add some additional documentation for this if other's run into this issue? :)
Just to add, I originally tried just adding a description saying "Used to show a camera by name" but that wasn't enough, I had to explicitly explain the arguments. This is true for some other intents I have as well that have the area slot among others. Once I added descriptions clearly explaining the arguments expected and where they should come from they all started working perfectly. :)
from core.
Related Issues (20)
- Minecraft Addon won't load. HOT 1
- BTHome Multibutton device action as Trigger got‘s malformed
- Hunter Hydrawise broken with core 2024.6.4 HOT 10
- Redirect URI Issue Withings and Fitbit HOT 6
- Tailwind creates multiple (disabled) doors HOT 1
- FRITZ!DECT 210 disable Switch-Button if in the Fritz Box the option is disabled to set switch Manuel with the app HOT 1
- Deconz Sunndly not working and not possible to fix it
- Failed import in sensor.py for thermoworks HOT 1
- Unable to dim color leds on ZDB5100 (zwavejs)
- Support different types of Climate accessories HOT 2
- Multiple "SyntaxWarning: invalid escape sequence" on start-up HOT 3
- Something it stopping homeassistant from wrapping up the startup phase HOT 2
- Workday sensor problem since two weeks HOT 11
- Roborock Qrevo S causes warnings and log spam HOT 3
- GitHub hangs on home assistant green install HOT 3
- Workday platform is not updating HOT 2
- Tuya Petfeeder, missing entities HOT 1
- Since update 2024.6.3 to 2024.6.4 soco.events_asyncio Could not bind to 192.166.66.6:1400: [Errno 98] Address in use HOT 1
- New Sonos Favorite playlist (from TIDAL, specifically) will not play HOT 16
- Cannot add Matter accessory to brand new Home Assistant Yellow HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.