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/langchain/chains
Leonid Ganeline c28cc0f1ac
changed ValueError to ImportError (#5103)
# changed ValueError to ImportError

Code cleaning.
Fixed inconsistencies in ImportError handling. Sometimes it raises
ImportError and sometime ValueError.
I've changed all cases to the `raise ImportError`
Also:
- added installation instruction in the error message, where it missed;
- fixed several installation instructions in the error message;
- fixed several error handling in regards to the ImportError
1 year ago
..
api Add _type for all parsers (#4189) 1 year ago
chat_vector_db WIP: Harrison/base retriever (#1765) 1 year ago
combine_documents Callbacks Refactor [base] (#3256) 1 year ago
constitutional_ai Harrison/unified objectives (#4905) 1 year ago
conversation Router chains (#4019) 1 year ago
conversational_retrieval preserve language in conversation retrieval (#4969) 1 year ago
flare WIP: FLARE-inspired chain (#4612) 1 year ago
graph_qa Harrison/neo4j (#5078) 1 year ago
hyde Replace remaining usage of basellm with baselangmodel (#3981) 1 year ago
llm_bash Add _type for all parsers (#4189) 1 year ago
llm_checker Replace remaining usage of basellm with baselangmodel (#3981) 1 year ago
llm_math Improve math chain error msg (#4415) 1 year ago
llm_summarization_checker fix typos in the prompts of LLMSummarizationCheckerChain (#4518) 1 year ago
natbot Replace remaining usage of basellm with baselangmodel (#3981) 1 year ago
pal Callbacks Refactor [base] (#3256) 1 year ago
qa_generation Callbacks Refactor [base] (#3256) 1 year ago
qa_with_sources Callbacks Refactor [base] (#3256) 1 year ago
query_constructor Harrison/add top k (#4707) 1 year ago
question_answering Callbacks Refactor [base] (#3256) 1 year ago
retrieval_qa Callbacks Refactor [base] (#3256) 1 year ago
router add embedding router (#4644) 1 year ago
sql_database Replaced `SQLDatabaseChain` deprecated direct initialisation with `from_llm` method (#4778) 1 year ago
summarize Callbacks Refactor [base] (#3256) 1 year ago
__init__.py Harrison/neo4j (#5078) 1 year ago
base.py fix json saving, update docs to reference anthropic chat model (#4364) 1 year ago
llm.py fix: agenerate miss run_manager args in llm.py (#4566) 1 year ago
llm_requests.py Callbacks Refactor [base] (#3256) 1 year ago
loading.py Replaced `SQLDatabaseChain` deprecated direct initialisation with `from_llm` method (#4778) 1 year ago
mapreduce.py Replace remaining usage of basellm with baselangmodel (#3981) 1 year ago
moderation.py changed ValueError to ImportError (#5103) 1 year ago
prompt_selector.py Callbacks Refactor [base] (#3256) 1 year ago
sequential.py Callbacks Refactor [base] (#3256) 1 year ago
transform.py Callbacks Refactor [base] (#3256) 1 year ago