This integration is for the Keywords AI gateway.
Overview
LangChain provides a powerful framework for building applications with language models. You can seamlessly integrate Keywords AI with LangChain’sChatOpenAI LLM with minimal code changes.
Quickstart
Step 1: Install LangChain
Step 2: Initialize LangChain with Keywords AI
Step 3: Make Your First Request
Switch models
See the full model list for all available models.
Supported parameters
OpenAI parameters
We support all the OpenAI parameters. You can pass them directly in the LangChain configuration.Keywords AI Parameters
Keywords AI parameters can be passed usingextra_body for better handling and customization.
Advanced Usage (optional)
Using with Chains
View your analytics
Access your Keywords AI dashboard to see detailed analytics
Next Steps
User Management
Track user behavior and patterns
Prompt Management
Manage and version your prompts