langchain/libs/experimental/langchain_experimental
Luke 66e30efa61
experimental: Fix divide by 0 error (#25439)
Within the semantic chunker, when calling `_threshold_from_clusters`
there is the possibility for a divide by 0 error if the
`number_of_chunks` is equal to the length of `distances`.

Fix simply implements a check if these values match to prevent the error
and enable chunking to continue.
2024-08-15 14:46:30 +00:00
..
agents docs: fix kwargs docstring (#25010) 2024-08-02 19:54:54 -07:00
autonomous_agents docs: udpated api reference (#25172) 2024-08-14 07:00:17 -07:00
chat_models infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
comprehend_moderation infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
cpal infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
data_anonymizer infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
fallacy_removal infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
generative_agents experimental[patch]: Migrate pydantic extra to literals (#25194) 2024-08-08 19:05:54 +00:00
graph_transformers experimental: Add gliner graph transformer (#25066) 2024-08-05 21:01:27 +00:00
llm_bash experimental[patch]: Migrate pydantic extra to literals (#25194) 2024-08-08 19:05:54 +00:00
llm_symbolic_math experimental[patch]: Migrate pydantic extra to literals (#25194) 2024-08-08 19:05:54 +00:00
llms multiple: update removal targets (#25361) 2024-08-14 09:50:39 -04:00
open_clip experimental[patch]: Use get_fields adapter (#25193) 2024-08-08 15:10:11 -04:00
openai_assistant
pal_chain experimental[patch]: Migrate pydantic extra to literals (#25194) 2024-08-08 19:05:54 +00:00
plan_and_execute docs: udpated api reference (#25172) 2024-08-14 07:00:17 -07:00
prompt_injection_identifier docs: udpated api reference (#25172) 2024-08-14 07:00:17 -07:00
prompts infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
pydantic_v1
recommenders infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
retrievers langchain: callbacks imports fix (#20348) 2024-04-12 20:13:14 +00:00
rl_chain experimental[patch]: refactor rl chain structure (#25398) 2024-08-14 17:09:43 +00:00
smart_llm experimental[patch]: Migrate pydantic extra to literals (#25194) 2024-08-08 19:05:54 +00:00
sql experimental[patch]: Migrate pydantic extra to literals (#25194) 2024-08-08 19:05:54 +00:00
synthetic_data infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
tabular_synthetic_data docs: fix kwargs docstring (#25010) 2024-08-02 19:54:54 -07:00
tools docs: udpated api reference (#25172) 2024-08-14 07:00:17 -07:00
tot experimental[patch]: Migrate pydantic extra to literals (#25194) 2024-08-08 19:05:54 +00:00
utilities infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
video_captioning experimental[patch]: Migrate pydantic extra to literals (#25194) 2024-08-08 19:05:54 +00:00
__init__.py
py.typed
text_splitter.py experimental: Fix divide by 0 error (#25439) 2024-08-15 14:46:30 +00:00