Commit Graph

4319 Commits (fed137a8a9a1387278d02b4533016a11ae631873)
 

Author SHA1 Message Date
Bagatur 78c014399f fmt 1 year ago
Fredrik Gullberg f69d236a4a
docs: Fix spelling mistakes in apis.ipynb (#9911)
- Description: Fix spelling mistakes in apis.ipynb
- Issue: [#9910](https://github.com/langchain-ai/langchain/issues/9910)

Co-authored-by: Fredrik Gullberg <fredrik.gullberg@klarna.com>
1 year ago
Nate Nethercott 0024824a6e
docs: Fix spelling mistakes in retrievers/get_started.mdx (#9920)
Description: Fix spelling mistakes in retrievers/get_started.mdx
1 year ago
leo-gan 210de0c66b Updated title, description, added sections 1 year ago
Eugene Yurtsev 5cce6529a4
Speed up openai tests (#9943)
Saves ~8-10 seconds from total unit tests times

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
1 year ago
Cameron Hutchison bcc3463ff4
docs: Azure AD Authentication for Azure OpenAI (#9951)
# Description
This PR adds additional documentation on how to use Azure Active
Directory to authenticate to an OpenAI service within Azure. This method
of authentication allows organizations with more complex security
requirements to use Azure OpenAI.

# Issue
N/A

# Dependencies
N/A

# Twitter
https://twitter.com/CamAHutchison
1 year ago
Guy Korland 7cbe872af8
Add support for Falkordb (ex-RedisGraph) (#9821)
Replace this entire comment with:
  - Description: Add support for Falkordb (ex-RedisGraph)
  - Tag maintainer: @hwchase17
  - Twitter handle: @g_korland
1 year ago
Bagatur 9f2d908316 cr 1 year ago
Bagatur 3c1547925a fix 1 year ago
William FH fbd792ac7c
Fix import (#9945) 1 year ago
Zizhong Zhang 8bd7a9d18e
feat: PromptGuard takes a list of str (#9948)
Recently we made the decision that PromptGuard takes a list of strings
instead of a string.
@ggroode implemented the integration change.

---------

Co-authored-by: ggroode <ggroode@berkeley.edu>
Co-authored-by: ggroode <46691276+ggroode@users.noreply.github.com>
1 year ago
Bagatur ede45f535e
fix intro docs (#9950) 1 year ago
Leonid Ganeline 393816e7bd
Merge branch 'master' into docs-memory-type-menu 1 year ago
Corvus Lee 0fb95ebe66
Docs: enrich SageMaker endpoint embeddings with docstrings and examples (#9924)
Description: added comments to address the relationship between
input/output transformations and the customised inference.py script.
1 year ago
leo-gan 7c7ae34eeb updated .mdx titles and text. 1 year ago
leo-gan d578efba35 updated notebook titles and text. 1 year ago
Predrag Gruevski 8dbf4cbe80
Add notice about security-sensitive experimental code to experimental README. (#9936)
It renders like this:
https://github.com/langchain-ai/langchain/tree/pg/experimental-readme/libs/experimental


![image](https://github.com/langchain-ai/langchain/assets/2348618/a5f9569d-96f6-44c6-8559-921adb3e337d)
1 year ago
Predrag Gruevski b5cd1e0fed
Add security notices on PAL and CPAL experimental chains. (#9938)
Clearly document that the PAL and CPAL techniques involve generating
code, and that such code must be properly sandboxed and given
appropriate narrowly-scoped credentials in order to ensure security.

While our implementations include some mitigations, Python and SQL
sandboxing is well-known to be a very hard problem and our mitigations
are no replacement for proper sandboxing and permissions management. The
implementation of such techniques must be performed outside the scope of
the Python process where this package's code runs, so its correct setup
and administration must therefore be the responsibility of the user of
this code.
1 year ago
Leonid Ganeline 6eae6df76f
Merge branch 'master' into docs-memory-menu 1 year ago
Jan-Luca Barthel f5faac8859
addition of cosine distance function for faiss (#9939)
- Description: added the _cosine_relevance_score_fn to
_select_relevance_score_fn of faiss.py to enable the use of cosine
distance for similarity for this vector store and to comply with the
Error Message, that implies, that cosine should be a valid distance
strategy
- Issue: no relevant Issue found, but needed this function myself and
tested it in a private repo
  - Dependencies: none
1 year ago
Leonid Ganeline 4b6e41a939
Merge branch 'master' into docs-memory-menu 1 year ago
Tomaz Bratanic 6092422e10
Add neo4j provider page (#9941) 1 year ago
leo-gan c906041aa8 updated notebook titles and text. 1 year ago
Eugene Yurtsev 880bf06290 x 1 year ago
Eugene Yurtsev 9efc29e3d1 x 1 year ago
Bagatur d6957921f0
bump 276 (#9931) 1 year ago
Tomaz Bratanic db13fba7ea
Add neo4j vector support (#9770)
Neo4j has added vector index integration just recently. To allow both
ingestion and integrating it as vector RAG applications, I wrapped it as
a vector store as the implementation is completely different from
`GraphCypherQAChain`. Here, we are not generating any Cypher statements
at query time, we are simply doing the vector similarity search using
the new vector index as if we were dealing with a vector database.

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
1 year ago
Bagatur 49ebbe4bcd
fix pydantic import (#9930) 1 year ago
Tudor Golubenco 171b0b183b
Pre-release Xata version no longer required (#9915)
Tiny PR: Since we've released version 1.0.0 of the python SDK, we no
longer need to specify the pre-release version when pip installing.
1 year ago
Mike Nitsenko c80e406e95
Cube semantic loader: allow cubes processing (#9927)
We've started to receive feedback (after launch) that using only views
is confusing.
We're considering this as a good practice, as a view serves as a
"facade" for your data - however, we decided to let users decide this on
their own.

Solves the questions from:
- https://github.com/cube-js/cube/issues/7028
- https://github.com/langchain-ai/langchain/pull/9690
1 year ago
Nikhil Suresh dd10cf945c fixed minor linting issues 1 year ago
LiaoKong 8f8455b24d fix a link name format to the dependents document 1 year ago
adilkhan bbae8cb88f Added runtime argument 1 year ago
Ofer Mendelevitch 4454204455 reformat black 1 year ago
Ofer Mendelevitch 318a21e267 fixed typo in spelling 1 year ago
hughcrt e71f4760db Change multiline comment width 1 year ago
Ofer Mendelevitch a5450be32e fixed lint 1 year ago
Ofer Mendelevitch 8b8d2a6535 fixed similarity_search_with_score to really use a score
updated unit test with a test for score threshold
Updated demo notebook
1 year ago
Ofer Mendelevitch 1b6947e56c
Merge branch 'langchain-ai:master' into master 1 year ago
hughcrt 7979cef06a Replace `|` by `Union` 1 year ago
Nikhil Suresh 23ef836b48 matches colon and any number of white spaces after colon 1 year ago
Ikko Eltociear Ashimine 766bbd6c6b
Fix typo in code_understanding.ipynb
seperate -> separate
1 year ago
Nikhil Suresh 64eb5a6082 removed unnecessary white space in regex that breaks qa with sources chain 1 year ago
Nikhil Suresh 8a4670e127 updated formatting changes 1 year ago
Nikhil Suresh b1f649bca5 fixed issue with white space and added unit tests 1 year ago
Nikhil Suresh 6d3485e798 fixed regex to match sources for all cases, also includes source 1 year ago
tongtie 82a3c2a557 docs: Fix the syntax error, replace "dotenv.load_env()" with "dotenv.load_dotenv()". 1 year ago
Mazhar (Taha) Mumbaiwala e80834d783
docs: Fix spelling mistakes in Etherscan.ipynb (#9845) 1 year ago
Philippe PRADOS 7fdb7439e0
Update google drive notebooks (#9851)
Update google drive doc loader and retriever notebooks. Show how to use with langchain-googledrive package.

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
1 year ago
Xiaobing Mi 5d47833ae1
Fix typo in web_scraping.ipynb (#9835) 1 year ago