Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an Azure face tool #15

Open
wants to merge 595 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
595 commits
Select commit Hold shift + click to select a range
a433039
core[patch]: support final AIMessage responses in `tool_example_to_me…
ccurme Nov 22, 2024
697dda5
core[patch]: release 0.3.20 (#28293)
ccurme Nov 22, 2024
2ee37a1
community: list valid values for LanceDB constructor's `mode` argumen…
metadaddy Nov 22, 2024
7277794
ollama: include kwargs in requests (#28299)
efriis Nov 22, 2024
aa7fa80
partners/ollama: release 0.2.2rc1 (#28300)
efriis Nov 22, 2024
203d20c
community[patch]: fix errors introduced by pydantic 2.10 (#28297)
ccurme Nov 22, 2024
242e9fc
infra: install standard tests in docs build (#28303)
efriis Nov 22, 2024
25a636c
langchain[patch]: update deprecation message for MapReduceChain (#28304)
ccurme Nov 23, 2024
39fd0fd
infra: more rst (#28305)
efriis Nov 23, 2024
a329647
docs: integration asyncio mode (#28306)
efriis Nov 23, 2024
ed84d48
[Doc] Improvement: fix import statement for qdrant (#28286)
ZhangShenao Nov 23, 2024
a813d11
core[patch]: Compat pydantic 2.10 (#28308)
eyurtsev Nov 23, 2024
563587e
langchain[patch]: Compat with pydantic 2.10 (#28307)
eyurtsev Nov 23, 2024
7170a4e
docs: standard test api link (#28309)
efriis Nov 23, 2024
f5f1149
core[patch]: release 0.3.21 (#28314)
ccurme Nov 23, 2024
82bb0cd
langchain[patch]: release 0.3.8 (#28315)
ccurme Nov 23, 2024
a83357d
community[patch]: release 0.3.8 (#28316)
ccurme Nov 23, 2024
6ed2d38
docs: fix GOOGLE_API_KEY typo (#28322)
Yelinz Nov 25, 2024
c60695a
community: fixed critical bugs at Writer provider (#27879)
yanomaly Nov 25, 2024
5867f25
community[patch]: Neo4j community deprecation (#28130)
alexthomas93 Nov 25, 2024
a537495
community[patch]: fix import in test (#28339)
ccurme Nov 25, 2024
aa2c17b
docs: update azure_openai_whisper_parser.ipynb (#28327)
eltociear Nov 25, 2024
195ae7b
Community: Adding citations in AIMessage for ChatPerplexity (#28321)
keenborder786 Nov 26, 2024
c161f7d
docs(create_sql_agent): fix reStructured Text Markup (#28356)
0xRichardH Nov 26, 2024
a97c53e
docs[patch]: fix broken anchor link (#28358)
ccurme Nov 26, 2024
7b9a0d9
docs: update tutorials (#28219)
ccurme Nov 26, 2024
869c8f5
langchain[patch]: support numpy 2 (#28183)
ghinch Nov 26, 2024
42b1882
openai[patch]: use max_completion_tokens in place of max_tokens (#26917)
ccurme Nov 26, 2024
e7dc26a
openai[patch]: Release 0.2.10 (#28360)
baskaryan Nov 26, 2024
e9c1655
openai[patch]: bump core dep (#28361)
baskaryan Nov 26, 2024
74d9d2c
ollama[patch]: support ollama 0.4 (#28364)
ccurme Nov 26, 2024
a1c9079
ollama[patch]: bump to 0.4.1 in lock file (#28365)
ccurme Nov 26, 2024
7d95a10
langchain: Fix Neo4jVector vector store reference from partner packag…
willtai Nov 26, 2024
06fafc6
Community: Marqo Index Setting GET Request Updated according to `2.x`…
keenborder786 Nov 26, 2024
ec205fc
Updated docs for the BM25 preprocessing function (#28101)
kiril-buga Nov 26, 2024
8adc4a5
langchain[patch]: update deprecation message for agent classes and co…
ccurme Nov 26, 2024
ffe7bd4
langchain[patch]: init_chat_model provider in model string (#28367)
baskaryan Nov 27, 2024
585da22
Init embeddings (#28370)
hinthornw Nov 27, 2024
85b8cec
docs: fix typo in embedding vectors documentation (#28378)
kanad13 Nov 27, 2024
42b8ad0
chroma[patch]: test python 3.13 in CI (#28387)
ccurme Nov 27, 2024
51e98a5
docs[patch]: fix typo in embeddings tab (#28388)
ccurme Nov 27, 2024
bb83abd
community[patch]: remove sqlalchemy cap (#28389)
ccurme Nov 27, 2024
607c60a
partners/ollama: fix tool calling with nested schemas (#28225)
TheDannyG Nov 27, 2024
c09000f
Building RAG agents locally using open source LLMs on Intel CPU (#28302)
pbharti0831 Nov 27, 2024
0901f11
community: add truncation params when an openai assistant's run is cr…
LuisMSotamba Nov 27, 2024
5141f25
community[patch]: support numpy2 (#28184)
ghinch Nov 27, 2024
b9bf7fd
couchbase[patch]: run python 3.13 in CI (#28391)
ccurme Nov 27, 2024
733a6ad
mistral[patch]: run python 3.13 in CI (#28392)
ccurme Nov 27, 2024
8358666
partners[chroma]: add retrieval of embedding vectors (#28290)
mspronesti Nov 27, 2024
ee6fc3f
nomic[patch]: run python 3.13 in CI (#28393)
ccurme Nov 27, 2024
a8b21af
qdrant[patch]: run python 3.13 in CI (#28394)
ccurme Nov 27, 2024
b7e10bb
langchain[patch]: Release 0.3.9 (#28399)
baskaryan Nov 27, 2024
2813e86
docs: Adds the langchain-neo4j package to the API docs (#28386)
alexthomas93 Nov 27, 2024
c2f1d02
mistral[patch]: ensure tool call IDs in tool messages are correctly f…
ccurme Nov 29, 2024
49914e9
community[patch]: Release 0.3.9 (#28451)
baskaryan Dec 2, 2024
4743348
mistral[patch]: Release 0.2.3 (#28452)
baskaryan Dec 2, 2024
e294e71
Update mistralai.ipynb (#28440)
chistokir Dec 2, 2024
58d2bfe
docs: fixed a variable name in embeddings section (#28434)
rcocetta Dec 2, 2024
e5b4f9a
docs: Add ChatDatabricks to llm models (#28398)
prithvikannan Dec 2, 2024
c953f93
infra: Update Poetry version, to current latest (1.8.4) (#28194)
ulgens Dec 2, 2024
88d6d02
ollama[patch]: release 0.2.2 (#28456)
ccurme Dec 2, 2024
2848759
ollama[patch]: release 0.2.1 (#28458)
ccurme Dec 2, 2024
60021e5
community: Add the additonnal kward 'context' for openai (#28351)
lucasiscovici Dec 2, 2024
ecee41a
fix: Handle response metadata in merge_messages_runs (#28453)
hinthornw Dec 2, 2024
9f04416
openai: set logit_bias to none instead of empty dict by default (#28460)
efriis Dec 2, 2024
42d40d6
partners/openai: release 0.2.11 (#28461)
efriis Dec 2, 2024
000be1f
tests: init retriever standard tests (#28459)
efriis Dec 2, 2024
6b7e93d
pinecone: update pinecone client (#28320)
aulorbe Dec 3, 2024
ff675c1
partners/pinecone: release 0.2.2 (#28466)
efriis Dec 3, 2024
7315360
openai: dont populate logit_bias if None (#28482)
efriis Dec 3, 2024
926e452
partners: update version header for Pinecone integration (#28481)
aulorbe Dec 3, 2024
c74f34c
pinecone: release 0.2.1 (version sequence) (#28485)
efriis Dec 3, 2024
a220ee5
infra: add 20min timeout to ci steps (#28483)
efriis Dec 3, 2024
50ddf13
infra: configurable scheduled tests (#28486)
efriis Dec 3, 2024
ab831ce
tests[patch]: populate API reference for chat models (#28487)
ccurme Dec 3, 2024
b0a8307
Update graph_constructing.ipynb (#28489)
prakashshan50 Dec 3, 2024
ef36554
community: add Needle retriever and document loader integration (#28157)
JANHMS Dec 3, 2024
6e607bb
docs: langchain-ai21 update ai21 docs (#28076)
miri-bar Dec 4, 2024
15e7353
langchain_community: updated query constructor for Databricks Vector …
willsmithDB Dec 4, 2024
eff8a54
langchain_chroma: added document.id support (#27995)
epinzur Dec 4, 2024
bc5ec63
community : allow using apikey for PubMedAPIWrapper (#27246)
peterdhp Dec 4, 2024
a009249
infra: release rely on local built in testing (#28492)
efriis Dec 4, 2024
d34bf78
community: BM25Retriever preservation of document id (#27019)
TupleType Dec 4, 2024
6151ea7
community: implement _select_relevance_score_fn for tencent vectordb …
wlleiiwang Dec 4, 2024
e6a0835
docs: more api ref links, add linting step to prevent more (#28495)
efriis Dec 4, 2024
12d74d5
docs: single security doc (#28515)
efriis Dec 4, 2024
eec55c2
chroma[patch]: add `get_by_ids` and fix bug (#28516)
ccurme Dec 4, 2024
a013014
switch graph semantic layer docs to langgraph (#28513)
tomasonjo Dec 4, 2024
8bc2c91
chroma[patch]: (nit) simplify test (#28517)
ccurme Dec 4, 2024
2b360d6
infra: scheduled test fix (#28519)
efriis Dec 4, 2024
f459754
tests[patch]: populate API reference for vector stores (#28520)
ccurme Dec 5, 2024
c5acedd
anthropic: timeout in tests (10s) (#28488)
efriis Dec 5, 2024
43c35d1
cli: standard tests in cli, test that they run, skip vectorstore test…
efriis Dec 5, 2024
0f539f0
standard-tests: release 0.3.5 (#28526)
efriis Dec 5, 2024
d9e42a1
langchain[patch]: fix deprecation warning (#28535)
ccurme Dec 5, 2024
ecff9a0
cli: release 0.0.34 (#28525)
efriis Dec 5, 2024
8f9b3b7
chroma[patch]: fix bug (#28538)
ccurme Dec 5, 2024
7d44316
docs: Add link for how to install extras (#28537)
Coniferish Dec 5, 2024
d26555c
[VectorStore] Improvement: Improve chroma vector store (#28524)
ZhangShenao Dec 5, 2024
b8e861a
openai[patch]: add standard tests for embeddings (#28540)
ccurme Dec 5, 2024
1e285cb
docs: Updated incorrected type used for the `multiply_by_max` functio…
WEIQ-beepbeep Dec 5, 2024
1581857
docs: add Aerospike to providers list (#28066)
dwelch-spike Dec 5, 2024
ecdfc98
tests[patch]: run standard tests for embeddings and populate embeddin…
ccurme Dec 5, 2024
3d54935
docs: deprecated styling (#28546)
efriis Dec 5, 2024
66f819c
infra: run cli tests on test changes (#28542)
efriis Dec 5, 2024
5519a1c
docs[patch]: improve integration docs (#28547)
ccurme Dec 5, 2024
7a96ce1
docs: deprecated styling (#28550)
efriis Dec 5, 2024
28f8d43
mistral: fix of issue #26029 (#28233)
blaufink Dec 5, 2024
482e8a7
community: Add support for SAP HANA Vector hnsw index creation (#27884)
cinqisap Dec 5, 2024
478def8
core: deprecation doc removal (#28553)
efriis Dec 5, 2024
a197e0b
docs: custom deprecated coloring, organize css a bit (#28555)
efriis Dec 5, 2024
7ecf38f
cli: create specific files from template (#28556)
efriis Dec 6, 2024
bc636cc
cli: release 0.0.35 (#28557)
efriis Dec 6, 2024
18386c1
core, tests: more tolerant _aget_relevant_documents function (#28462)
efriis Dec 6, 2024
5277a02
docs: raw loader codeblock (#28548)
efriis Dec 6, 2024
f3dc142
cli[patch]: implement minimal starter vector store (#28577)
ccurme Dec 6, 2024
15cbc36
docs[patch]: update contributor docs for integrations (#28576)
ccurme Dec 6, 2024
dda9f90
core[patch]: Release 0.3.22 (#28582)
baskaryan Dec 6, 2024
2c6bc74
multiple: combine sync/async vector store standard test suites (#28580)
ccurme Dec 6, 2024
c38b845
core: fix path test (#28584)
efriis Dec 6, 2024
e6663b6
langchain: release 0.3.10 (#28585)
efriis Dec 6, 2024
221ab03
docs: readme/intro nits (#28581)
baskaryan Dec 6, 2024
4f99952
docs: enable private docstring members sphinx (#28586)
efriis Dec 6, 2024
791d7e9
docs: enable private docstring modules sphinx (#28588)
efriis Dec 6, 2024
1cedf40
docs: enable private docstring submembers sphinx (#28589)
efriis Dec 6, 2024
246c10a
standard-tests: private members and tools unit troubleshoot (#28590)
efriis Dec 6, 2024
9e2abcd
standard-tests: show right classes in api docs (#28591)
efriis Dec 6, 2024
f943205
docs: dont document root init (#28592)
efriis Dec 6, 2024
925ca75
docs: format (#28593)
efriis Dec 6, 2024
b7c2029
standard-tests: root docstrings (#28595)
efriis Dec 6, 2024
0eb7ab6
multiple: fix xfailed signatures (#28597)
efriis Dec 6, 2024
80a88f8
tests[patch]: update API ref for chat models (#28594)
ccurme Dec 7, 2024
4a7dc6e
standard-tests: release 0.3.6 (#28599)
efriis Dec 7, 2024
07c2ac7
community: release 0.3.10 (#28600)
efriis Dec 7, 2024
a32035d
docs: update uptrain.ipynb (#28561)
eltociear Dec 7, 2024
d801c6f
tests[patch]: nits (#28601)
ccurme Dec 7, 2024
5e8553c
standard-tests: retriever docstrings (#28596)
efriis Dec 7, 2024
9b84849
docs: tool, retriever contributing docs (#28602)
efriis Dec 7, 2024
dd0085a
docs: standard tests to markdown, load templates from files (#28603)
efriis Dec 7, 2024
524ee6d
Invalid `tool_choice` being passed to `ChatLiteLLM` (#28198)
keenborder786 Dec 7, 2024
fbf0704
docs: Update IBM documentation (#28503)
MateuszOssGit Dec 8, 2024
317a38b
community[minor]: Add support for modle2vec embeddings (#28507)
blacksmithop Dec 9, 2024
2354bb7
partners: 🕷️🦜 ScrapeGraph API Integration (#28559)
PeriniM Dec 9, 2024
1fc4ac3
docs: Resolve incorrect import of AttributeInfo for self-query retrie…
DangerousPotential Dec 9, 2024
220b33d
docs: Fixed broken link in the warning message to @tool API Reference…
DangerousPotential Dec 9, 2024
e8508fb
docs: Fixed mini typo in recommend and improve the phrasing (#28438)
DangerousPotential Dec 9, 2024
079c7ea
docs: Fix typo in weaviate integration docs (#28425)
funkyrailroad Dec 9, 2024
54fba7e
docs: change upstage solar model descriptions (#28419)
inahjeon Dec 9, 2024
481c4bf
core[patch]: Fixed trim functions, and added corresponding unit test …
fazam0616 Dec 9, 2024
eabe587
community[patch]:Fix for get_openai_callback() return token_cost=0.0 …
m4a1carbin4 Dec 9, 2024
b53f07b
docs: more integration contrib (#28618)
efriis Dec 9, 2024
90f162e
text-splitters: add pydocstyle linting (#28127)
dangiankit Dec 9, 2024
cef21a0
cli: warning on app add (#28619)
efriis Dec 9, 2024
ec9b414
[Core]: Small Docstring Clarification for `BaseTool` (#28148)
keenborder786 Dec 9, 2024
6e6061f
openai[patch]: bump minimum SDK version (#28632)
ccurme Dec 9, 2024
ffb5c19
openai[patch]: release 0.2.12 (#28633)
ccurme Dec 9, 2024
4c70fff
standard-tests: sync/async vectorstore tests conditional (#28636)
efriis Dec 9, 2024
b64d846
docs: Standardize MoonshotChat docstring (#28159)
maang-h Dec 9, 2024
b476fdb
docs: update readme (#28631)
ccurme Dec 9, 2024
bdb4cf7
Fix typo in Custom Output Parser doc (#28617)
huyb1991 Dec 9, 2024
9fcd203
partners/mistralai: Fix KeyError in Vertex AI stream (#28624)
nikitajoyn Dec 9, 2024
85114b4
docs: Update sql-query doc by fixing spelling mistake of chinhook.db …
prnvlohar Dec 9, 2024
242fee1
community[minor] Pebblo: Support for new Pinecone class PineconeVecto…
Raj725 Dec 9, 2024
ce3b69a
community: add include_labels option to ConfluenceLoader (#28259)
nakamasato Dec 9, 2024
6815981
Switch graphqa example in docs to langgraph (#28574)
tomasonjo Dec 9, 2024
534b8f4
standard-tests: release 0.3.7 (#28637)
efriis Dec 9, 2024
75bc6bb
community: [bugfix] fix source path for office files in O365 (#28260)
MacanPN Dec 9, 2024
2c49f58
community[fix]: could not locate runnable browser (#28289)
ImAmirreza Dec 9, 2024
cf6d1c0
docs: add Linkup integration documentation (#28366)
cjumel Dec 9, 2024
34ca31e
docs: integration contrib typo (#28642)
efriis Dec 9, 2024
b78b2f7
community[fix]: Update Perplexity to pass parameters into API calls (…
arnavp103 Dec 10, 2024
4e743b5
Core: google docstring parsing fix (#28404)
Tesla2000 Dec 10, 2024
5afeb8b
infra: merge queue allowed (#28641)
efriis Dec 10, 2024
9b7d49f
docs: Adding Docs for new SQLServer Vector store package (#28173)
Pookam90 Dec 10, 2024
8c6eec5
community: KuzuGraph needs allow_dangerous_requests, add graph docume…
prrao87 Dec 10, 2024
0f0df2d
fix: Set default search_type to 'similarity' in as_retriever method o…
TamagoTorisugi Dec 10, 2024
ef2f875
core: deprecate PipelinePromptTemplate (#28644)
efriis Dec 10, 2024
d0e9597
langchain-weaviate: Remove outdated docs (#28058)
hsm207 Dec 10, 2024
e24f86e
core[patch]: return ToolMessage from tool (#28605)
baskaryan Dec 10, 2024
24292c4
core[patch]: Release 0.3.23 (#28648)
baskaryan Dec 10, 2024
5c6e2cb
ollama[patch]: support structured output (#28629)
ccurme Dec 10, 2024
aba2711
community: update Memgraph integration (#27017)
katarinasupe Dec 10, 2024
0d20c31
Confluence Loader: Fix CQL loading (#27620)
Tonkonozhenko Dec 10, 2024
c1d348e
doc-loader: retain Azure Doc Intelligence API metadata in Document pa…
jmohren Dec 10, 2024
7040594
Fix graph example documentation (#28653)
tomasonjo Dec 10, 2024
bc4dc7f
ollama[patch]: permit streaming for tool calls (#28654)
ccurme Dec 10, 2024
e6a62d8
core,langchain,community[patch]: allow langsmith 0.2 (#28598)
baskaryan Dec 10, 2024
1fbd86a
core[patch]: Release 0.3.24 (#28656)
baskaryan Dec 10, 2024
91227ad
langchain[patch]: Release 0.3.11 (#28657)
baskaryan Dec 10, 2024
d0e662e
community[patch]: Release 0.3.11 (#28658)
baskaryan Dec 10, 2024
3048a9a
community: tongyi multimodal response format fix to support langchain…
achenglike Dec 10, 2024
b9dd4f2
docs: box to package table (#28676)
efriis Dec 11, 2024
df5008f
community[minor]: FAISS Filter Function Enhancement with Advanced Que…
vincentzhang15 Dec 11, 2024
a37afbe
mistral[minor]: Added Retrying Mechanism in case of Request Rate Limi…
keenborder786 Dec 11, 2024
8c37808
docs: added caution notes on Jina and LocalAI docs about openai sdk v…
bjoaquinc Dec 11, 2024
fa155a4
[Community]: `requests_kwargs` not being used in _fetch (#28646)
keenborder786 Dec 11, 2024
8780f7a
Fix typo in doc for: Custom Functions & Pass Through Arguments pages …
huyb1991 Dec 11, 2024
b20230c
community: use correct `id_key` when deleting by id in LanceDB wrappe…
floatplane Dec 11, 2024
ee640d6
community: fixed bug in model2vec embedding code (#28670)
Pringled Dec 11, 2024
45f9c9a
langchain: fixed weaviate (v4) vectorstore import for self-query retr…
xintoteai Dec 11, 2024
a4713ca
FIX: typos in docs (#28679)
timmy471 Dec 12, 2024
0af5ad8
docs: provider list from packages.yml (#28677)
efriis Dec 12, 2024
ba9b95c
Community: Adding bulk_size as a setable param for OpenSearchVectorSe…
manukychen Dec 12, 2024
d1e0ec7
community: VectorStores: Azure Cosmos DB Mongo vCore with DiskANN (#2…
fatmelon Dec 12, 2024
5a31792
community: Add support for cross-region inference profile IDs in Bedr…
lakinduboteju Dec 12, 2024
d834c6b
huggingface: fix tool argument serialization in _convert_TGI_message…
sywangyi Dec 12, 2024
ca054ed
community: ChatSnowflakeCortex - Add streaming functionality (#27753)
PrathameshNimkar Dec 12, 2024
4149c0d
community: add method to create branch and list files for gitlab tool…
lorenzb07 Dec 12, 2024
13c3c4a
community: fixes json loader not getting texts with json standard (#2…
TonyBotongChu Dec 12, 2024
28cb2ce
docs: Fix stack diagram in community README (#28685)
michaelnchin Dec 12, 2024
f601101
docs: ganalytics in api ref (#28697)
efriis Dec 12, 2024
48ab91b
docs: more useful vercel warnings (#28699)
efriis Dec 13, 2024
94c22c3
rfc: dropdown for chat models (#28673)
baskaryan Dec 13, 2024
fa06188
community[patch]: fix QuerySQLDatabaseTool name (#28659)
baskaryan Dec 13, 2024
c855d43
DOC: Fixed conflicting info on ChatOllama structured output support (…
Uvi-12 Dec 13, 2024
05ebe1e
Community: add `modified_since` argument to `O365BaseLoader` (#28708)
MacanPN Dec 13, 2024
86b3c6e
community: make old stub for QuerySQLDataBaseTool private to skip api…
efriis Dec 13, 2024
b0a2988
community[minor]: Add TablestoreVectorStore (#25767)
xjtushilei Dec 13, 2024
da28cf1
core[patch]: Reverts PR #25754 and add unit tests (#28702)
KeiichiHirobe Dec 13, 2024
ce90b25
core[patch]: Update error message in indexing code for unreachable co…
eyurtsev Dec 13, 2024
4802c31
docs: update intro page (#28639)
ccurme Dec 13, 2024
258b3be
core[minor]: add new clean up strategy "scoped_full" to indexing (#28…
KeiichiHirobe Dec 13, 2024
67fd554
core[patch]: throw exception indexing code if deletion fails in vecto…
KeiichiHirobe Dec 13, 2024
f3fb5a9
community[minor]: Fix json._validate_metadata_func() (#22842)
pprados Dec 13, 2024
498f024
community[minor]: Opensearch hybridsearch implementation (#25375)
karthikbharadhwajKB Dec 13, 2024
9c55c75
docs: dropdowns for embeddings and vector stores (#28713)
ccurme Dec 13, 2024
b909d54
chroma[patch]: Update logic for assigning ids
kwei-zhang Dec 13, 2024
3107d78
huggingface: fix standard test lint (#28714)
efriis Dec 13, 2024
af2e0a7
partners: add 'model' alias for consistency in embedding classes (#28…
manuelescobar-dev Dec 13, 2024
12111cb
community: fallback on core async atransform_documents method for `Ma…
rparkr Dec 13, 2024
337fed8
community: 🐛 PDF Filter Type Error (#27154)
moyueheng Dec 13, 2024
bd008ba
docs: Update additional_resources/tutorials.mdx (#28005)
ronidas39 Dec 14, 2024
288f204
docs, community: aerospike docs update (#28717)
efriis Dec 14, 2024
fc80061
docs: integrations W&B update (#28059)
leo-gan Dec 14, 2024
008efad
[community]: Render documents to graphviz (#24830)
bjchambers Dec 14, 2024
decd77c
community: fix an issue with deepinfra integration (#28715)
JustNawaf Dec 14, 2024
387284c
core: release 0.3.25 (#28718)
efriis Dec 14, 2024
23b433f
infra: fix notebook tests (#28722)
ccurme Dec 14, 2024
679e3a9
text-splitters[patch]: Release 0.3.3 (#28723)
baskaryan Dec 14, 2024
089e659
langchain[patch]: Release 0.3.12 (#28724)
baskaryan Dec 14, 2024
a0534ae
community[patch]: Release 0.3.12 (#28725)
baskaryan Dec 14, 2024
a3851cb
community: FAISS vectorstore - consistent Document id field (#28728)
nhols Dec 15, 2024
4c1871d
community: Passing the `model_kwargs` correctly while maintaing backw…
keenborder786 Dec 15, 2024
d417e4b
Community: Azure CosmosDB No Sql Vector Store: Full Text and Hybrid S…
aayush3011 Dec 15, 2024
690aa02
docs[experimental]: Make docs clearer and add min_chunk_size (#26398)
tibor-reiss Dec 15, 2024
8ec1c72
text-splitters: test without socket (#28732)
efriis Dec 15, 2024
4f6ccb7
text-splitters: extended-tests without socket (#28736)
efriis Dec 16, 2024
29305cd
community: O365Toolkit - send_event - fixed timezone error (#25876)
SirNotReallySmokeAlot Dec 16, 2024
fb44e74
community: fix AzureSearch Oauth with azure_ad_access_token (#26995)
clairebehue Dec 16, 2024
f369267
Merge branch 'master' into feature/azure_face
efriis Dec 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.github/ @efriis @baskaryan @ccurme
/libs/packages.yml @efriis
2 changes: 1 addition & 1 deletion .github/DISCUSSION_TEMPLATE/q-a.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ body:
if there's another way to solve your problem:
[LangChain documentation with the integrated search](https://python.langchain.com/docs/get_started/introduction),
[API Reference](https://api.python.langchain.com/en/stable/),
[API Reference](https://python.langchain.com/api_reference/),
[GitHub search](https://github.com/langchain-ai/langchain),
[LangChain Github Discussions](https://github.com/langchain-ai/langchain/discussions),
[LangChain Github Issues](https://github.com/langchain-ai/langchain/issues?q=is%3Aissue),
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ body:
if there's another way to solve your problem:
[LangChain documentation with the integrated search](https://python.langchain.com/docs/get_started/introduction),
[API Reference](https://api.python.langchain.com/en/stable/),
[API Reference](https://python.langchain.com/api_reference/),
[GitHub search](https://github.com/langchain-ai/langchain),
[LangChain Github Discussions](https://github.com/langchain-ai/langchain/discussions),
[LangChain Github Issues](https://github.com/langchain-ai/langchain/issues?q=is%3Aissue),
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ body:
place to ask your question:
[LangChain documentation with the integrated search](https://python.langchain.com/docs/get_started/introduction),
[API Reference](https://api.python.langchain.com/en/stable/),
[API Reference](https://python.langchain.com/api_reference/),
[GitHub search](https://github.com/langchain-ai/langchain),
[LangChain Github Discussions](https://github.com/langchain-ai/langchain/discussions),
[LangChain Github Issues](https://github.com/langchain-ai/langchain/issues?q=is%3Aissue),
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Thank you for contributing to LangChain!

- [ ] **PR title**: "package: description"
- Where "package" is whichever of langchain, community, core, etc. is being modified. Use "docs: ..." for purely docs changes, "templates: ..." for template changes, "infra: ..." for CI changes.
- Where "package" is whichever of langchain, community, core, etc. is being modified. Use "docs: ..." for purely docs changes, "infra: ..." for CI changes.
- Example: "community: add foobar LLM"


Expand Down
35 changes: 26 additions & 9 deletions .github/scripts/check_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"huggingface",
]

PY_312_MAX_PACKAGES = [
"libs/partners/huggingface", # https://github.com/pytorch/pytorch/issues/130249
]


def all_package_dirs() -> Set[str]:
return {
Expand Down Expand Up @@ -110,23 +114,30 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
return _get_pydantic_test_configs(dir_)

if dir_ == "libs/core":
py_versions = ["3.9", "3.10", "3.11", "3.12"]
py_versions = ["3.9", "3.10", "3.11", "3.12", "3.13"]
# custom logic for specific directories
elif dir_ == "libs/partners/milvus":
# milvus poetry doesn't allow 3.12 because they
# declare deps in funny way
py_versions = ["3.9", "3.11"]

elif dir_ in ["libs/community", "libs/langchain"] and job == "extended-tests":
# community extended test resolution in 3.12 is slow
# even in uv
py_versions = ["3.9", "3.11"]
elif dir_ in PY_312_MAX_PACKAGES:
py_versions = ["3.9", "3.12"]

elif dir_ == "libs/langchain" and job == "extended-tests":
py_versions = ["3.9", "3.13"]

elif dir_ == "libs/community" and job == "extended-tests":
py_versions = ["3.9", "3.12"]

elif dir_ == "libs/community" and job == "compile-integration-tests":
# community integration deps are slow in 3.12
py_versions = ["3.9", "3.11"]
else:
elif dir_ == ".":
# unable to install with 3.13 because tokenizers doesn't support 3.13 yet
py_versions = ["3.9", "3.12"]
else:
py_versions = ["3.9", "3.13"]

return [{"working-directory": dir_, "python-version": py_v} for py_v in py_versions]

Expand Down Expand Up @@ -261,15 +272,19 @@ def _get_configs_for_multi_dirs(
# TODO: update to include all packages that rely on standard-tests (all partner packages)
# note: won't run on external repo partners
dirs_to_run["lint"].add("libs/standard-tests")
dirs_to_run["test"].add("libs/standard-tests")
dirs_to_run["lint"].add("libs/cli")
dirs_to_run["test"].add("libs/cli")
dirs_to_run["test"].add("libs/partners/mistralai")
dirs_to_run["test"].add("libs/partners/openai")
dirs_to_run["test"].add("libs/partners/anthropic")
dirs_to_run["test"].add("libs/partners/fireworks")
dirs_to_run["test"].add("libs/partners/groq")

elif file.startswith("libs/cli"):
# todo: add cli makefile
pass
dirs_to_run["lint"].add("libs/cli")
dirs_to_run["test"].add("libs/cli")

elif file.startswith("libs/partners"):
partner_dir = file.split("/")[2]
if os.path.isdir(f"libs/partners/{partner_dir}") and [
Expand All @@ -279,12 +294,14 @@ def _get_configs_for_multi_dirs(
] != ["README.md"]:
dirs_to_run["test"].add(f"libs/partners/{partner_dir}")
# Skip if the directory was deleted or is just a tombstone readme
elif file == "libs/packages.yml":
continue
elif file.startswith("libs/"):
raise ValueError(
f"Unknown lib: {file}. check_diff.py likely needs "
"an update for this new library!"
)
elif any(file.startswith(p) for p in ["docs/", "templates/", "cookbook/"]):
elif any(file.startswith(p) for p in ["docs/", "cookbook/"]):
if file.startswith("docs/"):
docs_edited = True
dirs_to_run["lint"].add(".")
Expand Down
96 changes: 74 additions & 22 deletions .github/scripts/get_min_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,23 @@
# for python 3.10 and below, which doesnt have stdlib tomllib
import tomli as tomllib

from packaging.version import parse as parse_version
from packaging.specifiers import SpecifierSet
from packaging.version import Version


import requests
from packaging.version import parse
from typing import List

import re


MIN_VERSION_LIBS = [
"langchain-core",
"langchain-community",
"langchain",
"langchain-text-splitters",
"numpy",
"SQLAlchemy",
]

Expand All @@ -31,29 +37,61 @@
]


def get_min_version(version: str) -> str:
# base regex for x.x.x with cases for rc/post/etc
# valid strings: https://peps.python.org/pep-0440/#public-version-identifiers
vstring = r"\d+(?:\.\d+){0,2}(?:(?:a|b|rc|\.post|\.dev)\d+)?"
# case ^x.x.x
_match = re.match(f"^\\^({vstring})$", version)
if _match:
return _match.group(1)
def get_pypi_versions(package_name: str) -> List[str]:
"""
Fetch all available versions for a package from PyPI.

Args:
package_name (str): Name of the package

Returns:
List[str]: List of all available versions

# case >=x.x.x,<y.y.y
_match = re.match(f"^>=({vstring}),<({vstring})$", version)
if _match:
_min = _match.group(1)
_max = _match.group(2)
assert parse_version(_min) < parse_version(_max)
return _min
Raises:
requests.exceptions.RequestException: If PyPI API request fails
KeyError: If package not found or response format unexpected
"""
pypi_url = f"https://pypi.org/pypi/{package_name}/json"
response = requests.get(pypi_url)
response.raise_for_status()
return list(response.json()["releases"].keys())

# case x.x.x
_match = re.match(f"^({vstring})$", version)
if _match:
return _match.group(1)

raise ValueError(f"Unrecognized version format: {version}")
def get_minimum_version(package_name: str, spec_string: str) -> Optional[str]:
"""
Find the minimum published version that satisfies the given constraints.

Args:
package_name (str): Name of the package
spec_string (str): Version specification string (e.g., ">=0.2.43,<0.4.0,!=0.3.0")

Returns:
Optional[str]: Minimum compatible version or None if no compatible version found
"""
# rewrite occurrences of ^0.0.z to 0.0.z (can be anywhere in constraint string)
spec_string = re.sub(r"\^0\.0\.(\d+)", r"0.0.\1", spec_string)
# rewrite occurrences of ^0.y.z to >=0.y.z,<0.y+1 (can be anywhere in constraint string)
for y in range(1, 10):
spec_string = re.sub(rf"\^0\.{y}\.(\d+)", rf">=0.{y}.\1,<0.{y+1}", spec_string)
# rewrite occurrences of ^x.y.z to >=x.y.z,<x+1.0.0 (can be anywhere in constraint string)
for x in range(1, 10):
spec_string = re.sub(
rf"\^{x}\.(\d+)\.(\d+)", rf">={x}.\1.\2,<{x+1}", spec_string
)

spec_set = SpecifierSet(spec_string)
all_versions = get_pypi_versions(package_name)

valid_versions = []
for version_str in all_versions:
try:
version = parse(version_str)
if spec_set.contains(version):
valid_versions.append(version)
except ValueError:
continue

return str(min(valid_versions)) if valid_versions else None


def get_min_version_from_toml(
Expand Down Expand Up @@ -96,7 +134,7 @@ def get_min_version_from_toml(
][0]["version"]

# Use parse_version to get the minimum supported version from version_string
min_version = get_min_version(version_string)
min_version = get_minimum_version(lib, version_string)

# Store the minimum version in the min_versions dictionary
min_versions[lib] = min_version
Expand All @@ -112,6 +150,20 @@ def check_python_version(version_string, constraint_string):
:param constraint_string: A string representing the package's Python version constraints (e.g. ">=3.6, <4.0").
:return: True if the version matches the constraints, False otherwise.
"""

# rewrite occurrences of ^0.0.z to 0.0.z (can be anywhere in constraint string)
constraint_string = re.sub(r"\^0\.0\.(\d+)", r"0.0.\1", constraint_string)
# rewrite occurrences of ^0.y.z to >=0.y.z,<0.y+1.0 (can be anywhere in constraint string)
for y in range(1, 10):
constraint_string = re.sub(
rf"\^0\.{y}\.(\d+)", rf">=0.{y}.\1,<0.{y+1}.0", constraint_string
)
# rewrite occurrences of ^x.y.z to >=x.y.z,<x+1.0.0 (can be anywhere in constraint string)
for x in range(1, 10):
constraint_string = re.sub(
rf"\^{x}\.0\.(\d+)", rf">={x}.0.\1,<{x+1}.0.0", constraint_string
)

try:
version = Version(version_string)
constraints = SpecifierSet(constraint_string)
Expand Down
89 changes: 89 additions & 0 deletions .github/scripts/prep_api_docs_build.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
#!/usr/bin/env python
"""Script to sync libraries from various repositories into the main langchain repository."""

import os
import shutil
import yaml
from pathlib import Path
from typing import Dict, Any


def load_packages_yaml() -> Dict[str, Any]:
"""Load and parse the packages.yml file."""
with open("langchain/libs/packages.yml", "r") as f:
return yaml.safe_load(f)


def get_target_dir(package_name: str) -> Path:
"""Get the target directory for a given package."""
package_name_short = package_name.replace("langchain-", "")
base_path = Path("langchain/libs")
if package_name_short == "experimental":
return base_path / "experimental"
return base_path / "partners" / package_name_short


def clean_target_directories(packages: list) -> None:
"""Remove old directories that will be replaced."""
for package in packages:

target_dir = get_target_dir(package["name"])
if target_dir.exists():
print(f"Removing {target_dir}")
shutil.rmtree(target_dir)


def move_libraries(packages: list) -> None:
"""Move libraries from their source locations to the target directories."""
for package in packages:

repo_name = package["repo"].split("/")[1]
source_path = package["path"]
target_dir = get_target_dir(package["name"])

# Handle root path case
if source_path == ".":
source_dir = repo_name
else:
source_dir = f"{repo_name}/{source_path}"

print(f"Moving {source_dir} to {target_dir}")

# Ensure target directory exists
os.makedirs(os.path.dirname(target_dir), exist_ok=True)

try:
# Move the directory
shutil.move(source_dir, target_dir)
except Exception as e:
print(f"Error moving {source_dir} to {target_dir}: {e}")


def main():
"""Main function to orchestrate the library sync process."""
try:
# Load packages configuration
package_yaml = load_packages_yaml()
packages = [
p
for p in package_yaml["packages"]
if not p.get("disabled", False)
and p["repo"].startswith("langchain-ai/")
and p["repo"] != "langchain-ai/langchain"
]

# Clean target directories
clean_target_directories(packages)

# Move libraries to their new locations
move_libraries(packages)

print("Library sync completed successfully!")

except Exception as e:
print(f"Error during library sync: {e}")
raise


if __name__ == "__main__":
main()
3 changes: 2 additions & 1 deletion .github/workflows/_compile_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ on:
description: "Python version to use"

env:
POETRY_VERSION: "1.7.1"
POETRY_VERSION: "1.8.4"

jobs:
build:
defaults:
run:
working-directory: ${{ inputs.working-directory }}
runs-on: ubuntu-latest
timeout-minutes: 20
name: "poetry run pytest -m compile tests/integration_tests #${{ inputs.python-version }}"
steps:
- uses: actions/checkout@v4
Expand Down
Loading
Loading