Skip to content

thuwyh/GPTClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPTClient: An Efficient GPT Client with Cache Support

GPTClient is designed to enhance your experience with GPT API by providing an efficient and cost-effective solution for batch calling. It features built-in cache support to optimize your usage and save money.

Key Features

  1. Simple: The main class is within 100 LOC.
  2. 🚀 High Efficiency: GPTClient is optimized for batch calling, allowing for quick and efficient operations.
  3. 💰 Built-in Cache Support: With our easy-to-use cache support, you can optimize your usage and significantly reduce costs.
  4. ℹ️ Rich Information: Detailed info of run time, token usage etc.

Getting Started

Follow the simple steps below to start using GPTClient:

1. Installation

To install the GPTClient package, simply run the following command in your terminal:

pip install -e .

2. Usage

For a practical demonstration of how to use GPTClient, please refer to the example provided in the examples/example.py file. This will provide a clear and concise reference for getting started with the package.

About

Efficient GPT client.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages