#ChatGPT in Automation?

1 messages · Page 1 of 1 (latest)

shy vessel
#

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?

ornate sphinx
#

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

shy vessel
#

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'}
ornate sphinx
#

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

languid scroll