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

Merge from main #3

Merged
merged 1,069 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1069 commits
Select commit Hold shift + click to select a range
baefbfb
community[mionr]: add Jina Reranker in retrievers module (#19406)
JoanFM Apr 25, 2024
82b5bdc
docs: Fix misplaced zep cloud example links (#20867)
paul-paliychuk Apr 25, 2024
eca3640
upstage: release 0.1.2 (#20898)
efriis Apr 25, 2024
a6b8ff2
docs: Use voyage-law-2 in the examples (#20784)
fzowl Apr 25, 2024
37cbbc0
docs: Fix broken link in agents.ipynb (#20872)
samanhappy Apr 25, 2024
748a6ae
community[patch]: add HTTP response headers Content-Type to metadata …
coolbeevip Apr 25, 2024
520972f
community[patch]: Support passing graph object to Neo4j integrations …
tomasonjo Apr 25, 2024
5289625
docs: hide model import in multiple_tools.ipynb (#20883)
merdan-9 Apr 25, 2024
b8db732
core, community: deprecate tool.__call__ (#20900)
ccurme Apr 25, 2024
6986e44
docs: update chat model feature table (#20899)
ccurme Apr 25, 2024
fdabd3c
mistral, openai: support custom tokenizers in chat models (#20901)
ccurme Apr 25, 2024
05ae8ca
community[patch]: deprecate persist method in Chroma (#20855)
AndresAlgaba Apr 25, 2024
f386f71
community: fix tqdm import (#20263)
davidefantiniIntel Apr 25, 2024
1202017
community[minor]: Add relyt vector database (#20316)
klaus-xiong Apr 25, 2024
a5028b6
cli[minor]: Add __version__ (#20903)
eyurtsev Apr 25, 2024
dc921f0
community[patch]: Add semantic info to metadata, classified by pebblo…
rahul-trip Apr 25, 2024
fd1061e
community[patch]: add more data types support to ipex-llm llm integra…
shane-huang Apr 25, 2024
63a07f5
experimental[patch]: remove \n from AutoGPT feedback_tool exit check …
mjschock Apr 25, 2024
898362d
core[patch]: improve comma separated list output parser to handle non…
anish749 Apr 25, 2024
5e60d65
experimental[patch]: return from HuggingGPT task executor task.run() …
mjschock Apr 25, 2024
b54b19b
community[minor]: Implemented Kinetica Document Loader and added note…
am-kinetica Apr 25, 2024
5f1d166
community[patch]: Add support for pebblo server and client version (#…
dristysrivastava Apr 25, 2024
28df475
community[patch]: Add initial tests for AzureSearch vector store (#17…
mattgotteiner Apr 25, 2024
891ae37
langchain: support PineconeVectorStore in self query retriever (#20905)
ccurme Apr 25, 2024
4c437eb
Use lstv2 (#20747)
hinthornw Apr 25, 2024
7d8d022
remove placeholder error message (#20340)
ccurme Apr 26, 2024
9281841
community[patch]: fix integrated test case test_recursive_url_loader.…
coolbeevip Apr 26, 2024
d95e9fb
docs: add tool calling example in Tongyi chat model integration. (#20…
pcliupc Apr 26, 2024
6598757
cli[minor]: Add first version of migrate (#20902)
eyurtsev Apr 26, 2024
fe1304a
openai: add unit test (#20931)
ccurme Apr 26, 2024
5653f36
cli[minor]: Add script to generate migrations for partner packages (#…
eyurtsev Apr 26, 2024
12c906f
cli[minor]: Improve partner migrations (#20938)
eyurtsev Apr 26, 2024
465fbaa
openai: release 0.1.4 (#20939)
ccurme Apr 26, 2024
84b8e67
mistral: release 0.1.4 (#20940)
ccurme Apr 26, 2024
e1c2e2f
upstage: Upstage Groundedness Check parameter update (#20914)
chosh0615 Apr 26, 2024
38eccab
upstage: release 0.1.3 (#20941)
efriis Apr 26, 2024
bf16cef
langchain: deprecate create_structured_output_runnable (#20933)
ccurme Apr 26, 2024
d4aec8f
docs: adding langchain_google_community to the docs (#20665)
lkuligin Apr 26, 2024
078c5d9
infra: nonmaster release checkbox (#20945)
efriis Apr 26, 2024
2fa0ff1
cli[minor]: update code to generate migrations from langchain to comm…
eyurtsev Apr 26, 2024
989e4a9
(infra) pass input to test-release (#20947)
ccurme Apr 26, 2024
8ed150b
cli[minor]: Fix bug to account for name changes (#20948)
eyurtsev Apr 26, 2024
d4befd0
core: fix batch ordering test (#20952)
efriis Apr 26, 2024
893a924
core[minor], community[patch], langchain[patch]: move BaseChatLoader …
lkuligin Apr 26, 2024
8c085fc
community[patch]: Added a function `from_existing_collection` in `Qdr…
spike-spiegel-21 Apr 26, 2024
61f14f0
docs: `ElasticsearchCache` in cache integrations documentation (#20790)
giacbrd Apr 26, 2024
8bbdb4f
community[patch]: Add OpenSearch as semantic cache (#20254)
naveentatikonda Apr 27, 2024
790ea75
community[minor]: add exllamav2 library for GPTQ & EXL2 models (#17817)
AmineDjeghri Apr 27, 2024
955cf18
community[patch]: Ingest source, owner and full_path if present in Do…
rahul-trip Apr 27, 2024
40b2e29
community[minor]: Sambanova llm integration (#20955)
jhpiedrahitao Apr 27, 2024
e57cf73
docs: Added MindsDB provider (#20322)
chandrevdw31 Apr 27, 2024
f931a9c
community[patch]: Pass kwargs to SPARQLStore from RdfGraph (#20385)
guizsantos Apr 27, 2024
e818c75
infra: test directory loader multithreaded (#20281)
chip-davis Apr 27, 2024
45092a3
docs: Fix langgraph link (#20244)
pamelafox Apr 27, 2024
0e917e3
docs: Add langchainhub to pip install (#20185)
chi-yan Apr 27, 2024
2aca7fc
core[patch]: Enhance link extraction with query parameters (#20259)
yhna940 Apr 27, 2024
9fa9f05
Catch System Error in ast parse (#20961)
hinthornw Apr 27, 2024
9ec7151
fireworks: fix integration tests (#20973)
ccurme Apr 27, 2024
8097bec
Added LogEntry, Any, Dict, List, Optional, TypedDict imports (#20970)
cnemri Apr 27, 2024
6342217
docs: Moves "Using PyMuPDF" to higher up the page. (#20832)
jamie-lemon Apr 27, 2024
804390b
community: Spider integration (#20937)
WilliamEspegren Apr 27, 2024
17bbb7d
docs: updated tutorial for Gemini versions, included safety attribute…
Adi8885 Apr 29, 2024
07ce39b
docs: updated tutorials for Image generation and Vector Search (#21000)
Adi8885 Apr 29, 2024
5e0b6b3
docs: update langserve link in LCEL docs (#20992)
vbarda Apr 29, 2024
d781560
cli[minor]: Add ipynb support, add text_splitters (#20963)
eyurtsev Apr 29, 2024
2ddac9a
experimental[minor]: Add bind_tools and with_structured_output functi…
lalanikarim Apr 29, 2024
dc7c06b
community[minor]: import fix (#20995)
leo-gan Apr 29, 2024
d363324
docs: Add neo4j relationship vector index docs (#20990)
tomasonjo Apr 29, 2024
1fad39b
community[minor]: Add LarkSuite wiki document loader. (#21016)
pcliupc Apr 29, 2024
8b59bdd
anthropic[patch]: add tests for secret_str for api key (#20986)
sepiatone Apr 29, 2024
dc70c23
docs: switched GCSLoaders docs to langchain-google-community (#20985)
lkuligin Apr 29, 2024
67428c4
community[patch]: Neo4j enhanced schema (#20983)
tomasonjo Apr 29, 2024
4f4ee8e
cli[patch]: Update migrations file manually (#21021)
eyurtsev Apr 29, 2024
a64a194
docs: Document update for load_extended_matadata in GoogleDriveLoader…
rahul-trip Apr 29, 2024
4822beb
Ignore self/cls from required args of class functions in convert_to_o…
hmnfalahi Apr 29, 2024
b3e74f2
community[minor]: add mojeek search util (#20922)
igorbrai Apr 29, 2024
3331865
community[minor]: add Cassandra Database Toolkit (#20246)
pmcfadin Apr 29, 2024
b3efa38
community[patch]: GigaChat model selection fix (#20988)
BlackSamorez Apr 29, 2024
ce89b34
community[patch]: support hybrid search with threshold in Azure AI Se…
mspronesti Apr 29, 2024
aab78a3
cli[patch]: Ignore imports that change the name of the class (#21026)
eyurtsev Apr 29, 2024
29493bb
cli[minor]: improve confirmation message with more details (#21027)
eyurtsev Apr 29, 2024
3e24195
community[minor]: add coze chat model (#20770)
chyroc Apr 29, 2024
854ae3e
mistralai: release 0.1.5, allow client passing in (#21034)
efriis Apr 29, 2024
82d4afc
langchain[minor]: Code to handle dynamic imports (#20893)
eyurtsev Apr 29, 2024
f479a33
langchain[patch]: replace deprecated imports with imports from langch…
eyurtsev Apr 29, 2024
1a2ff56
core[patch[: docstring update (#21036)
leo-gan Apr 29, 2024
cc6191c
community[minor]: Add support for Upstash Vector (#20824)
CahidArda Apr 29, 2024
90f1902
community[patch]: Add maritalk streaming (sync and async) (#19203)
rodrigo-f-nogueira Apr 29, 2024
85094cb
docs: community docstring updates (#21040)
leo-gan Apr 29, 2024
08d08d7
docs: langchain docstrings updates (#21032)
leo-gan Apr 29, 2024
c172611
community[patch]: Add classifier_url argument in PebbloSafeLoader and…
rahul-trip Apr 29, 2024
a7a4630
community[patch]: Modify the text field type and add new exception ha…
19374242 Apr 30, 2024
28b0b0d
community[patch]: Fix for github issue #17690 (#20117)
davidkgp Apr 30, 2024
ea43c66
community[patch]: Fix Bedrock Mistral stop sequence request key (#20115)
jonathancaevans Apr 30, 2024
d7e1275
community[patch]: allows using `text-generation-inference` /generate …
AIexanderDicke Apr 30, 2024
fa4124b
community[minor]: add mintbase loader to langchain (#20089)
kurodenjiro Apr 30, 2024
db14d43
[Core] Feat Pretty Print Tool calls (#20997)
hinthornw Apr 30, 2024
d6e9bd3
docs: Bump cassio min version in docs (#21081)
cbornet Apr 30, 2024
5c77f45
community[minor]: Add async methods to CassandraCache and CassandraSe…
cbornet Apr 30, 2024
845d8e0
langchain[patch]: Update handling of deprecation warnings (#21083)
eyurtsev Apr 30, 2024
5c63ac3
[Patch] Dedent docstring (#20959)
hinthornw Apr 30, 2024
c8f18a2
langchain[patch]: Update import handling in `adapters` (#21079)
eyurtsev Apr 30, 2024
efe27ef
infra: tag non-langchain releases (#20805)
efriis Apr 30, 2024
748f2ba
core: release 0.1.47 (#21094)
efriis Apr 30, 2024
8f38b7a
multiple: Remove unnecessary Ruff suppression comments (#21050)
charliermarsh Apr 30, 2024
3c064a7
core[minor],langchain[patch],community[patch]: Move storage interface…
eyurtsev Apr 30, 2024
b9c53e9
community: release 0.0.35 (#21104)
efriis Apr 30, 2024
b0b1a67
community[patch]: Skip unexpected 404 HTTP Error in Arxiv download (#…
jkpawlowski96 Apr 30, 2024
f1c3687
community[patch]: Using the right encoding to parse the web page in R…
fubuki8087 Apr 30, 2024
3e74936
community[minor]: bump version of LayerupSecurity, add support for un…
JamsheedMistri Apr 30, 2024
fd94aa8
partner[patch]: Upgrade to Ruff v0.4.2 (#21108)
charliermarsh Apr 30, 2024
dbdfa3d
infra: fix minimum version install to force pypi install (#21112)
efriis Apr 30, 2024
2407c35
core: release 0.1.48 (#21113)
efriis Apr 30, 2024
8a62fb0
community: release 0.0.36 (#21118)
efriis Apr 30, 2024
aec13a6
langchain[patch]: Migrate callbacks module to use optional imports fo…
eyurtsev Apr 30, 2024
9b6d04a
langchain[patch]: Migrate document transformers (#21098)
eyurtsev Apr 30, 2024
8658d52
langchain[patch]: Upgrade prompts to optional imports (#21078)
eyurtsev Apr 30, 2024
3853fe9
langchain[patch]: Migrate graphs to use optional community imports (#…
eyurtsev Apr 30, 2024
9e788f0
langchain[patch]: Migrate output parsers to support optional communit…
eyurtsev Apr 30, 2024
e4f51f5
langchain[patch]: Migrate tools to treat community imports as optiona…
eyurtsev Apr 30, 2024
bf95414
langchain[minor]: enhance unit test to test imports recursively (#21122)
eyurtsev Apr 30, 2024
5f8a307
infra: same tagging for langchain (#21126)
efriis Apr 30, 2024
6c938da
langchain: release 0.1.17 (#21125)
efriis Apr 30, 2024
14422a4
langchain: fix core dep (#21128)
efriis Apr 30, 2024
6d3e9ea
docs: format (#21132)
baskaryan Apr 30, 2024
3441a11
docs: minor changes in sambanova community integration docs (#21129)
jhpiedrahitao Apr 30, 2024
0f7f448
community[patch]: add delete() method to AzureSearch vector store (#2…
MacanPN Apr 30, 2024
bef50de
openai[patch]: fix special token default behavior (#21131)
baskaryan May 1, 2024
8d2909e
upstage[minor]: Update few codes and add upstage loader in pdf sectio…
junkeon0412 May 1, 2024
c9e96bb
community[patch]: Fix neo4j enhanced schema bugs (#21072)
tomasonjo May 1, 2024
a36935b
docs: updated docs on langchain_google_community (#21064)
lkuligin May 1, 2024
5a89094
docs: remove repetitive words (#21058)
tianzedavid May 1, 2024
67e6744
docs: fix some notebook formatting (#21136)
efriis May 1, 2024
7860e4c
experimental[patch]: Add support for non-function calling LLMs in llm…
tomasonjo May 1, 2024
1fdf63f
community[patch]: update package name to bagelML (#19948)
ihpolash May 1, 2024
3b473d1
experimental: clean python repl input(experimental:Added code for Pyt…
SheldonLiu0412 May 1, 2024
45ddf4d
community[patch]: Update comments for lazy_load method (#21063)
Noah0115 May 1, 2024
12b1caf
openai[patch]: add tests for secret_str for keys (#20982)
sepiatone May 1, 2024
8a01760
infra: Sync devcontainer.json and compose file mount location (#20461)
stuartleeks May 1, 2024
86fe484
docs: Docs (sample notebook) for Vertex DIY RAG Ranking API (#21054)
Abhishekbhagwat May 1, 2024
ab55f69
[Core] Tracing: update parent run_tree's child_runs (#21049)
hinthornw May 1, 2024
2fcab9a
langchain[patch]: Upgrade storage to treat langchain community as opt…
eyurtsev May 1, 2024
2b10c4d
ci: Use `ruff check` in Makefile (#21138)
charliermarsh May 1, 2024
d640605
langchain[patch]: Migrate chat loaders to optional community imports …
eyurtsev May 1, 2024
86ff8a3
langchain[patch]: Update docstore module to use optional imports from…
eyurtsev May 1, 2024
aa0bc74
langchain[patch]: Migrate agents module into optional imports for com…
eyurtsev May 1, 2024
1ce1a10
langchain[patch],community[minor]: Move graph index creator (#20795)
eyurtsev May 1, 2024
2a6f78a
community[minor]: Rememberizer retriever (#20052)
ea-open-source May 1, 2024
4d1c21d
community[patch]: Fix alternative name in deprecation notice for sql_…
hwchase17 May 1, 2024
bd38073
👥 Update LangChain people data (#21143)
jacoblee93 May 1, 2024
0e5bf16
langchain[patch]: Migrate document loaders to use optional langchain …
eyurtsev May 1, 2024
8b4b75e
docs: standardize vertexai params (#20167)
baskaryan May 1, 2024
b879184
langchain[patch]: embedddings distance move import of openai embeddin…
eyurtsev May 1, 2024
7a39fe6
langchain[patch]: Migrate utilities to handle langchain community as …
eyurtsev May 1, 2024
642975d
partners: AI21 Labs Jamba Support (#20815)
Josephasafg May 1, 2024
daab978
ai21: release 0.1.4 (#21151)
efriis May 1, 2024
7230e43
langchain[patch]: Migrate top level files to use optional langchain c…
eyurtsev May 1, 2024
2f709d9
langchain[patch]: Migrate vectorstores to use optional langchain comm…
eyurtsev May 1, 2024
59f10ab
langchain[patch]: Migrate embeddings to optional imports (#21099)
eyurtsev May 1, 2024
43110da
langchain[patch]: Update some agent tool kits to handle community imp…
eyurtsev May 1, 2024
bec3eee
langchain[patch]: Migrate retrievers to use optional langchain commun…
eyurtsev May 1, 2024
23c5d87
langchain[patch]: Migrate utils to use optional langchain_community (…
eyurtsev May 1, 2024
2914abd
langchain[patch]: Fix how the serializable test identifies serializab…
eyurtsev May 1, 2024
57e8e70
langchain[patch]: Migrate chat models to optional community imports (…
eyurtsev May 1, 2024
9932f49
langchain[patch]: Migrate llms to use optional community imports (#21…
eyurtsev May 1, 2024
44602bd
langchain[patch],community[minor]: Move load_tools to community (#21158)
eyurtsev May 1, 2024
0694538
ai21: fix core version (#21168)
efriis May 1, 2024
9e53fa7
Some more fixes to neo4j enhanced schema (#21139)
tomasonjo May 1, 2024
23fdd32
langchain[patch]: Migrate more code to use optional community in agen…
eyurtsev May 1, 2024
94a8387
langchain[patch]: Migrate more code in utils to use optional langchai…
eyurtsev May 1, 2024
6fa8626
openai[patch]: fix azure open lc serialization, release 0.1.5 (#21159)
baskaryan May 1, 2024
cd4c542
infra: cleanup docs build (#21134)
efriis May 2, 2024
c306364
langchain[patch]: Update more code to use langchain community as an o…
eyurtsev May 2, 2024
c9119b0
langchain[patch],community[minor]: Move some unit tests from langchai…
eyurtsev May 2, 2024
b5c3a04
langchain[patch]: chat histories to handle optional community depende…
eyurtsev May 2, 2024
3cd7fce
langchain[patch],community[minor]: Migrate memory implementations to …
eyurtsev May 2, 2024
bd5d2c2
langchain: import InMemoryChatMessageHistory from core (#21198)
ccurme May 2, 2024
df49404
langchain[patch]: Make more memory code handle community dependency a…
eyurtsev May 2, 2024
663747b
core[patch]: Fixes for convert_messages (#21207)
nfcampos May 2, 2024
d297d90
core[patch]: Release 0.1.49 (#21211)
baskaryan May 2, 2024
7d451d0
community[patch]: Update lancedb.py (#21192)
raghavdixit99 May 2, 2024
ee2c55c
docs: Added documentation on Anthropic models on vertex (#21070)
Adi8885 May 2, 2024
b00fd1d
infra: Undo gh cache removal (#21210)
baskaryan May 2, 2024
683fb45
community[patch]: Refactor CassandraDatabase wrapper (#21075)
cbornet May 2, 2024
1ebb5a7
partners(mistralai): Removing unused variable in completion request (…
maximeperrindev May 2, 2024
2d77e5e
(standard tests): add test for basic conversation sequence (#21213)
ccurme May 2, 2024
eb0a2fd
mistral: release 0.1.6 (#21214)
ccurme May 2, 2024
c1aa237
langchain: fix syntax error in code comment for create_tool_calling_a…
xindoo May 2, 2024
aa9faa8
docs: model table keywords, remove tool calling from llm (#21225)
efriis May 2, 2024
6ac6158
openai[patch]: support tool_choice="required" (#21216)
baskaryan May 2, 2024
47ce8d5
core: tracer: remove numeric execution order (#21220)
nfcampos May 2, 2024
c1eb95b
core: release 0.1.50 (#21230)
efriis May 2, 2024
67a5cc3
openai[patch]: Release 0.1.6 (#21236)
baskaryan May 3, 2024
70bde15
docs: add tool choice to tool calling (#21229)
baskaryan May 3, 2024
c3d169a
docs: Update Nvidia documentation (#21240)
dglogo May 3, 2024
64e17bd
docs: Fix comment within "handle long text" example (#21248)
andyjessen May 3, 2024
3a8d1d8
Hotfix RetrievalQA Docs: docs: Fix formatting (#21183)
TAAGECH9 May 3, 2024
2fbe82f
community[minor]: Relax constraints on CassandraChatMessageHistory co…
cbornet May 3, 2024
0989c48
langchain[minor]: Re-add deleted ainetwork tool (#21254)
eyurtsev May 3, 2024
66a1e3f
langchain[patch]: Fix flaky unit test (#21258)
eyurtsev May 3, 2024
ba4a309
langchain[patch]: Revert breaking change until 0.2 release (#21256)
eyurtsev May 3, 2024
487aff7
langchain[patch]: Revert 20794 until 0.2 release (#21257)
eyurtsev May 3, 2024
d6e34f9
langchain[patch]: Improve deprecation warnings (#21262)
eyurtsev May 3, 2024
6da3d92
(all): update removal in deprecation warnings from 0.2 to 0.3 (#21265)
ccurme May 3, 2024
23a05c3
langchain: `summarize` chain fix (#21266)
leo-gan May 3, 2024
335bd01
langchain[patch]: Update deprecation warning (#21268)
eyurtsev May 3, 2024
26a37dc
langchain[patch]: Remove jsonpatch from poetry file (#21272)
eyurtsev May 3, 2024
6e1e0c7
fix: core: draw_mermaid() would create subgroup for edges with same s…
nfcampos May 3, 2024
36c2ca3
mistralai: relax tokenizers dep (#21277)
efriis May 3, 2024
3ef8b24
core[patch]: `utils.guard_import` fix (#21133)
leo-gan May 3, 2024
9639457
community[patch]: `tools` imports (#21156)
leo-gan May 3, 2024
ee1adaa
langchain[patch]: Fix summary buffer memory with return message flag …
wickes1 May 3, 2024
c9e9470
langchain: fix deprecation decorators on extraction chains (#21276)
ccurme May 3, 2024
8021d2a
community[minor]: Oraclevs integration (#21123)
rohanaggarwal7997 May 4, 2024
ba9dc04
docs: Add doc for hybrid search (#21245)
cbornet May 4, 2024
d310f9c
docs:update code structure (#21302)
tanersekmen May 5, 2024
b868c78
partners[anthropic]: update unit test for key passed in from the envi…
sepiatone May 5, 2024
c038991
docs: Update pandas.ipynb (#21289)
jaglinux May 5, 2024
5b6d1a9
Add the extract types to diffbot graph transformer (#21315)
tomasonjo May 6, 2024
ee6c922
langchain[minor]: enhance `LocalFileStore` to offer `update_atime` pa…
chrispy-snps May 6, 2024
682d21c
ibm: Add support for ibm-watsonx-ai new major version (#21313)
MateuszOssGit May 6, 2024
144f282
docs: add example for loading data from LarkSuite wiki. (#21311)
pcliupc May 6, 2024
811e9ce
core: release 0.1.51 (#21328)
efriis May 6, 2024
6feddfa
community: langkit dependency (#21174)
leo-gan May 6, 2024
27e73eb
docs: update nvidia docs v2 (#21288)
dglogo May 6, 2024
484a009
community[minor]: Relax constraints on Cassandra VectorStore construc…
cbornet May 6, 2024
62559b2
docs: `chains` page format (#21259)
leo-gan May 6, 2024
fee91d4
baichuan[patch]:standardize chat init args (#21298)
partapparam May 6, 2024
7ecf999
community: Revert "community: langkit dependency" (#21333)
efriis May 6, 2024
8c13e8a
langchain: `qa_chain` fix (#21279)
leo-gan May 6, 2024
5c000f8
community: release 0.0.37 (#21332)
efriis May 6, 2024
9e4b24a
langchain: release 0.1.18 (#21338)
efriis May 6, 2024
a2fdabd
mark NemoEmbeddings as deprecated (#21239)
raspawar May 6, 2024
060987d
community[minor]: Add indexing via locality sensitive hashing to the …
markcusack May 6, 2024
bebf46c
community: added args_schema to YahooFinanceNewsTool (#21232)
pvl May 6, 2024
d9a61c0
fix: respect table_name argument when calling from_texts (#21252)
jaceksan May 6, 2024
df1c102
community: minor changes sambanova integration (#21231)
jhpiedrahitao May 6, 2024
e65652c
community: add SambaNova embeddings integration (#21227)
jhpiedrahitao May 6, 2024
93226b1
community: Updated Chroma version range to include 0.5.0 release (#21…
tazarov May 6, 2024
0345bcf
Fix failing test for serialization (#21344)
nfcampos May 6, 2024
a6cdf65
community: add Kendra DocumentRelevanceOverrideConfigurations request…
scaserini May 6, 2024
ac14f17
Add indexed properties to neo4j enhanced schema (#21335)
tomasonjo May 6, 2024
6f17158
fix: core: Include in json output also fields set outside the constru…
nfcampos May 6, 2024
95cc8e3
premai[patch]:Standardized model init args (#21308)
Narapady May 6, 2024
32c61b3
community[patch]: chat message history mypy fixes #17048 (#20114)
dontnet-wuenze May 6, 2024
0fb93cd
core: release 0.1.52 (#21350)
efriis May 6, 2024
a2d3130
Adds confirmation logs after creating a new project (#12618)
jacoblee93 May 6, 2024
d6ef5fe
together: add chat models, use openai base (#21337)
Nutlope May 7, 2024
bb81ae5
together: fix chat model and embedding classes (#21353)
efriis May 7, 2024
ad3fd44
experimental: Fix llm graph transformer bug (#21362)
tomasonjo May 7, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

// The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"workspaceFolder": "/workspaces/langchain",

// Prevent the container from shutting down
"overrideCommand": true
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
context: ..
volumes:
# Update this to wherever you want VS Code to mount the folder of your project
- ..:/workspaces:cached
- ..:/workspaces/langchain:cached
networks:
- langchain-network
# environment:
Expand Down
15 changes: 15 additions & 0 deletions .github/scripts/check_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"test": set(),
"extended-test": set(),
}
docs_edited = False

if len(files) == 300:
# max diff length is 300 files - there are likely files missing
Expand Down Expand Up @@ -47,6 +48,17 @@
found = True
if found:
dirs_to_run["extended-test"].add(dir_)
elif file.startswith("libs/standard-tests"):
# 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/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/ai21")
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
Expand All @@ -65,6 +77,8 @@
"an update for this new library!"
)
elif any(file.startswith(p) for p in ["docs/", "templates/", "cookbook/"]):
if file.startswith("docs/"):
docs_edited = True
dirs_to_run["lint"].add(".")

outputs = {
Expand All @@ -73,6 +87,7 @@
),
"dirs-to-test": list(dirs_to_run["test"] | dirs_to_run["extended-test"]),
"dirs-to-extended-test": list(dirs_to_run["extended-test"]),
"docs-edited": "true" if docs_edited else "",
}
for key, value in outputs.items():
json_output = json.dumps(value)
Expand Down
34 changes: 23 additions & 11 deletions .github/scripts/get_min_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,33 @@
from packaging.version import parse as parse_version
import re

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


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(r"^\^(\d+(?:\.\d+){0,2})$", version)
_match = re.match(f"^\\^({vstring})$", version)
if _match:
return _match.group(1)

# case >=x.x.x,<y.y.y
_match = re.match(r"^>=(\d+(?:\.\d+){0,2}),<(\d+(?:\.\d+){0,2})$", version)
_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

# case x.x.x
_match = re.match(r"^(\d+(?:\.\d+){0,2})$", version)
_match = re.match(f"^({vstring})$", version)
if _match:
return _match.group(1)

Expand All @@ -47,6 +55,9 @@ def get_min_version_from_toml(toml_path: str):
# Get the version string
version_string = dependencies[lib]

if isinstance(version_string, dict):
version_string = version_string["version"]

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

Expand All @@ -56,12 +67,13 @@ def get_min_version_from_toml(toml_path: str):
return min_versions


# Get the TOML file path from the command line argument
toml_file = sys.argv[1]
if __name__ == "__main__":
# Get the TOML file path from the command line argument
toml_file = sys.argv[1]

# Call the function to get the minimum versions
min_versions = get_min_version_from_toml(toml_file)
# Call the function to get the minimum versions
min_versions = get_min_version_from_toml(toml_file)

print(
" ".join([f"{lib}=={version}" for lib, version in min_versions.items()])
) # noqa: T201
print(
" ".join([f"{lib}=={version}" for lib, version in min_versions.items()])
) # noqa: T201
3 changes: 3 additions & 0 deletions .github/workflows/_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
NVIDIA_API_KEY: ${{ secrets.NVIDIA_API_KEY }}
GOOGLE_SEARCH_API_KEY: ${{ secrets.GOOGLE_SEARCH_API_KEY }}
GOOGLE_CSE_ID: ${{ secrets.GOOGLE_CSE_ID }}
Expand All @@ -76,6 +77,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for airbyte
MONGODB_ATLAS_URI: ${{ secrets.MONGODB_ATLAS_URI }}
VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
UPSTAGE_API_KEY: ${{ secrets.UPSTAGE_API_KEY }}
run: |
make integration_tests

Expand Down
60 changes: 33 additions & 27 deletions .github/workflows/_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,19 @@ on:
required: true
type: string
default: 'libs/langchain'
dangerous-nonmaster-release:
required: false
type: boolean
default: false
description: "Release from a non-master branch (danger!)"

env:
PYTHON_VERSION: "3.11"
POETRY_VERSION: "1.7.1"

jobs:
build:
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || inputs.dangerous-nonmaster-release
environment: Scheduled testing
runs-on: ubuntu-latest

Expand Down Expand Up @@ -75,6 +80,7 @@ jobs:
./.github/workflows/_test_release.yml
with:
working-directory: ${{ inputs.working-directory }}
dangerous-nonmaster-release: ${{ inputs.dangerous-nonmaster-release }}
secrets: inherit

pre-release-checks:
Expand Down Expand Up @@ -112,7 +118,7 @@ jobs:
PKG_NAME: ${{ needs.build.outputs.pkg-name }}
VERSION: ${{ needs.build.outputs.version }}
# Here we use:
# - The default regular PyPI index as the *primary* index, meaning
# - The default regular PyPI index as the *primary* index, meaning
# that it takes priority (https://pypi.org/simple)
# - The test PyPI index as an extra index, so that any dependencies that
# are not found on test PyPI can be resolved and installed anyway.
Expand Down Expand Up @@ -157,6 +163,24 @@ jobs:
run: make tests
working-directory: ${{ inputs.working-directory }}

- name: Get minimum versions
working-directory: ${{ inputs.working-directory }}
id: min-version
run: |
poetry run pip install packaging
min_versions="$(poetry run python $GITHUB_WORKSPACE/.github/scripts/get_min_versions.py pyproject.toml)"
echo "min-versions=$min_versions" >> "$GITHUB_OUTPUT"
echo "min-versions=$min_versions"

- name: Run unit tests with minimum dependency versions
if: ${{ steps.min-version.outputs.min-versions != '' }}
env:
MIN_VERSIONS: ${{ steps.min-version.outputs.min-versions }}
run: |
poetry run pip install --force-reinstall $MIN_VERSIONS
make tests
working-directory: ${{ inputs.working-directory }}

- name: 'Authenticate to Google Cloud'
id: 'auth'
uses: google-github-actions/auth@v2
Expand Down Expand Up @@ -197,27 +221,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for airbyte
MONGODB_ATLAS_URI: ${{ secrets.MONGODB_ATLAS_URI }}
VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}
UPSTAGE_API_KEY: ${{ secrets.UPSTAGE_API_KEY }}
run: make integration_tests
working-directory: ${{ inputs.working-directory }}

- name: Get minimum versions
working-directory: ${{ inputs.working-directory }}
id: min-version
run: |
poetry run pip install packaging
min_versions="$(poetry run python $GITHUB_WORKSPACE/.github/scripts/get_min_versions.py pyproject.toml)"
echo "min-versions=$min_versions" >> "$GITHUB_OUTPUT"
echo "min-versions=$min_versions"

- name: Run unit tests with minimum dependency versions
if: ${{ steps.min-version.outputs.min-versions != '' }}
env:
MIN_VERSIONS: ${{ steps.min-version.outputs.min-versions }}
run: |
poetry run pip install $MIN_VERSIONS
make tests
working-directory: ${{ inputs.working-directory }}

publish:
needs:
- build
Expand Down Expand Up @@ -290,14 +297,13 @@ jobs:
with:
name: dist
path: ${{ inputs.working-directory }}/dist/

- name: Create Release
- name: Create Tag
uses: ncipollo/release-action@v1
if: ${{ inputs.working-directory == 'libs/langchain' }}
with:
artifacts: "dist/*"
token: ${{ secrets.GITHUB_TOKEN }}
draft: false
generateReleaseNotes: true
tag: v${{ needs.build.outputs.version }}
commit: master
generateReleaseNotes: false
tag: ${{needs.build.outputs.pkg-name}}==${{ needs.build.outputs.version }}
body: "# Release ${{needs.build.outputs.pkg-name}}==${{ needs.build.outputs.version }}\n\nPackage-specific release note generation coming soon."
commit: ${{ github.sha }}
50 changes: 50 additions & 0 deletions .github/workflows/_test_doc_imports.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: test_doc_imports

on:
workflow_call:

env:
POETRY_VERSION: "1.7.1"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
name: "check doc imports #${{ matrix.python-version }}"
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}
uses: "./.github/actions/poetry_setup"
with:
python-version: ${{ matrix.python-version }}
poetry-version: ${{ env.POETRY_VERSION }}
cache-key: core

- name: Install dependencies
shell: bash
run: poetry install --with test

- name: Install langchain editable
run: |
poetry run pip install -e libs/core libs/langchain libs/community libs/experimental

- name: Check doc imports
shell: bash
run: |
poetry run python docs/scripts/check_imports.py

- name: Ensure the test did not create any additional files
shell: bash
run: |
set -eu

STATUS="$(git status)"
echo "$STATUS"

# grep will exit non-zero if the target message isn't found,
# and `set -e` above will cause the step to fail.
echo "$STATUS" | grep 'nothing to commit, working tree clean'
7 changes: 6 additions & 1 deletion .github/workflows/_test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@ on:
required: true
type: string
description: "From which folder this pipeline executes"
dangerous-nonmaster-release:
required: false
type: boolean
default: false
description: "Release from a non-master branch (danger!)"

env:
POETRY_VERSION: "1.7.1"
PYTHON_VERSION: "3.10"

jobs:
build:
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || inputs.dangerous-nonmaster-release
runs-on: ubuntu-latest

outputs:
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/check_diffs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
dirs-to-lint: ${{ steps.set-matrix.outputs.dirs-to-lint }}
dirs-to-test: ${{ steps.set-matrix.outputs.dirs-to-test }}
dirs-to-extended-test: ${{ steps.set-matrix.outputs.dirs-to-extended-test }}
docs-edited: ${{ steps.set-matrix.outputs.docs-edited }}
lint:
name: cd ${{ matrix.working-directory }}
needs: [ build ]
Expand All @@ -60,6 +61,12 @@ jobs:
working-directory: ${{ matrix.working-directory }}
secrets: inherit

test-doc-imports:
needs: [ build ]
if: ${{ needs.build.outputs.dirs-to-test != '[]' || needs.build.outputs.docs-edited }}
uses: ./.github/workflows/_test_doc_imports.yml
secrets: inherit

compile-integration-tests:
name: cd ${{ matrix.working-directory }}
needs: [ build ]
Expand Down Expand Up @@ -116,8 +123,7 @@ jobs:
shell: bash
run: |
echo "Running extended tests, installing dependencies with poetry..."
poetry install --with test
poetry run pip install -r extended_requirements.txt
poetry install -E extended_testing --with test

- name: Run extended tests
run: make extended_tests
Expand All @@ -135,7 +141,7 @@ jobs:
echo "$STATUS" | grep 'nothing to commit, working tree clean'
ci_success:
name: "CI Success"
needs: [build, lint, test, compile-integration-tests, dependencies, extended-tests]
needs: [build, lint, test, compile-integration-tests, dependencies, extended-tests, test-doc-imports]
if: |
always()
runs-on: ubuntu-latest
Expand Down
Loading
Loading