langchain/tests/unit_tests/chains
Ma Donghao 6f62e5461c
Update the parser regex of map_rerank (#6419)
Sometimes the score responded by chatgpt would be like 'Respone
example\nScore: 90 (fully answers the question, but could provide more
detail on the specific error message)'
For the score contains not only numbers, it raise a ValueError like 


Update the RegexParser from `.*` to `\d*` would help us to ignore the
text after number.

Co-authored-by: Bagatur <baskaryan@gmail.com>
2023-07-13 03:01:42 -04:00
..
query_constructor handle single arg to and/or (#5637) 2023-06-03 15:18:46 -07:00
question_answering Update the parser regex of map_rerank (#6419) 2023-07-13 03:01:42 -04: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