Eugene Yurtsev
6394ebcfb8
Updating community BaseCrossEncoder to reference langhcain
2024-05-02 14:25:30 -04:00
Eugene Yurtsev
ce7aa2ff74
Adding BaseCrossEncoder to langchain, using optional deps in embeddings_filter
2024-05-02 14:24:53 -04:00
Eugene Yurtsev
bc329de38a
update some unit tests
2024-05-02 14:12:10 -04:00
Eugene Yurtsev
9e68f2baaf
update all possible dependencies
2024-05-02 14:07:33 -04:00
Eugene Yurtsev
07ac5d2a6a
update community tests files for query constructor
2024-05-02 14:01:38 -04:00
Eugene Yurtsev
0dcc0201ee
x
2024-05-02 14:00:54 -04:00
Eugene Yurtsev
0755013acc
x
2024-05-02 13:56:12 -04:00
Eugene Yurtsev
31edcf4c8f
x
2024-05-02 13:53:02 -04:00
Eugene Yurtsev
f2335d9c22
fix two imports that need to be optional
2024-05-02 13:50:58 -04:00
Eugene Yurtsev
2f2f5ffdad
Merge branch 'master' into eugene/0.2rc
2024-05-02 13:47:35 -04:00
ccurme
2d77e5e3a1
(standard tests): add test for basic conversation sequence ( #21213 )
2024-05-02 13:47:10 -04:00
Eugene Yurtsev
acfd1b1ff9
Remove langchain-community from list of required dependencies
2024-05-02 13:44:33 -04:00
Eugene Yurtsev
a094d8bb70
lint long lines in self query and graph_qa
2024-05-02 13:43:20 -04:00
Maxime Perrin
1ebb5a70ad
partners(mistralai): Removing unused variable in completion request (using tool_calls or content) ( #21201 )
...
This PR fixes #21196 .
The error was occurring when calling chat completion API with a chat
history. Indeed, the Mistral API does not accept both `content` and
`tool_calls` in the same body.
This PR removes one of theses variables depending on the necessity.
---------
Co-authored-by: Maxime Perrin <mperrin@doing.fr >
Co-authored-by: Chester Curme <chester.curme@gmail.com >
2024-05-02 13:20:14 -04:00
Christophe Bornet
683fb45c6b
community[patch]: Refactor CassandraDatabase wrapper ( #21075 )
...
* Introduce individual `fetch_` methods for easier typing.
* Rework some docstrings to google style
* Move some logic to the tool
* Merge the 2 cassandra utility files
2024-05-02 13:13:08 -04:00
Eugene Yurtsev
fb8e1ad366
x
2024-05-02 13:08:14 -04:00
Raghav Dixit
7d451d0041
community[patch]: Update lancedb.py ( #21192 )
...
very minor update in LanceDB integration, 'metric' argument was missing.
2024-05-02 17:06:39 +00:00
Bagatur
d297d90ad9
core[patch]: Release 0.1.49 ( #21211 )
2024-05-02 17:06:27 +00:00
Eugene Yurtsev
263d42f0bf
x
2024-05-02 13:04:54 -04:00
Eugene Yurtsev
21a7fe0096
move self query retrievers
2024-05-02 12:57:38 -04:00
Nuno Campos
663747b730
core[patch]: Fixes for convert_messages ( #21207 )
...
- support two-tuples of any sequence type (eg. json.loads never produces
tuples)
- support type alias for role key
- if id is passed in in dict form use it
- if tool_calls passed in in dict form use them
---------
Co-authored-by: Bagatur <baskaryan@gmail.com >
2024-05-02 16:55:42 +00:00
Eugene Yurtsev
53df06b3b0
hide community dependency in self_query/base.py
2024-05-02 12:51:45 -04:00
Eugene Yurtsev
081e3994ba
Add retrievers to __init__
2024-05-02 12:40:02 -04:00
Eugene Yurtsev
e2f1dc0dd4
x
2024-05-02 12:37:45 -04:00
Eugene Yurtsev
18cd6d5828
Merge branch 'master' into eugene/0.2rc
2024-05-02 12:26:27 -04:00
Eugene Yurtsev
692e07aa38
x
2024-05-02 12:25:15 -04:00
Eugene Yurtsev
df49404794
langchain[patch]: Make more memory code handle community dependency as optional ( #21199 )
2024-05-02 11:05:26 -04:00
ccurme
bd5d2c2674
langchain: import InMemoryChatMessageHistory from core ( #21198 )
2024-05-02 14:53:07 +00:00
Eugene Yurtsev
3cd7fced5f
langchain[patch],community[minor]: Migrate memory implementations to community ( #20845 )
...
Migrates memory implementations to community
2024-05-02 10:46:50 -04:00
Eugene Yurtsev
b5c3a04e4b
langchain[patch]: chat histories to handle optional community dependence ( #21194 )
2024-05-02 10:36:08 -04:00
Eugene Yurtsev
c9119b0e75
langchain[patch],community[minor]: Move some unit tests from langchain to community, use core for fake models ( #21190 )
2024-05-02 09:57:52 -04:00
Eugene Yurtsev
1cb3dc67ba
update lock files
2024-05-02 09:55:07 -04:00
Eugene Yurtsev
a86799e6cc
x
2024-05-02 09:49:37 -04:00
Eugene Yurtsev
9ad75beb65
x
2024-05-02 09:49:28 -04:00
Eugene Yurtsev
c306364b06
langchain[patch]: Update more code to use langchain community as an optional dependency ( #21170 )
...
More code to use langchain community as an optional dependency
2024-05-02 09:05:48 -04:00
Bagatur
6fa8626e2f
openai[patch]: fix azure open lc serialization, release 0.1.5 ( #21159 )
2024-05-01 18:03:29 -04:00
Eugene Yurtsev
94a838740e
langchain[patch]: Migrate more code in utils to use optional langchain import ( #21166 )
...
Moving is interactive util to avoid circular deps
2024-05-01 17:18:42 -04:00
Eugene Yurtsev
23fdd320bc
langchain[patch]: Migrate more code to use optional community in agents namespace ( #21167 )
2024-05-01 16:25:44 -04:00
Tomaz Bratanic
9e53fa7d2e
Some more fixes to neo4j enhanced schema ( #21139 )
2024-05-01 13:12:43 -07:00
Erick Friis
0694538c39
ai21: fix core version ( #21168 )
2024-05-01 13:10:22 -07:00
Eugene Yurtsev
44602bdc20
langchain[patch],community[minor]: Move load_tools to community ( #21158 )
...
Move load tools to community
2024-05-01 16:05:41 -04:00
Eugene Yurtsev
9932f49b3e
langchain[patch]: Migrate llms to use optional community imports ( #21101 )
2024-05-01 16:04:45 -04:00
Eugene Yurtsev
57e8e70daa
langchain[patch]: Migrate chat models to optional community imports ( #21090 )
...
Migrate chat models to optional community imports
2024-05-01 16:04:12 -04:00
Eugene Yurtsev
2914abd747
langchain[patch]: Fix how the serializable test identifies serializable objects ( #21165 )
...
dir() will not work if we're using optional imports. The only way to do this is by using contents of __all__
2024-05-01 15:56:11 -04:00
Eugene Yurtsev
23c5d87311
langchain[patch]: Migrate utils to use optional langchain_community ( #21163 )
...
Migrate utils to use optional imports from langchain community
2024-05-01 15:24:02 -04:00
Eugene Yurtsev
bec3eee3fa
langchain[patch]: Migrate retrievers to use optional langchain community imports ( #21155 )
2024-05-01 14:44:44 -04:00
Eugene Yurtsev
43110daea5
langchain[patch]: Update some agent tool kits to handle community import as optional ( #21157 )
...
A few things that were not caught by the migration script
2024-05-01 14:22:54 -04:00
Eugene Yurtsev
59f10ab3e0
langchain[patch]: Migrate embeddings to optional imports ( #21099 )
2024-05-01 13:47:37 -04:00
Eugene Yurtsev
2f709d94d7
langchain[patch]: Migrate vectorstores to use optional langchain community imports ( #21150 )
2024-05-01 13:33:37 -04:00
Eugene Yurtsev
7230e430db
langchain[patch]: Migrate top level files to use optional langchain community ( #21152 )
...
Migrate a few top level files to treat langchain community as an optional dependency
2024-05-01 13:23:03 -04:00