langchain/libs/community
Brad Erickson ecd72d26cf
community: Bugfix - correct Ollama API path to avoid HTTP 307 (#17895)
Sets the correct /api/generate path, without ending /, to reduce HTTP
requests.

Reference:

https://github.com/ollama/ollama/blob/efe040f8/docs/api.md#generate-request-streaming

Before:

    DEBUG: Starting new HTTP connection (1): localhost:11434
    DEBUG: http://localhost:11434 "POST /api/generate/ HTTP/1.1" 307 0
    DEBUG: http://localhost:11434 "POST /api/generate HTTP/1.1" 200 None

After:

    DEBUG: Starting new HTTP connection (1): localhost:11434
    DEBUG: http://localhost:11434 "POST /api/generate HTTP/1.1" 200 None
2024-02-22 11:59:55 -05:00
..
langchain_community community: Bugfix - correct Ollama API path to avoid HTTP 307 (#17895) 2024-02-22 11:59:55 -05:00
scripts infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
tests community: Bugfix - correct Ollama API path to avoid HTTP 307 (#17895) 2024-02-22 11:59:55 -05:00
Makefile infra: add integration_tests and coverage to MAKEFILE (#17053) 2024-02-05 16:39:55 -08:00
poetry.lock community[patch]: Release 0.0.21 (#17750) 2024-02-19 11:13:33 -08:00
pyproject.toml community[patch]: Release 0.0.21 (#17750) 2024-02-19 11:13:33 -08:00
README.md

🦜🧑‍🤝‍🧑 LangChain Community

Downloads License: MIT

Quick Install

pip install langchain-community

What is it?

LangChain Community contains third-party integrations that implement the base interfaces defined in LangChain Core, making them ready-to-use in any LangChain application.

For full documentation see the API reference.

Diagram outlining the hierarchical organization of the LangChain framework, displaying the interconnected parts across multiple layers.

📕 Releases & Versioning

langchain-community is currently on version 0.0.x

All changes will be accompanied by a patch version increase.

💁 Contributing

As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.

For detailed information on how to contribute, see the Contributing Guide.