Connect with us

Tech

Google Generative AI – I need help configuring it

Google Generative AI – I need help configuring it

 


Hello,

The response I received is completely inaccurate. I think the prompt template from the options is not being sent to the AI. Or is something missing?

The options are:

The prompts and responses are:

thank you

I don't follow you, what did I do wrong?

1 like

Everything. There is nothing accurate about that response.

Well, since it's an AI, it's easy to hallucinate. My guess is that perhaps the template wasn't rendering properly for some reason. I only use it in response to his TTS.

Do you get the same response if you run it again?[開発者ツール]>[テンプレート]Can you try the template and see if it renders properly?

1 like

rwelsh09:

all.There's nothing accurate about that response

Don't you even have an overview (overall)? So if Google AI gives you that impression, it might be because you don't have much experience comparing it to Google AI.

1 like

Great idea! When I check the template in developer tools, it is rendering correctly. All devices in the area will be listed. Does not include device state.

I tried it several times, and each response was quite different. None of them were correct.

response 1

Text: >-Lighting:

Kitchen: Warm white light turns on at 50% brightness.

Living room: Accent lights are off.

Bedroom: Nightstand lamps turn on at 25% brightness, providing a warm glow.

Heating and cooling:

safety:

Door Lock: The front door is locked.

Motion sensor: No motion detected within the past hour.

Security cameras: Stream live footage from your front porch.

Entertainment:

Home appliances:

other:

Smart Blinds: Kitchen blinds open fully.

Smart Fan: The ceiling fan in the living room is turned off.

Smart Plug: Coffee maker is connected but not currently in use.

Note: This state is for illustrative purposes only and may not reflect the actual state of your smart home.

response 2

Text: |-Smart Home Status:

Lit:

Kitchen: On (Brightness 40%) Living Room: On (Brightness 60%) Bedroom: Off Bathroom: Dimmable (Brightness 20%) Porch: On (Automatic Motion Sensor)

Temperature control:

Thermostat: set to 72F (cooling) Smart vents: open (50%) in living room, closed in other rooms

safety:

Front door: Locked Rear door: Unlocked (temporarily for shipping) Motion sensor: Activated (all areas) Smart lock: Status unknown (please check battery)

Entertainment:

TV: Off Smart Speaker: Playing music (volume 4) Game Console: Idle

Home appliances:

Refrigerator: Working Dishwasher: Empty Washer: Completed (needs unloading) Dryer: Working

other:

Smart Shade: Closed (Bedroom) Air Purifier: On (Automatic) Pet Feeder: 50% full (Scheduled to fill at 5pm)

Note:

Back door unlocked for package delivery. Please lock the door after delivery. Washer cycle complete. Take it down immediately to prevent wrinkles. The smart lock battery may be low. Check and replace if necessary.

Honestly, my best bet in this situation is for the AI ​​to be the AI. As I mentioned earlier, I use this for his clever and sometimes witty TTS response messages. That's all. It works pretty well on those.

May 17, 2024, 9:12 PM 8. Edwin_D

I posted a question on ChatGPT and received the following response: (P.S. ChatGPT was unable to read the screenshot, so it may not be accurate):

There appears to be an issue with the configuration of Google Generative AI. Here are some steps you can take to troubleshoot and improve the accuracy of the responses you get.

1. Check your configuration settings.

Make sure all configuration settings are correct. This includes your API key, model version, and any custom settings that may affect your output.

2. Review the prompts. Clarity: Make sure your prompts are clear and concise. Context: Provide enough context to help the AI ​​generate relevant responses. Specificity: Ask specific questions or provide detailed instructions to narrow down possible answers. 3. Model selection:

Make sure you are using the right model for the task. Different models have different strengths and may be better suited for different types of queries.

4. Training data:

If you can fine-tune your model, make sure your training data is accurate and related to the response you want.

5. Rapid engineering:

Try different ways to phrase the prompt. A small change in the way you ask a question can significantly improve your response.

6. Response feedback:

Use feedback loops to improve your response. If your platform allows it, provide feedback on the accuracy of your responses to improve your model's performance over time.

7. Documentation and Support:

For specific configuration options and troubleshooting tips, see the official Google Generative AI documentation. If necessary, contact Google Support for personalized assistance.

Examples of detailed prompts:

Instead of a generic prompt like “Tell me about climate change,” focus on industrial activity and greenhouse gas emissions to discuss the main causes of climate change and how it contributes to global warming. Please try to explain what you do.

Examples of configuration checks: API key: Ensure it is configured correctly and has the required permissions. Model: Make sure you are using the intended version of the model. Parameters: Tune the response by adjusting parameters such as temperature, max tokens, and top_p. Common configuration parameters: Temperature: Controls the randomness of the output. Lower values ​​make the output more concentrated. Maximum Tokens: Limits the length of responses generated. Top_p (nuclear sampling): Limits the set of tokens considered at each step to the most probable ones. Conclusion:

By carefully reviewing and adjusting these aspects, you should be able to improve the accuracy and relevance of responses from Google Generative AI. We can provide better advice if you provide more specific details about your current configuration and the exact prompts you are using.

3 likes

AKA, what happens when you put Google Generative AI into ChatGPT, AKA, what happens when you type Google into Google.

1 like

jeffcrum May 17, 2024, 9:20 PM 10

So we feed the ChatGPT responses into Google Generative AI.

I feel like a loop is starting!

