Hello,
The response I got is completely inaccurate. I think the prompt template from the Options is not being sent to the AI.
Or am I missing something?
Here are the options:
Here’s the prompt and response:
Thanks
Hello,
The response I got is completely inaccurate. I think the prompt template from the Options is not being sent to the AI.
Or am I missing something?
Here are the options:
Here’s the prompt and response:
Thanks
I don’t follow… what did it get wrong?
Everything. Nothing in that response is accurate.
Well, it is an AI, so prone to hallucinations. My guess is that it probably didn’t get the template rendered properly for some reason. I only use mine for responses for TTS.
Does it give the same response if you run it again? Can you try the template in Developer Tools > Templates and see if it renders properly?
Not even it’s “Summary” ( Overall ) ? … I Mean If Google AI , have that impression , it could be because it doesn’t have much “experience” to Compare against
Great idea, checking the template in Developer Tools, it does render properly. It lists all the devices in their areas. It does not include device states.
I tried a few times and each response was fairly different. None were correct.
text: >-
Lighting:
Kitchen: Warm white light is on at 50% brightness.
Living room: Accent lights are off.
Bedroom: Nightstand lamp is on at 25% brightness with a warm glow.
Heating and Cooling:
Thermostat: Set to 72°F for heating.
Smart thermostat: Currently maintaining a temperature of 70°F.
Security:
Door lock: Front door is locked.
Motion sensors: No motion detected in the last hour.
Security camera: Streaming live footage from the front porch.
Entertainment:
Smart TV: Currently paused on a movie at the 30-minute mark.
Sound system: Playing background music at a low volume.
Appliances:
Refrigerator: Temperature is set to 38°F.
Dishwasher: Not running.
Washer and dryer: Both are idle.
Other:
Smart blinds: Kitchen blinds are fully open.
Smart fan: Ceiling fan in the living room is off.
Smart plug: Coffee maker is plugged in but not currently in use.
Note: This state is for illustrative purposes only and may not reflect the
actual state of a smart home.
text: |-
Smart Home State:
Lighting:
Temperature Control:
Security:
Entertainment:
Appliances:
Other:
Notes:
Honestly, the best I got in this situation is AI gonna AI. Like I said, I use it for clever/sometimes witty TTS response messages and that’s it. It does fairly well at those.
I put your question in ChatGPT, this is what I got in response. (ps, it may not be accurate because ChatGPT could not read the screenshots):
It seems like you’re having issues with configuring Google Generative AI. Here are some steps you can follow to troubleshoot and improve the accuracy of the responses you’re getting:
Ensure that all configuration settings are correct. This includes API keys, model versions, and any custom settings that might affect the output.
Verify that you are using the appropriate model for your task. Different models have varying strengths and might be better suited for different types of queries.
If you have the ability to fine-tune the model, make sure your training data is accurate and relevant to the responses you want.
Experiment with different ways of phrasing your prompt. Sometimes small changes in how you ask a question can lead to significantly better responses.
Use the feedback loop to improve responses. If the platform allows, provide feedback on the accuracy of responses to help improve the model’s performance over time.
Refer to Google Generative AI’s official documentation for specific configuration options and troubleshooting tips. If needed, reach out to Google support for personalized assistance.
Instead of a generic prompt like “Tell me about climate change,” you might try:
“Explain the primary causes of climate change and how they contribute to global warming, focusing on industrial activities and greenhouse gas emissions.”
By carefully reviewing and adjusting these aspects, you should be able to improve the accuracy and relevance of the responses from Google Generative AI. If you provide more specific details about your current configuration and the exact prompt you’re using, I can offer more tailored advice.
AKA, what happens if you put Google Generative AI into ChatGPT… AKA, what happens if you type Google into Google.
So, put the ChatGPT response into Google Generative AI.
I feel a loop coming on!
YOU WILL BREAK THE INTERNET (it’s on top of Big Ben) and the Internet elders will be very angry.
It is like the clocktower being struck by lightning.
Nothing good can come from that.
This was not helpful. Thanks anyway.
Done. As shown in the original post.
Asking the AI to describe my smart home should be easy enough since it’s provided with the areas and devices.
All good.
This does not help me.
Done. As mentioned in a previous reply.
This does not help me with my current problem.
I don’t believe this is a Google problem. Which is why I asked for help on here and not on a Google forum.
Please don’t pay any attention to my friends - they get over excited. I’m going to take them to have a nice lie down now…
Well, your question was not much related to Home Assistant. Your prompt was sent to the AI and you got your answer from an AI. What do you expect us to say? AI isn’t perfect?
I expect that…
If you want a good AI answer, ask the same question 20 times. Then tell it to respond again using those 20 responses as the only base information.
I expect the answer to be a poem (or haiku) that follows the path of an M.C. Escher print.
Answer:
The google_generative_ai_conversation.generate_content
isn’t tied to a config entry so not to any prompt. [Code owner needs] to clarify this in the docs. You should use conversation.process
if you want to use the prompt in the configure page.