-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UpdateShopping list example with a better TODO example #39
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
I have a quick suggestion and look forward to hear your thoughts.
Yup that does the trick! Co-authored-by: jekalmin <jekalmin@hotmail.com>
Dont know where my comments went but yeah this seems to work nicely in place of the prompt. Thanks! Any ideas on how to parse a response so we can expand this to using service todo.get_items as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any ideas on how to parse a response so we can expand this to using service todo.get_items as well?
I'm using core version 2023.11.1
, and it doesn't have todo.get_items
service.
Is that a new feature in current release? (I couldn't find it in documentation)
If it supports response_variable
, you can set response_variable
to be "_function_result" like calendar example.
## Prompt | ||
### add the following to prompts and fill in your list entity ids | ||
```For lists: Ensure you are differentiating and using one of the following as the list parameter: todo.shopping_list for modifying the "shopping list" and todo.to_do for modification to the "to-do list" ``` | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If prompt is not necessary anymore, please remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
included changes and now has ability to read lists given 2023.12.x beta
Thanks for a change. It seems to be working well! |
UpdateShopping list example with a better TODO example
Will allow adding and updating lists with completed checkmarks while referencing any todo entity.
Still working on how to get it to see a response from the service call todo.get_items, the response contains an array of what is in the list we would need to parse through and either check so we dont create duplicates or if the question is asked, what is on my list?