You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/langchain_community
Ian b9f5104e6c
communty[minor]: Store Message History to TiDB Database (#16304)
This pull request integrates the TiDB database into LangChain for
storing message history, marking one of several steps towards a
comprehensive integration of TiDB with LangChain.


A simple usage
```python
from datetime import datetime
from langchain_community.chat_message_histories import TiDBChatMessageHistory

history = TiDBChatMessageHistory(
    connection_string="mysql+pymysql://<host>:<PASSWORD>@<host>:4000/<db>?ssl_ca=/etc/ssl/cert.pem&ssl_verify_cert=true&ssl_verify_identity=true",
    session_id="code_gen",
    earliest_time=datetime.utcnow(),  # Optional to set earliest_time to load messages after this time point.
)

history.add_user_message("hi! How's feature going?")
history.add_ai_message("It's almot done")
```
8 months ago
..
adapters
agent_toolkits core[patch], community[patch], langchain[patch], docs: Update SQL chains/agents/docs (#16168) 8 months ago
callbacks community: add new gpt-3.5-turbo-1106 finetuned for cost calculation (#16039) 9 months ago
chat_loaders
chat_message_histories communty[minor]: Store Message History to TiDB Database (#16304) 8 months ago
chat_models community[patch]: BedrockChat -> Support Titan express as chat model (#15408) 8 months ago
docstore
document_loaders community[minor]: Add Cassandra document loader (#16215) 9 months ago
document_transformers community[minor]: Adding asynchronous function implementation for Doctran (#15941) 9 months ago
embeddings community[patch]: allow additional kwargs in MlflowEmbeddings for compatibility with Cohere API (#15242) 8 months ago
graphs community[patch]: Update Memgraph support (#16360) 8 months ago
indexes
llms community[patch]: BedrockChat -> Support Titan express as chat model (#15408) 8 months ago
output_parsers langchain[patch], community[minor]: move `output_parsers.ernie_functions` (#16057) 9 months ago
retrievers community[patch]: Handle when documents are not provided in the Cohere response (#16144) 9 months ago
storage
tools community[patch]: Update bing results tool name (#16395) 8 months ago
utilities core[patch], community[patch], langchain[patch], docs: Update SQL chains/agents/docs (#16168) 8 months ago
utils
vectorstores community[patch]: ElasticsearchStore enable max inner product (#16393) 8 months ago
__init__.py
cache.py
py.typed