Skip to content

acverma/GenAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Doc Q&A: A Streamlit App Powered by Gemini LLM

Generative AI

Welcome to the Google Cloud Generative AI World .

Introduction

Doc Q&A is a user-friendly Streamlit app that leverages the power of Google's Gemini LLM to provide comprehensive and informative answers to your questions.

Features

  • Natural Language Processing: Gemini LLM understands and responds to questions in a natural and conversational manner.
  • Comprehensive Responses: The app generates detailed and informative responses, providing valuable insights and information.
  • Easy-to-Use Interface: The Streamlit interface is intuitive and user-friendly, making it accessible to users of all levels.

How Developed STEP-BY-STEP

  1. Check which python version is installed Need to ensure that Gemini will work >= 3.10 version of Python

    conda search python
  2. Create a virtual environment

    conda create -p venv python=3.12.3 -y
  3. Activate the Conda virtual environment

    conda activate venv\

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

`GOOGLE_API_KEY`
  1. Install Requirements: Ensure you have all the required library installed. Create requirement.txt and define all required libraries which will be going to use further.

    streamlit
    google-cloud-aiplatform
    google-generativeai
    python-dotenv
  2. Install the required libraries

     pip install -r requirement.txt
  3. Run the APP

    streamlit run app.py
  4. Get Response: The app will generate and display a comprehensive response from Gemini LLM.

This repository contains notebooks, code samples, sample apps, and other resources that demonstrate how to use, develop and manage generative AI workflows using Generative AI on Google Cloud, powered by Vertex AI.

Using this repository

Description Contents

gemini/
Discover Gemini through starter notebooks, use cases, function calling, sample apps, and more. Sample notebooks, apps, use cases

RESOURCES.md
Learning resources (e.g. blogs, Youtube playlists) about Generative AI on Google Cloud Resources (e.g. videos, blogposts, learning paths)

Related Repositories

Contributing

Contributions welcome! See the myGuide.

Getting help

Please use the issues page to provide suggestions, feedback or submit a bug report.

Acknowledgements

  • Google's AI Team
  • Google Brain
  • All Open source community members
  • Kaggle & thier contributors
  • OpenAI & thier contributors
  • Honourable's Professors, Researchers, YouTube's contributors
  • My Learned Seniors, Colleagues, friends and family.

Disclaimer

This repository itself is not an officially supported Google product. The code in this repository is for demonstrative & Educational purposes only.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages