langserve
langserve copied to clipboard
LangServe 🦜️🏓
I am 100% certain this is not the fix but I am able to pass the extra `ability` input through with this change. Please provide some guidance to do this...
LangServe declares fastapi as optional dependency but fastapi seems required. In a new virtual env: ``` pip install langserve >>> import langserve Traceback (most recent call last): File "", line...
I encountered difficulties when using AgentExecutor in LangServe: - Streaming won't work in playground, only waiting for a full message but in console it's woking fine My LLM settings: `llm...
I'm building a very simple LangChain application that takes as an input a customer feedback string and categorizes it into the following pydantic class: ``` class AnalysisAttributes(BaseModel): overall_positive: bool =...
Hello, I have langserve deployment working on HTTP however would like to serve on HTTPS end point. How can we enable support for SSL in Langserve? Thanks.
- creates a fastapi app - mounts one or more runnables - starts the server with uvicorn
I was struggling to understand why a `RemoteRunnable.stream` was not working from langchain JS in the browser Disabling `GZipMiddleware` in **FastAPI** made it work again. Not sure if it's a...
``` def invoke( self, input: Input, config: Optional[RunnableConfig] = None, **kwargs: Any ) -> Output: if kwargs: raise NotImplementedError("kwargs not implemented yet.") return self._call_with_config(self._invoke, input, config=config) ``` Wondering when the...
I am serving couple of lcel chain defined endpoint through langserve and I've configued to turn on the langsmith logging. it works great, but there is particular endpoint was just...
It looks really ugly and is a very easy change to pretty print on code and other formatting