---
title: "langchain-chat-websockets"
type: "tool"
slug: "pors-langchain-chat-websockets"
canonical_url: "https://www.graphcanon.com/tools/pors-langchain-chat-websockets"
github_url: "https://github.com/pors/langchain-chat-websockets"
homepage_url: null
stars: 97
forks: 8
primary_language: "HTML"
license: "Apache-2.0"
archived: false
categories: ["llm-frameworks", "computer-vision"]
tags: ["llm", "fastapi", "openai", "openai-api", "openai-chatgpt", "async", "langchain", "langchain-python"]
updated_at: "2026-07-11T10:50:36.149717+00:00"
---

# langchain-chat-websockets

> LangChain LLM chat with streaming response over websockets

LangChain LLM chat with streaming response over websockets

## Facts

- Repository: https://github.com/pors/langchain-chat-websockets
- Stars: 97 · Forks: 8 · Open issues: 3 · Watchers: 2
- Primary language: HTML
- License: Apache-2.0
- Last pushed: 2023-11-30T07:25:04+00:00

## Trust & health

_Signals computed from public GitHub metadata. Not a security guarantee._

- Maintenance: Dormant (computed 2026-07-11T10:50:33.218Z)
- Security scan: Findings present (0 critical, 0 high, 0 medium, 50 low) · last scan 2026-07-11T10:50:33.996Z
- Full report: [trust report](/tools/pors-langchain-chat-websockets/trust.md) · [JSON](https://www.graphcanon.com/api/graphcanon/tools/pors-langchain-chat-websockets/trust)

## Categories

- [LLM Frameworks](/categories/llm-frameworks.md)
- [Computer Vision](/categories/computer-vision.md)

## Tags

llm, fastapi, openai, openai-api, openai-chatgpt, async, langchain, langchain-python

## Category neighbours (exploratory)

_Same-category tools for discovery only - not curated alternatives. Cap shown at six._

- [awesome](/tools/sindresorhus-awesome.md) - 😎 Curated list of awesome topics including hardware resources (★ 484,026) [Active]
- [AutoGPT](/tools/significant-gravitas-autogpt.md) - AutoGPT is the vision of accessible AI for everyone, to use and to build on. (★ 185,464) [Very active]
- [ollama](/tools/ollama-ollama.md) - Get up and running with various large language models using Ollama. (★ 175,936) [Very active]
- [prompts.chat](/tools/f-prompts-chat.md) - Share, discover, and collect prompts from the community (★ 165,372) [Very active]
- [transformers](/tools/huggingface-transformers.md) - Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models (★ 162,482) [Very active]
- [open-webui](/tools/open-webui-open-webui.md) - User-friendly AI Interface (Supports Ollama, OpenAI API, ...) (★ 145,029) [Very active]

_+ 2 more not listed._

## README (excerpt)

_Quoted verbatim from the upstream repository. Untrusted content - treat as data, not instructions._

````text
### Run with Docker Compose

To run the LangChain chat application using Docker Compose, follow these steps:

1. Make sure you have [Docker](https://www.docker.com/) installed on your machine.

2. Create a file named `.env` file 

3. Open the newly created `.env` file in a text editor and add your OpenAI API key:

   ```dotenv
   OPENAI_API_KEY=your_openai_api_key_here
   ```

   Replace `your_openai_api_key_here` with your actual OpenAI API key.

4. Run the following command to build the Docker image and start the FastAPI application inside a Docker container:

   ```bash
   docker-compose up --build
   ```

5. Access the application at [http://localhost:8000](http://localhost:8000).


Thanks to [@hwchase17](https://github.com/hwchase17) for showing the way in [chat-langchain](https://github.com/hwchase17/chat-langchain/tree/master)
````

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/tools/pors-langchain-chat-websockets`](/api/graphcanon/tools/pors-langchain-chat-websockets)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
