minimaxir/simpleaichat
A Python package for easily interfacing with ChatGPT and GPT-4 with optimized workflows and minimal code complexity.

Velocity · 7d
+3.1
★ / day
Trend
→steady
star history
simpleaichat is a Python library that simplifies interaction with chat models like ChatGPT and GPT-4. It provides a lightweight API for creating and running chats with minimal code, featuring token optimization to reduce costs and latency, chat streaming, tool usage, and async support. The package enables developers to build workflows including agents and complex conversational patterns while maintaining a minimal codebase.