Skip to content

fabriciocarraro/Google_Gemini-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Google Gemini - Chatbot

This Python code snippet demonstrates how to interact with Google's Generative AI (Gemini) via their Python SDK, specifically designed for use in a Google Colab environment. The script showcases the setup process, model configuration, and interaction with the AI to handle user inputs and display responses.

Key Features

  • API Configuration: Uses the user's API key stored in Google Colab's secure environment.
  • Model Listing: Lists available models that support content generation.
  • Model Configuration: Sets up the generative model with specific generation and safety settings.
  • Interactive Chat: Initiates an interactive chat session where users can enter prompts, and the model responds accordingly.
  • History Visualization: Enhances the chat history visualization using Markdown formatting.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published