langserve icon indicating copy to clipboard operation
langserve copied to clipboard

LangServe 🦜️🏓

Results 144 langserve issues
Sort by recently updated
recently updated
newest added

Whats the cause and solution when you receive the error "No run_id found for the given run." I am trying to implement a new API with langserve and the call...

![pyt](https://github.com/user-attachments/assets/7f4a55fb-75cd-4204-97bb-653b49f0522f) I tried to deploy langserve using Docker. When running docker build -t agent ., an error occurred. The error message indicates that there is a conflict between langchain-cli and...

Description: I was trying to build a RAG application where the retrieved context is HUGE. When I run it from the langserve playground, my browser crashes due to out of...

Hello, We are using langserve js client the following way ```typescript const remoteChain = new RemoteRunnable({ url: url, options: { headers:someHeader, }, }); ``` Then we stream the request as...

Can we enable the grouping of traces into threads using the **"chat"** interface in **LangServe**. This functionality is similar to the one described in the **LangSmith** documentation for monitoring threads,...

Hello, I am currently working on a Retrieval-Augmented Generation (RAG) chatbot using LangChain and LangServe. I am attempting to integrate NeMo Guardrails into this system but am encountering issues with...

How to add a FastAPI BackgroundTask to a LangServe endpoint? We need to save chat history to a database after each request, and not block the user input until the...

```bash #python=3.10.14 pip install "langserve[all]" pip install -U langchain-cli #log ... Installing collected packages: uvicorn, typer, tomlkit, smmap, libcst, colorama, gitdb, gitpython, fastapi, langchain-cli Attempting uninstall: uvicorn Found existing installation:...

Allows the `/stream` endpoint to return `sse_starlette.ServerSentEvent` from runnable, allowing you to return custom events such as `event: error`. The reason for not using `langserve.server_sent_events.ServerSentEvent` is that is unbable to...

After interrupting execution of a Runnable graph, Langgraph [requires](https://langchain-ai.github.io/langgraph/how-tos/human_in_the_loop/wait-user-input/#interacting-with-the-agent) reinvoking stream with input=None: ``` for event in app.stream(None, config, stream_mode="values"): event["messages"][-1].pretty_print() ``` LangServe does not support this, though, because of...