langchain/libs/community/langchain_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
..
adapters docs: added community modules descriptions (#17827) 2024-02-21 16:18:36 -08:00
agent_toolkits docs: added community modules descriptions (#17827) 2024-02-21 16:18:36 -08:00
callbacks community: add gpt-4-turbo and gpt-4-0125 costs (#17349) 2024-02-11 21:24:24 -08:00
chat_loaders
chat_message_histories community[patch]: Add missing async_astra_db_client param to AstraDBChatMessageHistory (#17742) 2024-02-21 16:46:42 -08:00
chat_models docs: add helpful comments to sparkllm.py (#17774) 2024-02-21 16:42:54 -08:00
docstore
document_loaders community[minor]: Add tidb loader support (#17788) 2024-02-21 16:42:33 -08:00
document_transformers
embeddings community[minor]: infinity embedding local option (#17671) 2024-02-21 16:33:13 -08:00
example_selectors docs: added community modules descriptions (#17827) 2024-02-21 16:18:36 -08:00
graphs community[patch]: Added more functions in NetworkxEntityGraph class (#17624) 2024-02-21 17:02:56 -08:00
indexes docs: added community modules descriptions (#17827) 2024-02-21 16:18:36 -08:00
llms community: Bugfix - correct Ollama API path to avoid HTTP 307 (#17895) 2024-02-22 11:59:55 -05:00
output_parsers
retrievers infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
storage docs: Add docstring to AstraDBStore (#17793) 2024-02-21 16:41:47 -08:00
tools community: Add PolygonTickerNews Tool (#17808) 2024-02-20 10:15:29 -08:00
utilities community[patch]: Allow override of 'fetch_schema_from_transport' in the GraphQL tool (#17649) 2024-02-21 15:32:43 -08:00
utils Add the BQ job usage tracking from LangChain (#17123) 2024-02-13 14:47:57 -08:00
vectorstores pinecone[patch], docs: PineconeVectorStore, release 0.0.3 (#17896) 2024-02-22 08:24:08 -08:00
__init__.py
cache.py community[patch]: Graceful handling of redis errors in RedisCache and AsyncRedisCache (#17171) 2024-02-21 12:15:19 -05:00
py.typed