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

switch to use the falkrdb-py client #8

Open
wants to merge 814 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
814 commits
Select commit Hold shift + click to select a range
0a80e43
mistralai: update tool calling (#19451)
ccurme Mar 22, 2024
b1724bd
community[patch]: invoke callback prior to yielding token (llama.cpp)…
sepiatone Mar 22, 2024
dda251a
mistralai[patch]: release 0.1.0rc1 (#19453)
efriis Mar 22, 2024
fefdb21
mistralai[patch]: fix core version (#19454)
efriis Mar 22, 2024
4bf31b8
docs: delete mistralai embeddings doc from incorrect location (#19432)
sepiatone Mar 22, 2024
38f16d8
openai[patch]: [URGENT REGRESSION FIX] Don't fail if tool message alr…
ldorigo Mar 22, 2024
ef0dfaf
openai[patch]: release 0.1.1 (#19458)
efriis Mar 22, 2024
749f56b
openai[patch]: integration test structured output (#19459)
efriis Mar 22, 2024
32ea2ec
openai[patch]: tool use integration test (#19460)
baskaryan Mar 22, 2024
52272fd
docs: use invoke instead of run (#19457)
raybellwaves Mar 22, 2024
2144535
docs: point to titantic dataset on web (#19455)
raybellwaves Mar 22, 2024
a196ade
cli[patch]: Modified regular expression (#19449)
igeni Mar 22, 2024
ccded22
openai[patch]: add test coverage to output (#19462)
efriis Mar 22, 2024
3cb8f55
community[patch]: RecursiveUrlLoader: add base_url option (#19421)
germankrause Mar 22, 2024
fe2534f
community[patch]: docarray requires hnsw installation (#19416)
lucifertrj Mar 22, 2024
359e75a
langchain[patch]: Add async methods to VectorStoreRetrieverMemory (#1…
cbornet Mar 22, 2024
bef864d
infra: makefile `api_docs_clean` fix (#19405)
leo-gan Mar 22, 2024
28f62f1
docs: moving FireworksEmbeddings documentation to docs folder (#19398)
sepiatone Mar 22, 2024
cb71e37
community[patch]: invoke callback prior to yielding token (fireworks)…
sepiatone Mar 22, 2024
6f09a88
community[patch]: invoke callback prior to yielding token (openai) (#…
sepiatone Mar 22, 2024
a044e6b
docs: Add `partition` parameter to DashVector (#19385)
wangcailin Mar 23, 2024
c3731e1
community[patch]: fix bugs in baiduvectordb as vectorstore (#19380)
fengjial Mar 23, 2024
20fccd5
docs: update import paths and move to lcel for llama.cpp examples (#1…
sepiatone Mar 23, 2024
2f557d8
docs: update module imports for fireworks documentation (#19377)
sepiatone Mar 23, 2024
b483df2
docs: fix error bilibili url (#19375)
Undertone0809 Mar 23, 2024
d41e543
docs: adding voyageai to the list of partner packages (#19376)
sepiatone Mar 23, 2024
d9887b6
mistralai[patch]: streaming tool calls (#19469)
efriis Mar 23, 2024
9813789
docs: Remove non-rendering images & output spamming from doc ntbks (#…
rlancemartin Mar 25, 2024
6f42678
langchain[patch]: Use async memory in Chain when needed (#19429)
cbornet Mar 25, 2024
e950edf
docs: docstring Runnable `pipe` and `pick` methods (docs only) (#19395)
liugddx Mar 25, 2024
18de5e1
community[minor]: S3FileLoader to use expose mode and post_processors…
preak95 Mar 25, 2024
93aa2cd
docs: Add OpenVINO llms docs (#19489)
openvino-dev-samples Mar 25, 2024
772a842
community[minor]: Add `DuckDB` as a vectorstore (#18916)
Hugoberry Mar 25, 2024
e2a95c6
infra: Update package version to apply CVE-related patch (#19490)
JacobLezberg Mar 25, 2024
8ab9095
community[minor]: Dappier chat model integration (#19370)
IgorMunizS Mar 25, 2024
51e3f8e
docs: Update docs for `HuggingFacePipeline` (#19306)
nikhilkmr300 Mar 25, 2024
cb5d1e5
add kwargs (#19519)
ccurme Mar 25, 2024
7b68dad
langchain: Passthrough batch_size on index()/aindex() calls (#19443)
znwilkins Mar 25, 2024
7487c8e
core[patch]: Use defusedxml in XMLOutputParser (#19526)
eyurtsev Mar 25, 2024
61288ed
cohere[patch]: add cohere as a partner package (#19049)
billytrend-cohere Mar 25, 2024
1068ff3
core[runnables]: docstring for class runnable, method with_listeners(…
sepiatone Mar 25, 2024
d0a1d13
cohere[patch]: fix release (#19529)
efriis Mar 25, 2024
1d80ead
core[patch]: fix xml output parser transform (#19530)
eyurtsev Mar 25, 2024
382f17e
openai[patch]: increase max batch size for Azure OpenAI Embeddings AP…
orestxherija Mar 25, 2024
7e2fde3
docs: Update local llms article to use invoke instead of deprecated _…
clarkerican Mar 25, 2024
a8d296b
community[patch]: More flexible handling for entity names in vector s…
MartinKolbAtWork Mar 25, 2024
8b4dc41
community[minor]: Added GigaChat Embeddings support + updated previou…
Mikelarg Mar 25, 2024
d090d3b
docs: fixed links (#19503)
lkuligin Mar 25, 2024
aface14
docs: Update streaming.ipynb (#19500)
eltociear Mar 25, 2024
de1e53c
core[patch]: Convert SimSIMD back to NumPy (#19473)
ashvardanian Mar 25, 2024
0b8845f
docs: Fix broken link in semantic-chunker.ipynb (#19464)
hamidriasat Mar 25, 2024
1501f1a
community[patch]: Add Support for GPU Index Types in Milvus 2.4 (#19468)
FinTechCao Mar 25, 2024
8bd8c48
docs: Fix several sample code errors (#19382)
169 Mar 25, 2024
d8b35f2
docs: Update async_chromium.ipynb (#19514)
arjOman Mar 26, 2024
e5e9515
community[patch]: Fixing incorrect base URLs for Azure Cognitive Sear…
marlenezw Mar 26, 2024
7303094
community[patch]: YandexGPT Use recent yandexcloud sdk version (#19341)
tyumentsev4 Mar 26, 2024
8ab4d80
community[patch]: expanding version in confluence loader (#19324)
stezz Mar 26, 2024
9cb16fd
docs: improve tidb integrations documents (#19321)
IANTHEREAL Mar 26, 2024
1253f7c
community[patch]: clean warning when delete by ids (#19301)
mackong Mar 26, 2024
16582f9
community[patch]: milvus will autoflush, manual flush is slowly (#19300)
JamesBonddu Mar 26, 2024
45ab474
community[patch] : [Fiddler] ensure dataset is not added if model is …
bhalder Mar 26, 2024
84034f9
mistralai[patch]: release 0.1.0 (#19540)
efriis Mar 26, 2024
4654c4d
docs: Add guidance for splitting Chinese, Japanese, and Thai (#19295)
tonybaloney Mar 26, 2024
0af7e0c
cli[patch]: Fix Tuple typing problem when create new langchain app (#…
mauriciocruzdeveloper Mar 26, 2024
198eab6
docs: update dependecy for autogpt/marathon.ipynb (#19491)
dexhunter Mar 26, 2024
f8f8cb0
community[patch]: avoid creating extension PGvector while using readO…
hanfi Mar 26, 2024
90f7249
docs: Some import nits (#19130)
adarmiento Mar 26, 2024
7a69ad2
community[minor]: Prem AI langchain integration (#19113)
Anindyadeep Mar 26, 2024
6909c3c
ai21[minor]: AI21 Labs Semantic Text Splitter support (#19510)
miri-bar Mar 26, 2024
0657f25
community[patch]: fix semantic answer bug in AzureSearch vector store…
Skar0 Mar 26, 2024
85287fc
community[patch]: Fixing some caching issues for AzureCosmosDBSemanti…
aayush3011 Mar 26, 2024
fb7d5e8
docs: added `partners/package-name` folders (#19290)
leo-gan Mar 26, 2024
c84300d
docs: Add in code documentation to core Runnable map methods (docs o…
liugddx Mar 26, 2024
4fd5b5f
docs: Update function "run" to "invoke" in fake_llm.ipynb (#19570)
standby24x7 Mar 26, 2024
a6c57d9
langchain[major]: Use InMemoryVectorStore by default in VectorstoreIn…
cbornet Mar 26, 2024
95e950e
core[minor]: Add default implementations to amax_marginal_relevance_s…
cbornet Mar 26, 2024
61bee93
core: Add async methods to BaseExampleSelector and SemanticSimilarity…
cbornet Mar 26, 2024
d71bac5
community[minor]: Add InMemoryVectorStore to module level imports (#1…
cbornet Mar 26, 2024
e162298
core[minor]: Use BaseChatMessageHistory async methods in RunnableWith…
cbornet Mar 26, 2024
249e1af
docs: add cohere to the list of partners (#19552)
sepiatone Mar 26, 2024
81645a5
community[minor]: Improvements for NeptuneRdfGraph, Improve discovery…
3coins Mar 26, 2024
cb1aecd
experimental[patch]: update module doc strings (#19539)
leo-gan Mar 26, 2024
a0e9f2b
community[patch]: GPTCache pydantic validation error on lookup (#19427)
theinhumaneme Mar 26, 2024
ffd6950
infra: Resolve the endless dependency resolution during the build of …
g-votte Mar 26, 2024
4afa84c
community[minor]: Add embeddings integration for text2vec (#19267)
hulitaitai Mar 26, 2024
6b76210
community[minor]: Allow passing `allow_dangerous_deserialization` whe…
B-Step62 Mar 26, 2024
2f8ca9d
docs: Remove chromadb from required dependency in examples with Vecto…
cbornet Mar 26, 2024
bd230a8
github action: Add dead link check for .mdx files (#19492)
liugddx Mar 26, 2024
b58d14a
community: better support of pathlib paths in document loaders (#18396)
mmajewsk Mar 26, 2024
ef7047e
core[patch]: Remove anyio dependency (#19583)
eyurtsev Mar 26, 2024
444c32f
community[Qianfan]: add function_call in additional_kwargs (#19550)
Dobiichi-Origami Mar 26, 2024
ea3e704
docs: HFEmbeddings: Add more information to model_kwargs/encode_kwarg…
tomaarsen Mar 26, 2024
7f369d2
community: add len() implementation to Chroma (#19419)
adrian-valente Mar 26, 2024
49fd62e
cohere[patch]: Add additional kwargs support for Cohere SDK params (#…
giannis2two Mar 26, 2024
8584e68
core[patch]: Reverting changes with defusedXML (#19604)
eyurtsev Mar 26, 2024
2a60bb8
core[patch]: Temporarily disable test for streaming xml parser (#19610)
eyurtsev Mar 26, 2024
7f16dcf
load: Optionally disable reading secrets from env (#19596)
nfcampos Mar 26, 2024
10db128
core[patch]: Release 0.1.34 (#19609)
baskaryan Mar 26, 2024
3cc39d4
langchain[patch]: Add async methods to VectorstoreIndexCreator (#19582)
cbornet Mar 26, 2024
8d8151e
community[patch]: use semantic_configurations in AzureSearch (#19347)
lawadam Mar 26, 2024
45f3e5b
langchain[patch[: Add async methods to TimeWeightedVectorStoreRetriev…
cbornet Mar 26, 2024
ac00d81
langchain[patch]: Add async methods to EmbeddingRouterChain (#19603)
cbornet Mar 26, 2024
9657739
docs: Update docstring for MessagesPlaceholder (#19601)
jhicks2306 Mar 26, 2024
5eb0c93
docs: Update apify.ipynb for Document class import (#19598)
rawatraghav Mar 26, 2024
be79a31
docs: release date fix (#19585)
leo-gan Mar 26, 2024
c233797
cli[patch]: release 0.0.22rc0, chat playground (#19614)
efriis Mar 26, 2024
f878b56
docs: update openvino documents (#19543)
openvino-dev-samples Mar 26, 2024
5111190
community[minor]: add oracle autonomous database doc loader integrati…
xsai9101 Mar 27, 2024
64c8c65
experimental[patch]: `PromptTemplate` import fix (#19617)
leo-gan Mar 27, 2024
626f13f
docs: `PromptTemplate` import from `core` (#19616)
leo-gan Mar 27, 2024
cda9204
voyageai[patch]: VoyageAI rerank (#19521)
fzowl Mar 27, 2024
3582acc
community[patch]: Adding try-except block for GCSDirectoryLoader (#19…
timothywong731 Mar 27, 2024
088a421
docs: Fix oracle doc loader format issue (#19628)
xsai9101 Mar 27, 2024
ffe3944
docs: fix typo in openvino document (#19627)
openvino-dev-samples Mar 27, 2024
24cbc7a
docs: `output_parsers` page fix (#19623)
leo-gan Mar 27, 2024
5aaedcb
openai[patch]: fix AzureChatOpenAI missing parameter problem (#19258)
liugddx Mar 27, 2024
868aff7
community[patch]: Microsoft Azure Document Intelligence updates (#16932)
ruoccofabrizio Mar 27, 2024
98ecf95
experimental[patch]: Enhance LLMGraphTransformer with async processin…
jjovalle99 Mar 27, 2024
73a4b53
community[minor]: Add ITREX optimized Embeddings (#18474)
yuwenzho Mar 27, 2024
5660f66
core[patch]: XMLOutputParser fix to handle changes to xml standard li…
eyurtsev Mar 27, 2024
20404ea
cohere[patch]: Fix cohere rerank (#19624)
billytrend-cohere Mar 27, 2024
02ecfe8
community[patch]: Fix the bug that Chroma does not specify `embedding…
liugddx Mar 27, 2024
e05389b
core[patch]: Patch XML vulnerability in XMLOutputParser (CVE-2024-145…
eyurtsev Mar 27, 2024
4c70d3b
core[patch]: Release 0.1.35 (#19660)
baskaryan Mar 27, 2024
d2193a0
core: Add async methods to LengthBasedExampleSelector (#19640)
cbornet Mar 27, 2024
12de1be
Revert "community: added `partners/package-name` folders" (#19662)
efriis Mar 27, 2024
38aed4b
Update text2vec.py (#19657)
hulitaitai Mar 27, 2024
84bb256
cohere[patch]: release 0.1.0rc1 (#19663)
efriis Mar 27, 2024
9c93f17
langchain[minor]: Add async methods to EncoderBackedStore (#19597)
cbornet Mar 27, 2024
44f3743
community[minor]: Add support for non-file-based Document Loaders in …
Raj725 Mar 27, 2024
bd395cf
docs: Fix broken imports in documentation (#19655)
ccurme Mar 27, 2024
0044435
docs: Improve docstring for Runnable bind method (#19659)
jhicks2306 Mar 27, 2024
81544ff
docs: use first_tool_only instead of return_single (#19666)
baskaryan Mar 27, 2024
5b22c05
community[minor]: Add the option to omit schema refresh in Neo4jGraph…
tomasonjo Mar 27, 2024
69d22b2
docs: fix error output in XMLOutputParser documentation (#19569)
KangmoonSeo Mar 27, 2024
59b0ea1
core[minor]: support pydantic v2 models in PydanticOutputParser (#18811)
jnis23 Mar 27, 2024
e8016a9
cli[patch]: Fix typo in dev script name for the --chat-playground opt…
tjaffri Mar 27, 2024
c1bf25b
core[minor]: Add async methods to MaxMarginalRelevanceExampleSelector…
cbornet Mar 27, 2024
fb380bf
docs: update cookbook example for SalesGPT - include Stripe Payment L…
filip-michalsky Mar 27, 2024
260f992
infra: Consistent lxml requirements (#19520)
Randl Mar 27, 2024
cdf059f
core[patch]: ToolException docs/exception message (#17590)
kwehmeyer Mar 27, 2024
add3357
docs: move extraction up (#19667)
baskaryan Mar 27, 2024
ea6a6ce
community[patch]: support unstructured_kwargs for s3 loader (#15473)
chyroc Mar 27, 2024
def0a27
community[patch]: update for compatibility with latest Meilisearch ve…
CaroFG Mar 27, 2024
5447189
community[patch]: refactor the type hint of `file_path` in `Unstructu…
kozistr Mar 27, 2024
2586737
community[minor]: integrate China Mobile Ecloud vector search (#15298)
liuyonghengheng Mar 27, 2024
65fa76b
[Evals] Fix function calling support (#19658)
hinthornw Mar 28, 2024
401f310
cohere[patch]: Add cohere tools agent (#19602)
harry-cohere Mar 28, 2024
99a8c66
core: Two updates to chat model interface (#19684)
nfcampos Mar 28, 2024
474d6aa
cohere[patch]: Fix positional argument (#19678)
billytrend-cohere Mar 28, 2024
283feb1
experimental[patch]: Flatten relationships in LLM graph transformer (…
tomasonjo Mar 28, 2024
822a121
community[patch], mongodb[patch]: Stop spamming SIMD import warnings …
hinthornw Mar 28, 2024
aed54ab
community[minor]: Add VDMS vectorstore (#19551)
cwlacewe Mar 28, 2024
4eff701
community[minor]: migrate `bigdl-llm` to `ipex-llm` (#19518)
shane-huang Mar 28, 2024
eb5c2f9
community[minor]: Update Azure Cognitive Services to Azure AI Service…
cgalo5758 Mar 28, 2024
79b9722
community[patch]: fix bug in cohere that `async for` a coroutine in C…
kaijietti Mar 28, 2024
391ce95
anthropic[patch]: fix response metadata type (#19683)
baskaryan Mar 28, 2024
1dbcad8
openai[patch]: fix ChatOpenAI model's openai proxy (#19559)
Sukitly Mar 28, 2024
7a5bdc8
langchain[patch]: fix-cohere-reranker-rerank-method with cohere v5 (#…
jjovalle99 Mar 28, 2024
02c27ae
infra: Optimize Makefile for Better Usability and Maintenance (#18859)
cubxxw Mar 28, 2024
890e7e3
voyageai[patch]: top level reranker import (#19645)
Jaid844 Mar 28, 2024
caa5540
docs: update docstring of the ChatGroq class (#18645)
sepiatone Mar 28, 2024
1aa3ac0
langchain[patch]: Use map() and avoid "ValueError: max() arg is an em…
n1lanjan Mar 28, 2024
a091fec
elasticsearch[patch]: move to repo (#19620)
efriis Mar 28, 2024
131f58b
core[patch], infra: release 0.1.36, run partner CI on core PRs (#19688)
efriis Mar 28, 2024
ec2df37
docs: update use_cases/question_answering/chat_history (#19349)
ccurme Mar 28, 2024
06de9d7
cohere[patch]: misc fixs tool use agent and cohere chat (#19705)
BeatrixCohere Mar 28, 2024
2abe3cd
community[patch]: Fix the error of Baidu Qianfan not passing the stop…
ligang-super Mar 28, 2024
40c4bd4
community[patch]: gather token usage info in BedrockChat during gener…
dmenini Mar 28, 2024
ab53587
core[patch]: Fix jsonOutputParser fails if a json value contains ``` …
liugddx Mar 28, 2024
8aec5e6
cohere: add with_structured_output to ChatCohere (#19730)
harry-cohere Mar 28, 2024
28351d6
cohere[patch]: release 0.1.0rc1 (rc1-2 never released) (#19731)
efriis Mar 28, 2024
1dabc46
community[minor]: Add solar model chat model (#18556)
Tokkiu Mar 28, 2024
f5ceb0d
community[patch]: Fix bug in vdms (#19728)
cwlacewe Mar 28, 2024
42f5333
docs: Update function "run" to "invoke" in llm_symbolic_math.ipynb (#…
standby24x7 Mar 28, 2024
12cfe61
docs: fix typos and make quickstart more readable (#19712)
kubealex Mar 28, 2024
091cc1d
infra: Revert run partner CI on core PRs (#19733)
efriis Mar 28, 2024
dfde517
community[patch]: Adding validation when vector does not exist (#19698)
19374242 Mar 28, 2024
6fb5547
langchain[patch]: add template_tool_response arg to create_json_chat …
dmenini Mar 28, 2024
0426b40
core[runnables]: docstring of class RunnableSerializable, method conf…
sepiatone Mar 28, 2024
481b744
docs: Add async batch case (#19686)
169 Mar 28, 2024
125763b
community[patch]: fix yuan2 errors in LLMs (#19004)
cauwulixuan Mar 28, 2024
8d2e5c6
openai[patch]: perform judgment processing on chat model streaming de…
HuangZiy Mar 28, 2024
1708029
core[runnables]: docstring for class RunnableSerializable, method con…
sepiatone Mar 28, 2024
b286bd8
core[patch]: fix beta, deprecated typing (#18877)
ldorigo Mar 28, 2024
6001077
docs: update docstring of the ChatAnthropic and AnthropicLLM classes …
sepiatone Mar 28, 2024
ef2b3cd
community[patch]: mypy ignore fix (#18483)
Smit-Parmar Mar 28, 2024
ec1bb5a
community[patch]: Added missing from_documents method to KNNRetriever…
victoradan Mar 28, 2024
ea74dc6
docs: Nvidia Riva Runnables Documentation (#18237)
haydeniw Mar 28, 2024
861e9a8
docs: fixing markdown for tips (#18199)
isahers1 Mar 28, 2024
6f847df
langchain[patch]: fix BaseChatMemory get output data error with extra…
xiaohuanshu Mar 28, 2024
3a7d5e4
community[patch]: Support Streaming in Azure Machine Learning (#18246)
sachinparyani Mar 28, 2024
bc3cbfa
docs: improve readability of Langchain Expression Language get_starte…
ethanknights Mar 28, 2024
8670f3d
community[patch]: fix bugs for bilibili Loader (#18036)
Jiaaming Mar 28, 2024
a093598
docs: update Together README.md (#18004)
mao3267 Mar 29, 2024
b3f5c19
openai[patch]: add checking codes for calling AI model get error (#17…
yangkx111 Mar 29, 2024
2b622e6
community[patch]: add Integration for OpenAI image gen with v1 sdk (#…
paulonasc Mar 29, 2024
6eadb97
community[patch]: add NotebookLoader unit test (#17721)
paulonasc Mar 29, 2024
42ba91d
community[patch]: support OpenAI whisper base url (#17695)
Lanthanum1 Mar 29, 2024
0903ade
community[patch]: llama cpp embeddings reset default n_batch (#17594)
rlancemartin Mar 29, 2024
d8f2cf1
community[minor]: Add Anyscale embedding support (#17605)
kylehh Mar 29, 2024
6a78c98
core[patch]:: XML parser to cover the case when the xml only contains…
ale-delfino Mar 29, 2024
d31c802
community[patch]: surrealdb handle for empty metadata and allow colle…
MarcusVirg Mar 29, 2024
9724ed5
community[patch]: Add explicit error message to Bedrock error output.…
Mercurrent Mar 29, 2024
d437849
experimental[patch]: Removed 'SQLResults:' from the LLMResponse in SQ…
Kirushikesh Mar 29, 2024
1b882f4
langchain[patch]: Upgrade openai's sdk and solve some interface adapt…
liugddx Mar 29, 2024
da408a5
community[minor]: Add Openvino embedding support (#19632)
openvino-dev-samples Mar 29, 2024
8ea14b1
docs: fixed xml URL on sitemap docs exmaple, issue #17236 (#17304)
gisturiz Mar 29, 2024
c08b96b
community[minor]: add support for Moonshot llm and chat model (#17100)
jialeicui Mar 29, 2024
587d044
docs: fix link in openvino integration doc (#19749)
eaidova Mar 29, 2024
eda18b2
docs: use markdown cell instead of code block (#19740)
169 Mar 29, 2024
68c49b0
docs: providers pinecone fix (#19737)
leo-gan Mar 29, 2024
c374d4e
core[minor]: Add aformat_messages to FewShotChatMessagePromptTemplate…
cbornet Mar 29, 2024
b46f906
community[minor]: Implement DirectoryLoader lazy_load function (#19537)
DasDingoCodes Mar 29, 2024
0ef537b
community[minor]: add hugging face text-to-speech inference API (#18880)
h0rv Mar 29, 2024
1f08c9b
community[patch]: Add the ability to pass maps to neo4j retrieval que…
tomasonjo Mar 29, 2024
45bcbb1
community[minor]: Add solar embedding (#19761)
Tokkiu Mar 29, 2024
133791e
community[patch]: avoid executing `toolkit.get_context()` when not ne…
x-arturs Mar 29, 2024
ba5b7a6
add script to check imports (#19611)
ccurme Mar 29, 2024
b964531
community[minor]: Pathway vectorstore(#14859)
janchorowski Mar 29, 2024
6b6afec
docs: Agentic and Self-RAG w/ LangGraph (#16910)
rlancemartin Mar 29, 2024
a8eb88d
community[patch]: OllamaEmbeddings - Pass headers to post request (#1…
shahrin014 Mar 29, 2024
28477f1
community[patch]: mmr search for Rockset vectorstore integration (#16…
morganda Mar 29, 2024
d885f5b
community[patch]: fix redis input type for index_schema field (#16874)
Distant22 Mar 29, 2024
b19d2f0
community[patch]: history size support for DynamoDBChatMessageHistory…
LukaK Mar 29, 2024
254dfdb
community[minor]: Infobip tool integration (#16805)
hmilkovi Mar 29, 2024
206cb88
text-splitters[minor]: Added Haskell support in langchain.text_splitt…
Nisarg1112 Mar 29, 2024
8c1f7a7
cohere[patch]: Allow overriding of the base URL in Cohere Client (#1…
BeatrixCohere Mar 29, 2024
1d4c38c
docs[minor]: Add chat model tabs to docs pages (#19589)
bracesproul Mar 29, 2024
2b476fa
cohere[patch]: support kwargs in with_structured_output (#19736)
harry-cohere Mar 29, 2024
83d14b9
openai[patch]: Update openai chat model to new base class interface (…
nfcampos Mar 29, 2024
2aa0ff1
templates: add RAG template for Intel Xeon Scalable Processors (#18424)
lvliang-intel Mar 29, 2024
44763e6
mistralai[patch]: add missing _combine_llm_outputs implementation in …
pierreveron Mar 29, 2024
4b00287
mistralai[patch]: correct integration_test (#19774)
baskaryan Mar 29, 2024
01d65e0
docs[patch]: Fix or remove broken mdx links (#19777)
bracesproul Mar 29, 2024
c5db0c9
docs: fix for #16702 and #16703 (#16705)
Naveenkhasyap Mar 29, 2024
131fc18
community[minor]: add support for llmsherpa (#19741)
abdalrohman Mar 29, 2024
eddc1a2
docs: Google Drive Loader always set the env var (#14791)
snehil002 Mar 29, 2024
d5947ff
langchain[patch]: Simplify ensemble retriever (#14427)
ahmed-moubtahij Mar 29, 2024
770e73c
community[patch]: Update minimax.py (#14384)
ethynic Mar 29, 2024
2829748
community[minor]: fix failing Predibase integration (#19776)
alexsherstinsky Mar 30, 2024
b84bcbf
community[minor]: Add Alpha Vantage API Tool (#14332)
anshaneel Mar 30, 2024
71bdc36
langchain[patch]: load ReadFileTool (#14301)
DrKroll Mar 30, 2024
4f57eb1
community[patch]: introduce convert_to_secret() to bananadev llm (#14…
tholapz Mar 30, 2024
4d71ca2
dont mutate metadata/tags (#19742)
hwchase17 Mar 30, 2024
b0f6049
experimental[minor]: Create Closed Captioning Chain for .mp4 videos (…
LunarECL Mar 30, 2024
db7984a
Merge branch 'master' into falkordb-py
gkorland Mar 30, 2024
e4f146d
fix format error
gkorland Mar 30, 2024
9581049
put back the depreacted redis connection for backward compatibility
gkorland Apr 2, 2024
6ea9efb
Merge branch 'master' into falkordb-py
gkorland Apr 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/use_cases/graph/graph_falkordb_qa.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"FalkorDB is a low latency property graph database management system. You can simply run its docker locally:\n",
"\n",
"```bash\n",
"docker run -p 6379:6379 -it --rm falkordb/falkordb:edge\n",
"docker run -p 6379:6379 -it --rm falkordb/falkordb\n",
"```\n",
"\n",
"Once launched, you can simply start creating a database on the local machine and connect to it."
Expand Down
19 changes: 11 additions & 8 deletions libs/community/langchain_community/graphs/falkordb_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,21 @@ def __init__(
) -> None:
"""Create a new FalkorDB graph wrapper instance."""
try:
import redis
from redis.commands.graph import Graph
from falkordb import FalkorDB
except ImportError:
raise ImportError(
"Could not import redis python package. "
"Please install it with `pip install redis`."
"Could not import falkordb python package. "
"Please install it with `pip install falkordb`."
gkorland marked this conversation as resolved.
Show resolved Hide resolved
)

self._driver = redis.Redis(
host=host, port=port, username=username, password=password, ssl=ssl
)
self._graph = Graph(self._driver, database)
try:
self._driver = FalkorDB(
host=host, port=port, username=username, password=password, ssl=ssl
)
except Exception as e:
raise ConnectionError(f"Failed to connect to FalkorDB: {e}")
Comment on lines +99 to +104
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The connection to FalkorDB is correctly established within a try-except block, which is a good practice for handling connection errors. However, consider using more specific exceptions for better error handling and clarity.

- except Exception as e:
+ except (FalkorDBConnectionError, FalkorDBAuthenticationError) as e:

Note: Replace FalkorDBConnectionError and FalkorDBAuthenticationError with the specific exceptions thrown by FalkorDB for connection and authentication failures.


Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
try:
self._driver = FalkorDB(
host=host, port=port, username=username, password=password, ssl=ssl
)
except Exception as e:
raise ConnectionError(f"Failed to connect to FalkorDB: {e}")
try:
self._driver = FalkorDB(
host=host, port=port, username=username, password=password, ssl=ssl
)
except (FalkorDBConnectionError, FalkorDBAuthenticationError) as e:
raise ConnectionError(f"Failed to connect to FalkorDB: {e}")


self._graph = self._driver.select_graph(database)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method select_graph is used without explicit error handling for cases where the specified database does not exist or is inaccessible. Adding error handling here would improve robustness.

+ try:
+     self._graph = self._driver.select_graph(database)
+ except FalkorDBGraphNotFoundError as e:
+     raise ValueError(f"Specified graph '{database}' not found: {e}")

Note: Replace FalkorDBGraphNotFoundError with the specific exception thrown by FalkorDB if the graph is not found.


Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
self._graph = self._driver.select_graph(database)
try:
self._graph = self._driver.select_graph(database)
except FalkorDBGraphNotFoundError as e:
raise ValueError(f"Specified graph '{database}' not found: {e}")

The add_graph_documents method does not handle exceptions that may occur during the query execution. Implementing error handling here would ensure atomicity or rollback in case of failures, improving the robustness of graph updates.

Implement error handling in the add_graph_documents method to handle exceptions during query execution.

self.schema: str = ""
self.structured_schema: Dict[str, Any] = {}

Expand Down
Loading