Create Gemini Chatbot

Ғылым және технология

Last week Google shipped the first version of its Gemini large language model and made APIs available to developers. In this post we'll build a fully functional Gemini Chatbot using Streamlit!
This video is a walk through of the content in my blog post:
robkerr.ai/how-to-create-a-go...
0:00 Introduction
1:05 Anaconda
1:21 Install Dependencies
2:43 Initialize Gemini SDK
3:05 Create History Object
4:36 Create user prompt in UI
6:17 Run the Bot

Пікірлер: 11

  • @amethyst1044
    @amethyst10446 ай бұрын

    Very helpful video, thank you !

  • @robkerrai

    @robkerrai

    5 ай бұрын

    Glad it was helpful!

  • @gabscar1
    @gabscar14 ай бұрын

    Nice video, thanks! Just wondering if there is a way for the model to ingest user data: pdf, spreadsheets, pictures, etc?

  • @robkerrai

    @robkerrai

    4 ай бұрын

    Image attachments are supported by the API when formulating a prompt, but I don't see support for documents like PDFs and spreadsheets int he docs.

  • @609rohith4
    @609rohith45 ай бұрын

    HI SIR ,WHEN WE ENTER 1 IN INPUT IT GIVING ERROR HOW TO RESOLVE IT

  • @robkerrai

    @robkerrai

    4 ай бұрын

    Hard to say from the information you posted. Make sure to obtain a Gemini key from Google--that would be the most likely reason for a request not succeeding.

  • @ApoorvKhandelwal
    @ApoorvKhandelwal5 ай бұрын

    Kindly make a video to deploy this code on a server like vercel or cloudflare

  • @robkerrai

    @robkerrai

    5 ай бұрын

    I have a post on my blog for how to deploy a Streamlit app to a docker container. This technique would apply to this scenario as well. robkerr.ai/publish-streamlit-app-docker-azure-container/ Thanks!

  • @jyhdjhyjdhjyj5058
    @jyhdjhyjdhjyj50585 ай бұрын

    can you github that code?

  • @robkerrai

    @robkerrai

    5 ай бұрын

    The code is at the blog post link (see link in the description). Thanks!

  • @jyhdjhyjdhjyj5058

    @jyhdjhyjdhjyj5058

    5 ай бұрын

    @@robkerrai thank you!

Келесі