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

2023-08-29 14:21:30 -04:00
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.
2023-08-29 13:51:56 -04:00
Leonid Ganeline
6eae6df76f
Merge branch 'master' into docs-memory-menu
2023-08-29 10:31:17 -07:00
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
2023-08-29 10:29:51 -07:00
Leonid Ganeline
4b6e41a939
Merge branch 'master' into docs-memory-menu
2023-08-29 10:24:07 -07:00
Tomaz Bratanic
6092422e10
Add neo4j provider page ( #9941 )
2023-08-29 10:09:51 -07:00
leo-gan
c906041aa8
updated notebook titles and text.
2023-08-29 09:58:26 -07:00
Eugene Yurtsev
880bf06290
x
2023-08-29 11:15:41 -04:00
Eugene Yurtsev
9efc29e3d1
x
2023-08-29 11:13:42 -04:00
Bagatur
d6957921f0
bump 276 ( #9931 )
2023-08-29 08:00:38 -07:00
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>
2023-08-29 07:54:20 -07:00
Bagatur
49ebbe4bcd
fix pydantic import ( #9930 )
2023-08-29 07:53:01 -07:00
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.
2023-08-29 07:21:22 -07:00
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
2023-08-29 07:21:01 -07:00
Nikhil Suresh
dd10cf945c
fixed minor linting issues
2023-08-29 14:15:59 +00:00
LiaoKong
8f8455b24d
fix a link name format to the dependents document
2023-08-29 21:55:05 +08:00
olgavrou
256849e02a
Merge pull request #8 from VowpalWabbit/update_w_score
...
update score to take entire response object to make it easier for user
2023-08-29 09:18:52 -04:00
olgavrou
d46ad01ee0
Merge pull request #7 from VowpalWabbit/scorer_activate_deactivate
...
activate and deactivate scorer
2023-08-29 09:12:11 -04:00
olgavrou
5fb781dfde
Merge pull request #6 from VowpalWabbit/cb_defaults
...
cb defaults and some fixes
2023-08-29 08:47:28 -04:00
olgavrou
48aaa27bf7
update score to take entire response object to make it easier for user
2023-08-29 08:46:55 -04:00
olgavrou
c4ccaebbbb
activate and deactivate scorer
2023-08-29 08:37:59 -04:00
olgavrou
7eaaad51de
cb defaults and some fixes
2023-08-29 07:42:45 -04:00
olgavrou
42bdb003ee
Merge pull request #5 from VowpalWabbit/nosockettests
...
unit tests to use mock encoder
2023-08-29 07:28:03 -04:00
olgavrou
f8b5c2977a
restore ci workflow
2023-08-29 07:17:40 -04:00
olgavrou
5727148f2b
make sure test don't try to download sentence transformer models
2023-08-29 07:09:58 -04:00
olgavrou
72eab3b37e
test
2023-08-29 06:35:27 -04:00
olgavrou
4b930f58e9
test
2023-08-29 06:28:07 -04:00
olgavrou
0a2724d8c7
test
2023-08-29 06:27:56 -04:00
olgavrou
5de212d907
Merge branch 'langchain-ai:master' into master
2023-08-29 05:58:22 -04:00
olgavrou
f7fb083aba
Merge pull request #3 from VowpalWabbit/fix_linting
...
Fix mypy errors
2023-08-29 05:58:03 -04:00
olgavrou
4e6e03ef50
fix mypy complaint
2023-08-29 05:51:52 -04:00
olgavrou
d50c0f139d
re order imports
2023-08-29 05:46:56 -04:00
olgavrou
758225dc17
include type
2023-08-29 05:44:09 -04:00
olgavrou
44485c2b26
make input arg type more explicit
2023-08-29 05:42:45 -04:00
olgavrou
8d10a52525
fix linting complaints
2023-08-29 05:36:45 -04:00
olgavrou
b3c0728de2
fix mypy errors in tests
2023-08-29 05:28:43 -04:00
olgavrou
0b8691c6e5
fix all mypy errors and some renaming and refactoring
2023-08-29 05:19:19 -04:00
olgavrou
a11ad11d06
fix all mypy errors
2023-08-29 03:59:01 -04:00
adilkhan
bbae8cb88f
Added runtime argument
2023-08-29 12:12:49 +06:00
Ofer Mendelevitch
4454204455
reformat black
2023-08-28 23:04:57 -07:00
Ofer Mendelevitch
318a21e267
fixed typo in spelling
2023-08-28 23:01:11 -07:00
hughcrt
e71f4760db
Change multiline comment width
2023-08-29 07:55:10 +02:00
Ofer Mendelevitch
a5450be32e
fixed lint
2023-08-28 22:31:39 -07:00
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
2023-08-28 22:26:55 -07:00
Ofer Mendelevitch
1b6947e56c
Merge branch 'langchain-ai:master' into master
2023-08-28 21:42:47 -07:00
hughcrt
7979cef06a
Replace |
by Union
2023-08-29 06:22:50 +02:00
Nikhil Suresh
23ef836b48
matches colon and any number of white spaces after colon
2023-08-29 04:18:33 +00:00
Ikko Eltociear Ashimine
766bbd6c6b
Fix typo in code_understanding.ipynb
...
seperate -> separate
2023-08-29 12:57:19 +09:00
Nikhil Suresh
64eb5a6082
removed unnecessary white space in regex that breaks qa with sources chain
2023-08-29 03:54:38 +00:00
Nikhil Suresh
8a4670e127
updated formatting changes
2023-08-29 03:54:38 +00:00