langchain-serve  by jina-ai

CLI tool for deploying LangChain apps to Jina AI Cloud

created 2 years ago
1,632 stars

Top 26.3% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a framework for deploying LangChain applications as production-ready APIs using Jina and FastAPI. It targets developers looking to easily scale their LLM-powered applications, offering both cloud deployment on Jina AI Cloud and self-hosting options.

How It Works

The core of the project utilizes decorators (@serving, @slackbot, @job) to wrap LangChain applications, abstracting away infrastructure management. It leverages FastAPI for API creation and Jina's serverless, autoscaling architecture for cloud deployments, enabling real-time streaming via WebSockets and secure API access with authorization.

Quick Start & Requirements

  • Install via pip: pip install langchain-serve
  • Deployment to Jina AI Cloud: lc-serve deploy <app-name>
  • Further details and examples available in the official documentation.

Highlighted Details

  • One-click deployment of pre-built LangChain apps like AutoGPT, BabyAGI, and Pandas-AI.
  • Support for building and distributing Slack bots with a dedicated decorator.
  • Features include secure API authorization, streaming LLM interactions, persistent storage, and asynchronous job execution.
  • Ability to export applications as Docker Compose or Kubernetes YAML for self-hosting.

Maintenance & Community

This repository is no longer maintained. The project was developed by Jina AI. Community engagement is encouraged via Discord.

Licensing & Compatibility

The project does not explicitly state a license in the provided README. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The project is marked as no longer maintained, indicating a lack of ongoing development and potential for unaddressed issues or outdated dependencies.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
8 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeremy Howard Jeremy Howard(Cofounder of fast.ai), and
3 more.

cohere-toolkit by cohere-ai

0.2%
3k
RAG toolkit for LLM application development and deployment
created 1 year ago
updated 1 week ago
Feedback? Help us improve.