Commit Graph

9163 Commits

Author SHA1 Message Date
Eugene Yurtsev
4989774e85 mark imports 2024-05-02 16:54:52 -04:00
Eugene Yurtsev
5d66ec24f5 conditionally skip tests 2024-05-02 16:45:53 -04:00
Eugene Yurtsev
af0abe0f17 x 2024-05-02 16:40:13 -04:00
Eugene Yurtsev
5204642ef8 x 2024-05-02 16:37:00 -04:00
Eugene Yurtsev
fba8d6d666 lint 2024-05-02 15:46:13 -04:00
Eugene Yurtsev
cda874c5cd update more unit tests 2024-05-02 15:45:38 -04:00
Eugene Yurtsev
b7de35a784 add unit tests to commuinity 2024-05-02 15:41:14 -04:00
Eugene Yurtsev
43754e52ea update unittests 2024-05-02 15:40:43 -04:00
Eugene Yurtsev
1e07fb833e More migrations for ernie functions 2024-05-02 15:20:02 -04:00
Eugene Yurtsev
d890332bb5 add unit tests that relies on dir 2024-05-02 15:16:30 -04:00
Eugene Yurtsev
fa2cb98a16 x 2024-05-02 15:16:23 -04:00
Eugene Yurtsev
a260e7a2d4 move ernie functions 2024-05-02 15:13:44 -04:00
Eugene Yurtsev
db83c70c4e x 2024-05-02 15:12:40 -04:00
Eugene Yurtsev
eaa215ea59 x 2024-05-02 15:09:42 -04:00
Eugene Yurtsev
01ede6c448 x 2024-05-02 15:00:56 -04:00
Eugene Yurtsev
fff94c45e8 update optional imports in callbacks 2024-05-02 14:59:35 -04:00
Eugene Yurtsev
b1d0581b21 run migration script through to move more things to community 2024-05-02 14:54:45 -04:00
Eugene Yurtsev
258426a656 update import location for cross encoder re-rank 2024-05-02 14:49:07 -04:00
Eugene Yurtsev
48efd58370 x 2024-05-02 14:46:44 -04:00
Eugene Yurtsev
efd2402d45 Move llm requests from langchain to langchain_community 2024-05-02 14:44:42 -04:00
Eugene Yurtsev
aed0936922 move openapi chain to community 2024-05-02 14:36:56 -04:00
Eugene Yurtsev
1fae57a3d9 run linter 2024-05-02 14:29:03 -04:00
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
Bagatur
b00fd1dbde infra: Undo gh cache removal (#21210)
Co-authored-by: Nuno Campos <nuno@langchain.dev>
2024-05-02 17:12:32 +00:00
Aditya
ee2c55ca09 docs: Added documentation on Anthropic models on vertex (#21070)
Description:Added documentation on Anthropic models on Vertex
@lkuligin for review

---------

Co-authored-by: adityarane@google.com <adityarane@google.com>
2024-05-02 13:12:01 -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