Skip to content

zhangjiuye/gpt_examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains different examples and usecases showcased in the book Developing Apps with GPT-4 and ChatGPT - 2nd Edition. Book cover

Check the branches and releases for different versions of the OpenAI API.

Usage

All examples

Install the requirements for all the examples with:

pip install -r requirements.txt

Each example contains either a jupyter notebook, or a python file that can be run with:

python [example_folder]/run.py

Some examples require some additional setup.

Chap3_03_QuestionAnseringOnPDF

Start Redis with

docker-compose up -d

Chap3_04_VoiceAssistant

The gradio interface is available at the address displayed in the output.

Chap5_04_LlamaIndexCustomization

Customize if needed the docker-compose.yml file and start weaviate with

docker-compose up -d

Alternatively, run:

docker run -p 8080:8080 -p 50051:50051 cr.weaviate.io/semitechnologies/weaviate:1.24.9

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 51.5%
  • Jupyter Notebook 48.5%