GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - techqueria/GenAI-Tutorial: Introduction to Generative AI and Large Language Models

BranchesTags
Open more actions menu

Latest commit

 

History

77 Commits
77 Commits

Folders and files

NameName
Last commit message
Last commit date
.copilot
.copilot
 
 
.cursor
.cursor
 
 
.windsurf
.windsurf
 
 
1 openai-chat
1 openai-chat
 
 
2 resume-chat
2 resume-chat
 
 
3 chroma-qa-chat
3 chroma-qa-chat
 
 
4 rag-chainlit-llama-faiss
4 rag-chainlit-llama-faiss
 
 
assets
assets
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

GenAI-Tutorial 🤖

Welcome to the GenAI Tutorial repository! In this repository, you'll find tutorials on how to use OpenAI's Generative Artificial Intelligence Language Model (GenAI LLM) to generate text.

Tutorials Included 📚

This repository contains the following self-contained tutorials:

  1. OpenAI Chat: Explore how to create a chatbot using GenAI LLM for various conversational tasks.
  2. Resume Chat: Dive into building a chatbot that holds chat memory to be able to resume chats based on user input.
  3. Chroma QA Chat: Learn how to build a question-answering chatbot using GenAI LLM and documents stored in a Chroma vector DB.
  4. RAG Chat: Understand how to use Retrieval-Augmented Generation (RAG) with GenAI LLM for enhanced text generation.

Getting Started 🚀

Prerequisites 📋

Before you begin, make sure you have the following installed:

  • Python 3
  • OpenAI Python Library (openai)
  • Literal API key (literalai)

OpenAI API Key 🔑

To use the GenAI LLM, you'll need an OpenAI API key. If you don't have one, you can sign up for the API access here.

LiteralAI API Key 🔑

To use the GenAI LLM, you'll need an LiteralAI API key. If you don't have one, you can sign up for the API access here.

Cloning the Repository âŦ‡ī¸

Clone this repository to your local machine:

git clone https://github.com/your-username/genai-tutorial.git
cd genai-tutorial

Lab 1 OpenAI

  1. User can easily interact with OpenAI.
  2. User can enter questions.
  3. Question is passed to OpenAI.

Lab 2 Chat Memory

  1. User initiates a chat with the chatbot.
  2. User can enter questions or statements.
  3. The chatbot processes the input and stores it in the chat memory.
  4. The chatbot generates a response based on the user's input and the chat memory.
  5. If the user resumes the chat after a break, the chatbot retrieves the chat memory and continues the conversation based on the previous context.

Lab 3: Chroma QA Chat

  1. User initiates a chat with the Chroma QA chatbot.
  2. User can ask questions related to a specific topic or domain.
  3. The chatbot processes the question and retrieves relevant information from its knowledge base.
  4. The chatbot uses the GenAI LLM to generate a coherent and accurate answer based on the retrieved information.
  5. The chatbot presents the answer to the user.
  6. The user can continue to ask more questions, and the chatbot will continue to provide answers based on the GenAI LLM and its knowledge base.

Lab 4: RAG Chat

  1. User initiates a chat with the RAG chatbot.
  2. User can ask questions or make statements.
  3. The chatbot processes the input and uses the Retrieval-Augmented Generation (RAG) technique to retrieve relevant information from its knowledge base.
  4. The chatbot uses the GenAI LLM to generate a coherent and accurate response based on the retrieved information and the RAG technique.
  5. The chatbot presents the response to the user.
  6. The user can continue to interact with the chatbot, and the chatbot will continue to provide responses using the RAG technique and the GenAI LLM.

Additional Resources â„šī¸

For more information and advanced usage of GenAI LLM, refer to the following resources:

  • OpenAI Documentation
  • OpenAI API Reference
  • OpenAI GitHub Repository

Feedback đŸ“Ŗ

If you encounter any issues or have suggestions for improvement, feel free to open an issue or submit a pull request in this repository.

Happy generating! 🎉

Feel free to use this updated version in your repository! Let me know if there's anything else you need.

About

Introduction to Generative AI and Large Language Models

Resources

Readme
MIT license
Activity
Custom properties

Stars

2 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.