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
ByronHsu f0730c6489
Allow readthedoc loader to pass custom html tag (#5175)
## Description

The html structure of readthedocs can differ. Currently, the html tag is
hardcoded in the reader, and unable to fit into some cases. This pr
includes the following changes:

1. Replace `find_all` with `find` because we just want one tag.
2. Provide `custom_html_tag` to the loader.
3. Add tests for readthedoc loader
4. Refactor code

## Issues

See more in https://github.com/hwchase17/langchain/pull/2609. The
problem was not completely fixed in that pr.
---------

Signed-off-by: byhsu <byhsu@linkedin.com>
Co-authored-by: byhsu <byhsu@linkedin.com>
Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
1 year ago
..
agents Output parsing variation allowance (#5178) 1 year ago
callbacks fixing total cost finetuned model giving zero (#5144) 1 year ago
chains standardize json parsing (#5168) 1 year ago
chat_models Add async versions of predict() and predict_messages() (#4867) 1 year ago
cli update langchainplus client and docker file to reflect port changes (#5005) 1 year ago
client Pass Dataset Name by Name not Position (#5108) 1 year ago
docstore changed ValueError to ImportError (#5006) 1 year ago
document_loaders Allow readthedoc loader to pass custom html tag (#5175) 1 year ago
embeddings Harrison/modelscope (#5156) 1 year ago
evaluation Replace remaining usage of basellm with baselangmodel (#3981) 1 year ago
experimental Improve PlanningOutputParser whitespace handling (#5143) 1 year ago
graphs changed ValueError to ImportError (#5103) 1 year ago
indexes Replace remaining usage of basellm with baselangmodel (#3981) 1 year ago
llms Beam (#4996) 1 year ago
memory changed ValueError to ImportError (#5103) 1 year ago
output_parsers standardize json parsing (#5168) 1 year ago
prompts fix prompt saving (#4987) 1 year ago
retrievers tfidf retriever (#5114) 1 year ago
tools Add AzureCognitiveServicesToolkit to call Azure Cognitive Services API (#5012) 1 year ago
utilities Adding Weather Loader (#5056) 1 year ago
vectorstores Fixes scope of query Session in PGVector (#5194) 1 year ago
__init__.py console callback verbose (#4696) 1 year ago
base_language.py Add async versions of predict() and predict_messages() (#4867) 1 year ago
cache.py changed ValueError to ImportError (#5103) 1 year ago
docker-compose.yaml Update docker-compose.yaml (#3582) 1 year ago
document_transformers.py Contextual compression retriever (#2915) 1 year ago
env.py Add Environment Info to Run (#4691) 1 year ago
example_generator.py Replace remaining usage of basellm with baselangmodel (#3981) 1 year ago
formatting.py Validate `input_variables` when using `jinja2` templates (#3140) 1 year ago
input.py Bold Crumbs (#4876) 1 year ago
math_utils.py add get_top_k_cosine_similarity method to get max top k score and index (#5059) 1 year ago
model_laboratory.py Harrison/improve cache (#368) 2 years ago
py.typed Add py.typed marker to package (#121) 2 years ago
python.py Move PythonRepl -> langchain.utilities (#2917) 1 year ago
requests.py fixed aiohttp.client_exceptions.ClientConnectionError: Connection closed (#2718) 2 years ago
schema.py Improving Resilience of MRKL Agent (#5014) 1 year ago
serpapi.py move serpapi wrapper (#1199) 2 years ago
server.py Update Tracing Walkthrough (#4760) 1 year ago
sql_database.py Support Databricks in SQLDatabase (#4702) 1 year ago
text_splitter.py Improve effeciency of TextSplitter.split_documents, iterate once (#5111) 1 year ago
utils.py Harrison/virtual time (#4658) 1 year ago