Chatlas provides a simple and consistent interface for chatting with large language models (LLMs) from providers like OpenAI, Anthropic, Google Gemini, and others. Version 0.18.1 supports Python >=3.9 and follows a rapid release cadence. It abstracts away provider-specific details, offering a unified chat session API.
pip install chatlasNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a chat session with OpenAI and sends a message.
Explicitly specify the model parameter instead of relying on defaults.
Install the required provider package: pip install openai for ChatOpenAI.
Replace `chat.chat_session(...)` with `chat(...)`.
Run: pip install openai
Provide a valid model name, e.g., model="gpt-4o-mini".
Use `chat.chat()` or directly call `chat("prompt")`.No dependency data recorded yet.