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/tests/unit_tests
Zander Chase 4ee47926ca
Add on_chat_message_start (#4499)
### Add on_chat_message_start to callback manager and base tracer

Goal: trace messages directly to permit reloading as chat messages
(store in an integration-agnostic way)

Add an `on_chat_message_start` method. Fall back to `on_llm_start()` for
handlers that don't have it implemented.

Does so in a non-backwards-compat breaking way (for now)
1 year ago
..
agents Load HuggingFace Tool (#4475) 1 year ago
callbacks Add on_chat_message_start (#4499) 1 year ago
chains Callbacks Refactor [base] (#3256) 1 year ago
chat_models Add ChatModel, LLM, and Embeddings for Google's PaLM APIs (#3575) 1 year ago
client Add on_chat_message_start (#4499) 1 year ago
data Prompt from file proof of concept using plain text (#127) 2 years ago
docstore Add `DocstoreFn` - lookup doc via arbitrary function (#3760) 1 year ago
document_loader Add workflow for testing with all deps (#4410) 1 year ago
evaluation Adding an in-context QA evaluation chain + chain of thought reasoning chain for improved accuracy (#2444) 1 year ago
llms Add on_chat_message_start (#4499) 1 year ago
memory Harrison/combined memory (#3935) 1 year ago
output_parsers Add _type for all parsers (#4189) 1 year ago
prompts Validate `input_variables` when using `jinja2` templates (#3140) 1 year ago
retrievers Fix self query pinecone translation (#3892) 1 year ago
tools Pass parsed inputs through to tool _run (#4309) 1 year ago
utilities Add Tenant ID to V2 Tracer (#4135) 1 year ago
vectorstores fix #3884 (#3475) 1 year ago
__init__.py initial commit 2 years ago
conftest.py Add progress bar to filesystemblob loader, update pytest config for unit tests (#4212) 1 year ago
test_bash.py Persistent Bash Shell (#3580) 1 year ago
test_depedencies.py Add unit-test to catch changes to required deps (#3662) 1 year ago
test_document_transformers.py Contextual compression retriever (#2915) 1 year ago
test_formatting.py initial commit 2 years ago
test_math_utils.py Contextual compression retriever (#2915) 1 year ago
test_python.py Move PythonRepl -> langchain.utilities (#2917) 1 year ago
test_schema.py [simple][test] Added test case for schema.py (#3692) 1 year ago
test_sql_database.py sql: do not hard code the LIMIT clause in the table_info section (#1563) 2 years ago
test_sql_database_schema.py Suppress duckdb warning in unit tests explicitly (#3653) 1 year ago
test_text_splitter.py Add unit test for _merge_splits function (#3513) 1 year ago