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 0c6ed657ef
Convert Chain to a Chain Factory (#4605)
## Change Chain argument in client to accept a chain factory

The `run_over_dataset` functionality seeks to treat each iteration of an
example as an independent trial.
Chains have memory, so it's easier to permit this type of behavior if we
accept a factory method rather than the chain object directly.

There's still corner cases / UX pains people will likely run into, like:
- Caching may cause issues
- if memory is persisted to a shared object (e.g., same redis queue) ,
this could impact what is retrieved
- If we're running the async methods with concurrency using local
models, if someone naively instantiates the chain and loads each time,
it could lead to tons of disk I/O or OOM
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 Convert Chain to a Chain Factory (#4605) 1 year ago
data
docstore Add `DocstoreFn` - lookup doc via arbitrary function (#3760) 1 year ago
document_loader Turn on extended tests (#4588) 1 year ago
evaluation
llms Add Invocation Params (#4509) 1 year ago
memory Harrison/combined memory (#3935) 1 year ago
output_parsers Add _type for all parsers (#4189) 1 year ago
prompts
retrievers Fix self query pinecone translation (#3892) 1 year ago
tools Add Steamship Image Generation Tool (#4580) 1 year ago
utilities Add Tenant ID to V2 Tracer (#4135) 1 year ago
vectorstores fix #3884 (#3475) 1 year ago
__init__.py
conftest.py Add pytest --only-extended and --only-core options (#4494) 1 year ago
test_bash.py Skip flaky unit test (#4591) 1 year ago
test_depedencies.py Add unit-test to catch changes to required deps (#3662) 1 year ago
test_document_transformers.py
test_formatting.py
test_math_utils.py
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
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