Introduction
ChatSeekrFlow class wraps a chat model endpoint hosted on SeekrFlow, enabling seamless integration with LangChain applications.
Integration Details
Model Features
Supported Methods
ChatSeekrFlow supports all methods of ChatModel, except async APIs.
Endpoint Requirements
The serving endpoint ChatSeekrFlow wraps must have OpenAI-compatible chat input/output format. It can be used for:
- Fine-tuned Seekr models
- Custom SeekrFlow models
- RAG-enabled models using Seekr’s retrieval system
AsyncChatSeekrFlow (coming soon).
Installation
Ensure you have the necessary dependencies installed:API Key Setup
You’ll need to set your API key as an environment variable to authenticate requests. Run the below cell. Or manually assign it before running queries:Instantiation
Invocation
Chaining
Error Handling & Debugging
API reference
ChatSeekrFlowclass:langchain_seekrflow.ChatSeekrFlow- PyPI package:
langchain-seekrflow