I have the openai/chatgpt integration.
Can I send a predefined text as an action in an automation (e.g. "Write me a short greeting, mentioning that it is currently 21 degrees") to chatgpt and output the answer as a conversation response? (I would like to call up the automation using the language assistant)
Is this possible? If yes, how?
#ChatGPT in Automation?
1 messages · Page 1 of 1 (latest)
weirdly, while it can generate images, it can't receive one-time prompts and respond accordingly. you can create a feature request for this if there isn't any already created
i found a way?? sorry, its in german. i means "Conversation: Processing"
but it outputs this as json.. not formatted:
{'response': {'speech': {'plain': {'speech': 'Hello, i am ready to help you!', 'extra_data': None}}, 'card': {}, 'language': 'de', 'response_type': 'action_done', 'data': {'targets': [], 'success': [], 'failed': []}}, 'conversation_id': '01JHRBWA81042HAXKVY3'}
Yes, the conversation.process action with a GPT agent, but you also get a lot of unwanted context, system prompt etc. It's not a clean query or a cheap one
hmm okay..
@shy vessel. you can do this with the google generative ai integration https://www.home-assistant.io/integrations/google_generative_ai_conversation/
but for some reason the same feature stalled for openai https://github.com/home-assistant/core/pull/122818
What exactly is blocked?