Google Vertex AI Agent Builder Tutorial

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • Google Vertex AI Agent Builder Tutorial
    In this demo, we learn to design and build Google AI Agents in Google Cloud Platform.
    Introduction to Generative AI Agents.
    Github Repo:
    github.com/arc...
    #aiagents #vertexai #googlecloud #artificialintelligence #googlecloudplatform #generativeai

Комментарии • 46

  • @Mr.cool.turtle11
    @Mr.cool.turtle11 2 месяца назад +1

    Simple and clear, no extra crap. Straight to business.

  • @Inside25
    @Inside25 3 месяца назад +1

    Hi, thank you for this valuable video. I am having trouble finding help., Dilaogflow Messanger when Try 13.48 says "Somthing went wrong" not work

    • @ArchitectureBytes
      @ArchitectureBytes  3 месяца назад

      Your question is not clear to me.
      Do you get an error when you start chatting with the bot Or at some other point?

  • @yesweet
    @yesweet 3 месяца назад +1

    thanks for this excellent video example, very helpful👍. Could you please show us how to call that agent via an API? I need to call it from our own message platform, but fail to handle the auth, that permission and service account configuration are confusing and no doc about this use call.

    • @ArchitectureBytes
      @ArchitectureBytes  3 месяца назад +1

      Please see the Readme file in the Github repository (link in video description).
      Have added a section: Invoke Agent via API call.
      Hope that helps!

    • @yesweet
      @yesweet 3 месяца назад

      @@ArchitectureBytes Thanks! I post an issue in that repo following the error message I got.

  • @shubhamGarg02
    @shubhamGarg02 Месяц назад

    can i upload data in csv or tablular format to my data store?

    • @ArchitectureBytes
      @ArchitectureBytes  Месяц назад

      A csv format with proper headings should work.
      HTML is also one of the accepted formats.

  • @NMISDEEPAKPOOJARY
    @NMISDEEPAKPOOJARY 4 месяца назад +1

    can we train the model with 2 data stores , cause I tried and its not working

    • @ArchitectureBytes
      @ArchitectureBytes  4 месяца назад

      Yes, it works.
      You could create separate Tools of type Data Store - for each Data Store, and have your Agent Instructions point to them.
      Make sure Data Store is connected to the Application.
      Remember that upon creating a new Data Store - it takes some time to import/index the data. So, agent can use it only after that.

  • @johnleryvillanueva766
    @johnleryvillanueva766 Месяц назад

    i got error when i put an schema same as you do
    Draft 2020-12 schemas are not yet fully supported.

    • @ArchitectureBytes
      @ArchitectureBytes  Месяц назад

      You mean when you add Open API Schema like at 6:10 ?
      Are you using the same schema as used in the demo or one of your own? If it is your own does it have a version at the top - and what is it?

    • @johnleryvillanueva766
      @johnleryvillanueva766 Месяц назад

      @@ArchitectureBytes yah same schema that you used. i just copy from your source code then paste it.

    • @ArchitectureBytes
      @ArchitectureBytes  Месяц назад

      @@johnleryvillanueva766 Please use the yaml version of the OpenAPISchema. This file is available in repo now. Hope that helps.

  • @sagar00000007
    @sagar00000007 Месяц назад

    Great video. I think in my workflow everything works. However, I need fallback to Gemini LLM after trying answer from my data store. No matter what I have tried like creating separate agent, calling it inside the workflow, the first call to tool just exists saying no answer found instead of trying to fallback. Do you have any recommendation?

    • @ArchitectureBytes
      @ArchitectureBytes  Месяц назад

      In your (main) agent instructions add something like (maybe at the end)
      - If the user asks any other question try answering it, instead of saying you don't know.

  • @pythonlover20
    @pythonlover20 28 дней назад

    Thanks for the great video. Noticed you selected "Allow unauthenticated invocations" for the cloud function. How do I use the cloud function in a tool when "Require authentication" is enabled ? I have tried adding cloud function invoke permissions to the dilaogflow cx service account but it's still getting 401 error.

    • @ArchitectureBytes
      @ArchitectureBytes  27 дней назад

      You will need 'Cloud Run Invoker' role.
      Please see the readme in github repo, have added a section on how to set this up.

    • @pythonlover20
      @pythonlover20 27 дней назад

      @@ArchitectureBytes Thanks

  • @MrAlex0803
    @MrAlex0803 Месяц назад

    Could I make it call a external not google service like jira to make an api post to create a ticket?

    • @ArchitectureBytes
      @ArchitectureBytes  Месяц назад

      Yes certainly, you can invoke a Google Cloud Function - and from there make call to an external service like JIRA etc.

  • @pimcore_warrior
    @pimcore_warrior 4 месяца назад

    quality guide, greetings from 71

  • @shashwatsri4547
    @shashwatsri4547 2 месяца назад

    Hey do you know if the agent app type is able to be integrated with telephony service? If not direct integration through google is there any other way I could do it?

    • @ArchitectureBytes
      @ArchitectureBytes  2 месяца назад

      Yes sure!
      Pls see this video: ruclips.net/video/QqqWlBhe_Ro/видео.html

  • @santosharakere
    @santosharakere 4 месяца назад

    Excellent ! Thanks for the video.

  • @nkarthik44
    @nkarthik44 4 месяца назад

    Is is possible to get the inputs like phonenumber , casenumber etc from customer and pass it to function in Google Vertex AI?

    • @ArchitectureBytes
      @ArchitectureBytes  4 месяца назад

      Yes, in the tutorial we are passing productId to the function - the OpenAPI schema defines this interface.

  • @StefanoGraziotin
    @StefanoGraziotin 5 месяцев назад

    I followed all the steps you showed in the video step by step. it gives me an error when I ask for the quantity ( "


    404 Page not found


    Error: Page not found
    The requested URL was not found on this server.


    "Incorrect type. Expected "object" ) and when I try to integrate dialogflow. could you help me?

    • @ArchitectureBytes
      @ArchitectureBytes  5 месяцев назад

      Please see the Readme in github repository linked in video description.
      Did you update the OpenAPI Schema with your own cloud function URL, name and operationId as suggested?

    • @StefanoGraziotin
      @StefanoGraziotin 5 месяцев назад

      @@ArchitectureBytes I fixed the problem with the getProductQuantity, but i can't integrate dialogflow. can you help me with this?

    • @ArchitectureBytes
      @ArchitectureBytes  5 месяцев назад

      You mean integrate with the Dialogflow Messenger? What problem are you facing?

  • @MariuszKen
    @MariuszKen 4 месяца назад

    I love this accent.

  • @babusivaprakasam9846
    @babusivaprakasam9846 4 месяца назад

    Fantastic!. Straight to the point.

  • @MohammadMajed-hu4ms
    @MohammadMajed-hu4ms 4 месяца назад

    Great guide!
    Is it possible to send hidden params not inputted by the user and the agent will understand?
    Dialogflow used to support $session.param... when we set it from df-messenger.setQueryParameters
    Now when starting with VertexAI Agent and using the df-messenger integration, I am not sure how to do that

    • @ArchitectureBytes
      @ArchitectureBytes  4 месяца назад

      You would add that information to Agent instructions.
      When invoking a Tool (eg. OpenAPI) - agent passes parameters based on available information whether provided explicitly by the end user or available in the instructions. Your Open API Schema definition (eg. param name, description) should be well defined.
      Your instruction could be something like:
      Always assume that City name is Chicago.
      So, if your Tool (API) expects City as parameter, it would get Chicago as parameter, and agent will not need to ask for this information from the end user.

    • @MohammadMajed-hu4ms
      @MohammadMajed-hu4ms 4 месяца назад

      @@ArchitectureBytes Thank you for the reply! Will this work if the parameter is not a predefined one? Let's say my system where the chatbot is deployed on decides the City Name and I would like to send that as a parameter. How can my instructions be something like "Get the City name from the System" and how can i send it? My user interface is using integration

    • @ArchitectureBytes
      @ArchitectureBytes  4 месяца назад

      You can instruct the Agent to fetch City name by invoking a Tool (API). Please watch the video completely - it shows how Agents are instructed to invoke Tools.
      I also suggest that you watch this video (AI Agent Architecture) to understand how Agents work: ruclips.net/video/FEU6-Il8jjw/видео.html

  • @ManikantaKomma
    @ManikantaKomma 3 месяца назад

    i am getting hallucinations results in chatbot in agent app, how will fix it, please let me know

    • @ArchitectureBytes
      @ArchitectureBytes  3 месяца назад

      Please make sure that your Agent Instructions are clear and accurate.
      In addition you can provide Examples 11:28.
      The above two are the most important measures to take.
      You can also play with Temperature settings under Settings > Gen AI > Temperature. A lower temperature settings reduces randomness of tokens selection (therefore response).

    • @ManikantaKomma
      @ManikantaKomma 3 месяца назад

      ​@@ArchitectureBytes i get JSON schema, have i modify in this schema & how i get url for this schema, like at 6:07, and at 7:15 how will get python code (flask import) & i am working on multiple tools on the same agent, is it will be work?

    • @ArchitectureBytes
      @ArchitectureBytes  3 месяца назад

      @@ManikantaKomma
      In the Open API Schema
      The 'url' is url of your Google Cloud Function (without function name at the end).
      Path has the Cloud function name.
      OperationId is the method name in function.
      If 'flask' dependency is not automatically handled, then in the requirements.txt file present alongside the CloudFunction python file - add a line 'flask'.
      Of course you can use multiple tools in an agent - this is shown in this tutorial itself.

    • @ManikantaKomma
      @ManikantaKomma 3 месяца назад

      @@ArchitectureBytes i given multiple examples but and getting hallucinations results and getting Failed to generate response,
      Temperature option not visible in Gen AI

    • @ArchitectureBytes
      @ArchitectureBytes  3 месяца назад

      @@ManikantaKomma
      What's there in your Data Store?
      Is it 'Cloud Storage' with unstructured documents (pdf?) from a bucket?
      By hallucination - do you mean it gives you incorrect information?
      Or it says it doesn't have the information (which is not exactly hallucination)?

  • @ruthyagatha
    @ruthyagatha 4 месяца назад

    can i upload data in pdf format to my data store?

    • @ArchitectureBytes
      @ArchitectureBytes  4 месяца назад +1

      Yes! This tutorial demonstrates that.

    • @ruthyagatha
      @ruthyagatha 4 месяца назад +1

      @@ArchitectureBytes Thank you so much.