Langchain FastAPI API v2.0.0

Welcome to the Langchain FastAPI API! 👋

This FastAPI-based service integrates Langchain for advanced AI functionalities, including intelligent agents, chat capabilities, and data intelligence. It features robust data handling, S3 caching, vector store embeddings, and comprehensive API documentation.

Key Features:
  • Langchain integration for AI agents and chat.
  • Data intelligence and vector store embeddings.
  • S3-backed caching for performance.
  • Modular and scalable FastAPI architecture.
  • Interactive API documentation.

Explore the API Endpoints

Authentication
Required. Use API Key: YOUR_API_KEY. Pass via X-API-KEY header or Key query param (e.g., ?Key=YOUR_KEY).
Chat API
/chat/ - Interact with the AI chat model. Example: /docs#/chat
Agent API
/agent/ - Interact with the AI agent. Example: /docs#/agent
Intelligence API
/intel/ - Access data intelligence features. Example: /docs#/intel
Bid Strategy API
/generate-bid-strategy/ - AI agent for bid strategy research. Example: /docs#/bid_strategy_agent
Vector Store
/embed-to-vectorstore/ - Endpoint for embedding data into the vector store. Example: /docs#/embed_to_vectorstore
S3 Caching
/s3-cache/ - Endpoints related to S3 caching. Example: /docs#/s3_cache_api

API Documentation & Tests Links

Docs
Interactive API Documentation
OpenAPI JSON Schema
View OpenAPI JSON Schema
ReDoc
Alternative API Documentation
Tests
View Test Results