A custom API for OpenAI GPT.
- Clone this repository and navigate to LLaVA folder
git clone https://github.com/TousakaNagio/GPT_API.git
cd GPT_API
- Install Package
pip install openai
- Install additional packages for video processing.
pip install tqdm
pip install numpy
-
Follow the sample code in main.py to chat with gpt api.
-
We provide gpt_retrieve.py as an example for clip-wise retrieval with gpt-4v.
-
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.