Commit Graph

9560 Commits (master)
 

Author SHA1 Message Date
Rajendra Kadam 54e003268e
langchain[minor]: Add PebbloRetrievalQA chain with Identity & Semantic Enforcement support (#20641)
- **Description:** PebbloRetrievalQA chain introduces identity
enforcement using vector-db metadata filtering
- **Dependencies:** None
- **Issue:** None
- **Documentation:** Adding documentation for PebbloRetrievalQA chain in
a separate PR(https://github.com/langchain-ai/langchain/pull/20746)
- **Unit tests:** New unit-tests added

---------

Co-authored-by: Eugene Yurtsev <eugene@langchain.dev>
2 weeks ago
Bagatur f2f970f93d
docs: openai bind tools nit (#21692) 2 weeks ago
Erick Friis 5fa5a73dc0
docs: disable contextual search (#21691) 2 weeks ago
Erick Friis 3ee0747382
infra: remove prints from notebook build (#21688) 2 weeks ago
Erick Friis 024c11ff9c
docs: v0.2 search index (#21619) 2 weeks ago
Bagatur 241a6e43a5
docs: update structured how to (#21679) 2 weeks ago
Jib f369495fa0
mongodb: [performance] Increase DEFAULT_INSERT_BATCH_SIZE to 100,000 and introduce sizing constraints (#19608) 2 weeks ago
Eugene Yurtsev e69a9bedf8
core[patch]: Update mypy config (#21684)
Update mypy config to ignore checking deps from numpy and pytest (which are optional in langsmith sdk)
2 weeks ago
Erick Friis 9973547aef
mongodb: release 0.1.4 (#21678) 2 weeks ago
Jib a97473c846
mongodb[patch]: Make ObjectId JSON-serializable on generation (#21394) 2 weeks ago
ccurme 12b599c47f
docs: add how-to on multi-modal tool calling (#21667)
Can move this to a dedicated multi-modal section if desired.
2 weeks ago
Eugene Yurtsev 5c64c004cc
core[patch]: Add unit tests with some streaming scenarios (#21668)
Add unit tests that show differences between sync / async versions when
streaming.

The inner on_chain_chunk event is missing if mixing sync and async
functionality. Likely due to missing tap_output_iter implementation on
the sync variant of `_transform_stream_with_config`
2 weeks ago
Eugene Yurtsev 2ac4d2960c
core[patch]: Add unit test to catch ordering (#21669)
Add unit test to catch ordering issues
2 weeks ago
ccurme 3390dc2266
docs: style nits (#21666) 2 weeks ago
ccurme 2463c8060c
docs: how-to on adding scores to retriever results (#21626) 2 weeks ago
Zhao Blake 972d2071c6
core[patch]: Fix typo in VectorStoreExampleSelector doc-string (#21574) 2 weeks ago
William FH 714cba96a8
[docs] Update langgraph migration guide (#21644)
- add links to references where appropriate
- use the create_react_agent
- Fix the timeout recommendation
2 weeks ago
Erick Friis 5144c94603
docs: add 0.2 search notice (#21653) 2 weeks ago
Erick Friis 2a984e8e3f
docs: huggingface package (#21645) 2 weeks ago
Anush cd1879f5e7
docs: Qdrant partner package reference (#21649)
## Description:
As the title goes.
2 weeks ago
Erick Friis c77d2f2b06
multiple: core 0.2 nonbreaking dep, check_diff community->langchain dep (#21646)
0.2 is not a breaking release for core (but it is for langchain and
community)

To keep the core+langchain+community packages in sync at 0.2, we will
relax deps throughout the ecosystem to tolerate `langchain-core` 0.2
2 weeks ago
Anush edd68e4ad4
qdrant: init package (#21146)
## Description

This PR introduces the new `langchain-qdrant` partner package, intending
to deprecate the community package.

## Changes

- Moved the Qdrant vector store implementation `/libs/partners/qdrant`
with integration tests.
- The conditional imports of the client library are now regular with
minor implementation improvements.
- Added a deprecation warning to
`langchain_community.vectorstores.qdrant.Qdrant`.
- Replaced references/imports from `langchain_community` with either
`langchain_core` or by moving the definitions to the `langchain_qdrant`
package itself.
- Updated the Qdrant vector store documentation to reflect the changes.

## Testing
- `QDRANT_URL` and
[`QDRANT_API_KEY`](583e36bf6b)
env values need to be set to [run integration
tests](d608c93d1f)
in the [cloud](https://cloud.qdrant.tech).
- If a Qdrant instance is running at `http://localhost:6333`, the
integration tests will use it too.
- By default, tests use an
[`in-memory`](https://github.com/qdrant/qdrant-client?tab=readme-ov-file#local-mode)
instance(Not comprehensive).

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
Co-authored-by: Erick Friis <erickfriis@gmail.com>
2 weeks ago
Erick Friis fe8c9d621a
docs: ignore nb echo:false blocks (#21624)
not working currently
2 weeks ago
Prashanth Rao 63c3a0e56c
[community][graph]: Update KuzuQAChain and docs (#21218)
This PR makes some small updates for `KuzuQAChain` for graph QA.

- Updated Cypher generation prompt (we now support `WHERE EXISTS`) and
generalize it more
- Support different LLMs for Cypher generation and QA
- Update docs and examples
2 weeks ago
Bagatur 752b1e85f8
docs: gh feedback link (#21606)
Co-authored-by: bracesproul <braceasproul@gmail.com>
2 weeks ago
Bagatur 506df439eb
docs: how to index nits (#21623) 2 weeks ago
Bagatur b514a479c0
docs: standardize capitalization (#21641) 2 weeks ago
Bagatur 89aae3e043
docs: add Techniques to Concepts (#21636)
- Adds Techniques section
- Moves function calling, retrieval types to Techniques
- Removes Installation section (not conceptual)
- Reorders a few things (chat models before llms, package descriptions
before diagram)
- Add text splitter types to Techniques
2 weeks ago
Tomaz Bratanic 89ff6a3d3b
Add sentiment and confidence levels to diffbotgraphtransformer (#21590)
Co-authored-by: Erick Friis <erickfriis@gmail.com>
Co-authored-by: Erick Friis <erick@langchain.dev>
2 weeks ago
Bagatur 526ba235f3
docs: fix prereq links (#21630) 2 weeks ago
Erick Friis 0541e06e21
infra: 0.2 docs 404 page (#21634) 2 weeks ago
Erick Friis e861b5bcb7
infra: fix api ref link generation (#21631) 2 weeks ago
Erick Friis 9b51ca08bc
huggingface: fix community dep checking (#21628) 2 weeks ago
Erick Friis 91a2ea5cd6
chroma, mongodb: fix docstrings (#21629) 2 weeks ago
Jofthomas afd85b60fc
huggingface: init package (#21097)
First Pr for the langchain_huggingface partner Package

- Moved some of the hugging face related class from `community` to the
new `partner package`

Still needed :
- Documentation
- Tests
- Support for the new apply_chat_template in `ChatHuggingFace`
- Confirm choice of class to support for embeddings witht he
sentence-transformer team.

cc : @efriis

---------

Co-authored-by: Cyril Kondratenko <kkn1993@gmail.com>
Co-authored-by: Erick Friis <erick@langchain.dev>
2 weeks ago
Tomaz Bratanic 9fce03e7db
community[patch]: Fix neo4j enhanced schema (#21582) 2 weeks ago
Christophe Bornet 66a4da8ad0
community[patch]: Improve Cassandra VectorStore docsctrings (#21620) 2 weeks ago
adreo00 40aff1eacc
core[major]: AsyncCallbackManagerForToolRun no longer casts return object to string (#20374)
- **Description:** Stops `AsyncCallbackManagerForToolRun` from
converting the output to str
- **Issue:** #20372
- **Dependencies:** None
2 weeks ago
Eugene Yurtsev 25fbe356b4
community[patch]: upgrade to recent version of mypy (#21616)
This PR upgrades community to a recent version of mypy. It inserts type:
ignore on all existing failures.
2 weeks ago
Eugene Yurtsev b923951062
langchain[patch]: CI add lint rule for community imports (#21618)
Add a rule to check for imports from community in global scope
2 weeks ago
Jorge Piedrahita Ortiz 4378fbbef0
community[patch]: Fix typos in Sambanova integration doc-strings (#21617)
- **Description:** Sambanova integration docstrings updated, bad
formated

---------

Co-authored-by: Eugene Yurtsev <eugene@langchain.dev>
2 weeks ago
Erick Friis 0f5bf94f9f
infra: remove ai21 docs scan features (#21614)
ai21 depends on ai21-tokenizer which depends on too restrictive/old
version of `tokenizers`
2 weeks ago
ccurme fe08421207
docs: add hybrid retrieval how-to guide (#21613)
Updating v0.2 docs with
https://github.com/langchain-ai/langchain/pull/21245
2 weeks ago
Christophe Bornet bcf53f93e1
[community]: Add missing docstring param to CassandraLoader (#21611) 2 weeks ago
Christophe Bornet e6fa4547b1
community[minor]: Add alazy_load to AsyncHtmlLoader (#21536)
Also fixes a bug that `_scrape` was called and was doing a second HTTP
request synchronously.

**Twitter handle:** cbornet_
2 weeks ago
Leonid Ganeline 4c48732f94
docs: `providers` updates 1 (#20256)
- Proviers pages: added missed integrations; fixed format
- `mistralai` converted from notebook to .mdx format
2 weeks ago
ccurme 15cb1133e7
docs: fix path for state_of_the_union sample file (#21609) 2 weeks ago
Bagatur 83a8fdcfd1
infra: fix local doc make command (#21608) 2 weeks ago
Eugene Yurtsev 4dc625057e
README: Update downloads to show downloads of langchain-core (#21387)
Update downloads to keep track of langchain-core
2 weeks ago
Wang Guan b53548dcda
langchain[minor]: allow CacheBackedEmbeddings to cache queries (#20073)
Add optional caching of queries to cache backed embeddings
2 weeks ago