langchain/tests/unit_tests/chains
Nir Gazit f307ca094b
fix(memory): allow internal chains to use memory (#6769)
Fixed #6768.

This is a workaround only. I think a better longer-term solution is for
chains to declare how many input variables they *actually* need (as
opposed to ones that are in the prompt, where some may be satisfied by
the memory). Then, a wrapping chain can check the input match against
the actual input variables.

@hwchase17
2023-07-13 02:47:44 -04:00
..
query_constructor handle single arg to and/or (#5637) 2023-06-03 15:18:46 -07:00
__init__.py initial commit 2022-10-24 14:51:15 -07:00
test_api.py requests wrapper (#2367) 2023-04-03 21:57:19 -07:00
test_base.py support returning run info for llms, chat models and chains (#5666) 2023-06-06 10:07:46 -07:00
test_combine_documents.py Docs combine document chain (#6994) 2023-07-04 12:51:04 -06:00
test_constitutional_ai.py Added constitutional chain. (#1147) 2023-02-18 19:31:51 -08:00
test_conversation.py Add read only shared memory (#1491) 2023-03-12 09:34:36 -07:00
test_graph_qa.py Cypher search: Check if generated Cypher is provided in backticks (#5541) 2023-06-05 12:48:13 -07:00
test_hyde.py split up batch llm calls into separate runs (#5804) 2023-06-24 21:03:31 -07:00
test_llm_bash.py Callbacks Refactor [base] (#3256) 2023-04-30 11:14:09 -07:00
test_llm_checker.py Callbacks Refactor [base] (#3256) 2023-04-30 11:14:09 -07:00
test_llm_math.py Callbacks Refactor [base] (#3256) 2023-04-30 11:14:09 -07:00
test_llm_summarization_checker.py Callbacks Refactor [base] (#3256) 2023-04-30 11:14:09 -07:00
test_llm_symbolic_math.py Adds a chain around sympy for symbolic math (#6834) 2023-07-12 15:17:32 -04:00
test_llm.py Harrison/guarded output parser (#1804) 2023-03-21 22:07:23 -07:00
test_memory.py Add read only shared memory (#1491) 2023-03-12 09:34:36 -07:00
test_natbot.py split up batch llm calls into separate runs (#5804) 2023-06-24 21:03:31 -07:00
test_sequential.py fix(memory): allow internal chains to use memory (#6769) 2023-07-13 02:47:44 -04:00
test_transform.py Add a Transformation Chain (#257) 2022-12-06 21:58:16 -08:00