Skip to content

jggomez/gemini-workshop

Repository files navigation

Your Playground for Gemini

This repository is your one-stop shop for exploring the power of Large Language Models (LLMs) on Google Cloud. We've curated a collection of practical examples that showcase how to leverage Google's cutting-edge AI services for a variety of tasks.

Dive into the World of LLMs:

  • Gemini Examples: Get hands-on with Google's Gemini family of LLMs, known for their advanced capabilities in text, code, and multimodal understanding.
  • Text Generation: Learn how to generate creative text formats like poems, code, scripts, musical pieces, emails, and more.
  • Multimodal Prompts: Explore the exciting world of multimodal prompts, combining images and text to unlock new creative possibilities.
  • Langchain Integration: Discover how to seamlessly integrate Google's Generative AI API with LangChain, a powerful framework for building complex AI applications.
  • Embeddings and Search: Master the art of creating embeddings, vector representations of text, for tasks like similarity search and information retrieval.
  • Firestore Integration: Learn how to store and retrieve embeddings efficiently using Google Cloud Firestore, a NoSQL database.
  • LLM Reflection: Delve into the fascinating concept of LLM reflection, where LLMs can analyze and improve their own outputs.

Getting Started

  1. Install dependencies:
poetry install
  1. Set up environment variables:

Create a .env file in the root directory of the project. Add the following environment variables to the .env file:

GOOGLE_APPLICATION_CREDENTIALS=<path/to/your/credentials.json>

Use a GOOGLE_API_KEY as a environment variable. This can be generated in AI STUDIO

  1. Run the examples:

Navigate to the directory containing the example you want to run. Run the Python script using

poetry run python <script_name.py>.

Explore, Learn, and Build:

This repository is designed to be a learning resource and a springboard for your own LLM projects. Feel free to experiment, modify the examples, and build your own innovative applications using Google Cloud's powerful AI tools.

Made with ❤ by jggomez.

Twitter Badge Linkedin Badge Medium Badge

License

Copyright 2024 Juan Guillermo Gómez

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages