Giter VIP home page Giter VIP logo

gemini-explorer's Introduction

Gemini Explorer

Google Gemini, formerly known as Bard, is an artificial intelligence (AI) chatbot platform that uses machine learning and natural language processing (NLP) to mimic human conversations.

Gemini

Mission Scenario

Create a user-friendly chat interface using Streamlit that connects with Google's state-of-the-art large language model, Gemini. The goal is to provide an accessible platform for exploring and showcasing the capabilities of advanced language models. This project aims to serve as an educational and practical introduction to integrating large language models with intuitive interfaces.

Mission Workflow:

  • Task 1: ๐ŸŒ Enable Google Cloud
  • Task 2: ๐Ÿงฌ Google Cloud Initialization
  • Task 3: โ˜๏ธ Setting up Google Gemini
  • Task 4: ๐Ÿ“Š Streamlit Integration
  • Task 5: ๐Ÿ—ฃ๏ธ Adding Initial System Messages
  • Task 6: ๐Ÿ“„ Preparing Submission

Requirments:

Task 1: ๐ŸŒ Enabling Google Cloud

  • Go to the Google Cloud Platform and Select "Get Started for free".
  • Sign in using your Google Account and then provide the necessary details and complete the billing requirments.
  • Accept the terms and conditions.
  • Complete the payment process to initialize your Google Cloud Account.
  • Create a new project (for instance "RadicalX - Gemini Explorer").
  • Access the Google Cloud Console.
  • Navigation -> Artificial Intelligence -> Vertex AI -> Enable All Recommended APIs

Task 1 - Gemini Explorer

Task 2: ๐Ÿงฌ Google Cloud Initialization

  • Install the Google SDK using this Link.
  • Run the following command to initialize the SDK:
    gcloud init
    
  • Sign in using your Google Account credentials.
  • Select an existing project or Create a new project
  • Set default compute region and zone (Optional Step)

Task 2

Task 3: โ˜๏ธ Setting up Google Gemini

  • Install the streamlit framework
    pip install streamlit
    
  • Refer the Streamlit Documentation to see an Implementation using OpenAI's ChatGPT
  • In the project, we are using Google's Gemini Pro LLM.
  • Use the project ID instead of the project name, like this: project = "project_id". This helps avoid encountering a 403 permission denied error.

Task 3 - Gemini Explorer

Task 4: ๐Ÿ“Š Streamlit Integration

  • Implement the steps given in the mission.
  • Run the python file streamlit run filename.py.

Task 4 - Gemini Explorer

Task 5: ๐Ÿ—ฃ๏ธ Adding Initial System Messages

Task 5 - Gemini Explorer

Task 6: ๐Ÿ“„ Preparing Submission

  • A GitHub repository for the project containing all the project files.

Issues Faced

  • โš ๏ธ Issue 403: Permission Denied Error: Check if you have provided project_id rather than project name in your code or if the service account is activated.

Acknowledgements

Special thanks to Talha Sabri and Mikhail Ocampo for extending to me the opportunity to embark on and complete this AI Mission. RadicalX

gemini-explorer's People

Contributors

rohit04121998 avatar

Stargazers

Itsfitts avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.