CO_4X4 (Colorado Quad) May 17, 2024, 9:24 PM 11 Code in progress:

What happens when you type “Google” into “Google”?

You will destroy the Internet (which is located on top of Big Ben) and the elder statesmen of the Internet will be very angry.

2 likes

jeffcrum May 17, 2024, 9:25 PM 12

The scene is as if lightning had struck the clock tower.

Nothing good can come from that.

This didn't help. Thanks anyway.

Summary Edwin_D: 1. Check the configuration settings.

Make sure all configuration settings are correct. This includes your API key, model version, and any custom settings that may affect your output.

end. As shown in the original post.

2. Review the prompts. Clarity: Make sure your prompts are clear and concise. Context: Provide enough context to help the AI ​​generate relevant responses. Specificity: Ask specific questions or provide detailed instructions to narrow down possible answers.

Asking AI to describe your smart home is easy enough, given the areas and devices.

3. Model selection:

Make sure you are using the right model for the task. Different models have different strengths and may be better suited for different types of queries.

it's okay.

4. Training data:

If you can fine-tune your model, make sure your training data is accurate and related to the response you want.

This doesn't help.

5. Rapid engineering:

Try different ways to phrase the prompt. A small change in the way you ask a question can significantly improve your response.

end. As mentioned in a previous reply.

6. Response feedback:

Use feedback loops to improve your response. If your platform allows it, provide feedback on the accuracy of your responses to improve your model's performance over time.

This doesn't help solve the problem I'm currently having.

7. Documentation and Support:

For specific configuration options and troubleshooting tips, see the official Google Generative AI documentation. If necessary, contact Google Support for personalized assistance.

I don't believe this is a Google issue. That's why I asked for help here instead of on Google forums.

Don't pay too much attention to my friends. They are too excited.Now I'm going to take them and have a nice lie down.

4 likes

Edwin_D (Edwin D.) May 17, 2024, 9:31 PM 15

Well, your question didn't really have anything to do with home assistants. The prompt was sent to the AI ​​and the AI ​​provided an answer. What do you expect us to say? Isn't AI perfect?

2 likes

Code in progress:

hallucination

I'm hoping for that

If you want the AI ​​to give you a good answer, ask the same question 20 times. Then tell it to respond again using those 20 responses as the only base information. I'm hoping the response will be a poem (or haiku) in the vein of his MC Escher prints.

2 likes

Sources

1/ https://Google.com/

2/ https://community.home-assistant.io/t/need-help-with-google-generative-ai/730239

The mention sources can contact us to remove/changing this article

What Are The Main Benefits Of Comparing Car Insurance Quotes Online

LOS ANGELES, CA / ACCESSWIRE / June 24, 2020, / Compare-autoinsurance.Org has launched a new blog post that presents the main benefits of comparing multiple car insurance quotes. For more info and free online quotes, please visit https://compare-autoinsurance.Org/the-advantages-of-comparing-prices-with-car-insurance-quotes-online/ The modern society has numerous technological advantages. One important advantage is the speed at which information is sent and received. With the help of the internet, the shopping habits of many persons have drastically changed. The car insurance industry hasn't remained untouched by these changes. On the internet, drivers can compare insurance prices and find out which sellers have the best offers. View photos The advantages of comparing online car insurance quotes are the following: Online quotes can be obtained from anywhere and at any time. Unlike physical insurance agencies, websites don't have a specific schedule and they are available at any time. Drivers that have busy working schedules, can compare quotes from anywhere and at any time, even at midnight. Multiple choices. Almost all insurance providers, no matter if they are well-known brands or just local insurers, have an online presence. Online quotes will allow policyholders the chance to discover multiple insurance companies and check their prices. Drivers are no longer required to get quotes from just a few known insurance companies. Also, local and regional insurers can provide lower insurance rates for the same services. Accurate insurance estimates. Online quotes can only be accurate if the customers provide accurate and real info about their car models and driving history. Lying about past driving incidents can make the price estimates to be lower, but when dealing with an insurance company lying to them is useless. Usually, insurance companies will do research about a potential customer before granting him coverage. Online quotes can be sorted easily. Although drivers are recommended to not choose a policy just based on its price, drivers can easily sort quotes by insurance price. Using brokerage websites will allow drivers to get quotes from multiple insurers, thus making the comparison faster and easier. For additional info, money-saving tips, and free car insurance quotes, visit https://compare-autoinsurance.Org/ Compare-autoinsurance.Org is an online provider of life, home, health, and auto insurance quotes. This website is unique because it does not simply stick to one kind of insurance provider, but brings the clients the best deals from many different online insurance carriers. In this way, clients have access to offers from multiple carriers all in one place: this website. On this site, customers have access to quotes for insurance plans from various agencies, such as local or nationwide agencies, brand names insurance companies, etc. "Online quotes can easily help drivers obtain better car insurance deals. All they have to do is to complete an online form with accurate and real info, then compare prices", said Russell Rabichev, Marketing Director of Internet Marketing Company. CONTACT: Company Name: Internet Marketing CompanyPerson for contact Name: Gurgu CPhone Number: (818) 359-3898Email: [email protected]: https://compare-autoinsurance.Org/ SOURCE: Compare-autoinsurance.Org View source version on accesswire.Com:https://www.Accesswire.Com/595055/What-Are-The-Main-Benefits-Of-Comparing-Car-Insurance-Quotes-Online View photos

ExBUlletin

to request, modification Contact us at Here or [email protected]