Skip to content

TousakaNagio/GPT_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

GPT_API

A custom API for OpenAI GPT.

Install

  1. Clone this repository and navigate to LLaVA folder
git clone https://github.com/TousakaNagio/GPT_API.git
cd GPT_API
  1. Install Package
pip install openai
  1. Install additional packages for video processing.
pip install tqdm
pip install numpy

Usage

  1. Follow the sample code in main.py to chat with gpt api.

  2. We provide gpt_retrieve.py as an example for clip-wise retrieval with gpt-4v.

  3. If you call reset, you can start a new conversation with GPT, but the previous conversation will be lost. You also need to re-configure the GPT system and schema.

About

A custom api tool for OpenAI api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages