Commit Graph

1795 Commits

Author SHA1 Message Date
vowelparrot
d0aec0fda4 Merge branch 'master' into vwp/eval_examples 2023-05-05 11:40:32 -07:00
vowelparrot
f7f9756576 Updat with LLM and Chat Models 2023-05-05 10:00:09 -07:00
Harrison Chase
7dcc698ebf bump version to 159 (#4183) v0.0.159 2023-05-05 09:31:08 -07:00
Harrison Chase
26534457f5 simplify csv args (#4182) 2023-05-05 09:22:08 -07:00
Eduard van Valkenburg
3095546851 PowerBI fix for table names with spaces (#4170)
small fix to make sure a table name with spaces is passed correctly to
the API for the schema lookup.
2023-05-05 09:15:47 -07:00
obbiondo
b1e2e29222 fix: remove expand parameter from ConfluenceLoader by label (#4181)
expand is not an allowed parameter for the method
confluence.get_all_pages_by_label, since it doesn't return the body of
the text but just metadata of documents

Co-authored-by: Andrea Biondo <a.biondo@reply.it>
2023-05-05 09:15:21 -07:00
Zander Chase
84cfa76e00 Update Cohere Reranker (#4180)
The forward ref annotations don't get updated if we only iimport with
type checking

---------

Co-authored-by: Abhinav Verma <abhinav_win12@yahoo.co.in>
2023-05-05 09:11:37 -07:00
Davis Chase
d84bb02881 Add Chroma self query (#4149)
Add internal query language -> chroma metadata filter translator
2023-05-05 08:43:08 -07:00
Vinoo Ganesh
905a2114d7 Fix: Typo in Docs (#4179)
Fixing small typo in docs
2023-05-05 08:35:49 -07:00
vowelparrot
ed1d3a48e4 Update notebook 2023-05-05 02:25:28 -07:00
Ankush Gola
8de1b4c4c2 Revert "fix: #4128 missing run_manager parameter" (#4159)
Reverts hwchase17/langchain#4130
2023-05-05 00:52:16 -07:00
Chakib Ben Ziane
878d0c8155 fix: #4128 missing run_manager parameter (#4130)
`run_manager` was not being passed downstream. Not sure if this was a
deliberate choice but it seems like it broke many agent callbacks like
`agent_action` and `agent_finish`. This fix needs a proper review.

Co-authored-by: blob42 <spike@w530>
2023-05-04 23:59:55 -07:00
vowelparrot
e3808b63d3 add tests 2023-05-04 23:37:14 -07:00
vowelparrot
b709a7b5f0 Merge branch 'master' into vwp/eval_examples 2023-05-04 23:20:23 -07:00
Zander Chase
6032a051e9 Add Tenant ID to V2 Tracer (#4135)
Update the V2 tracer to
- use UUIDs instead of int's
- load a tenant ID and use that when saving sessions
2023-05-04 21:35:20 -07:00
vowelparrot
fa9b296c55 Merge branch 'vwp/add_tenant' into vwp/eval_examples 2023-05-04 21:09:25 -07:00
vowelparrot
ede1bf204c change name 2023-05-04 20:56:31 -07:00
vowelparrot
c2f856fac9 further linting 2023-05-04 20:56:31 -07:00
vowelparrot
059f4e8bb6 Update session 2023-05-04 20:56:31 -07:00
vowelparrot
712d4a228e Update V2 Tracer to be compatible with new data model
Add tenant ID's and update UUID's in runs and sessions
2023-05-04 20:56:31 -07:00
Zander Chase
faa30c8ac5 Visual Studio Code/Github Codespaces Dev Containers (#4035) (#4122)
Having dev containers makes its easier, faster and secure to setup the
dev environment for the repository.

The pull request consists of:

- .devcontainer folder with:
- **devcontainer.json :** (minimal necessary vscode extensions and
settings)
- **docker-compose.yaml :** (could be modified to run necessary services
as per need. Ex vectordbs, databases)
    - **Dockerfile:**(non root with dev tools)
- Changes to README - added the Open in Github Codespaces Badge - added
the Open in dev container Badge

Co-authored-by: Jinto Jose <129657162+jj701@users.noreply.github.com>
2023-05-04 20:56:31 -07:00
vowelparrot
4c3982464d Update uuid typing and the works 2023-05-04 20:56:21 -07:00
Zander Chase
fea639c1fc Vwp/sqlalchemy (#4145)
Bump threshold to 1.4 from 1.3. Change import to be compatible

Resolves #4142 and #4129

---------

Co-authored-by: ndaugreal <ndaugreal@gmail.com>
Co-authored-by: Jeremy Lopez <lopez86@users.noreply.github.com>
2023-05-04 20:46:38 -07:00
Zander Chase
2f087d63af Fix Python RePL Tool (#4137)
Filter out kwargs from inferred schema when determining if a tool is
single input.

Add a couple unit tests.

Move tool unit tests to the tools dir
2023-05-04 20:31:16 -07:00
vowelparrot
52a7453469 Merge branch 'vwp/add_tenant' into vwp/eval_examples 2023-05-04 16:37:40 -07:00
Zander Chase
cc068f1b77 Add Issue Templates (#4021)
Add issue templates for
- bug reports
- feature suggestions
- documentation
and a link to the discord for general discussion.

Open to other suggestions here. Could also add another "Other" template
with just a raw text box if we think this is too restrictive


<img width="1464" alt="image"
src="https://user-images.githubusercontent.com/130414180/236115358-e603bcbe-282c-40c7-82eb-905eb93ccec0.png">
2023-05-04 16:33:52 -07:00
vowelparrot
f16e413c7c further linting 2023-05-04 16:33:38 -07:00
vowelparrot
9d1889bb59 Update session 2023-05-04 16:25:41 -07:00
vowelparrot
0304a1a563 Migrating to new endpoints 2023-05-04 15:39:30 -07:00
vowelparrot
7058b207fb Let 'Outputs' be None 2023-05-04 15:06:13 -07:00
vowelparrot
40253143d6 Switch to using an asyncio Queue instead of batches 2023-05-04 15:06:13 -07:00
vowelparrot
4f4d1799b0 Add tests 2023-05-04 15:06:13 -07:00
vowelparrot
50615a5282 add html repr 2023-05-04 15:06:13 -07:00
vowelparrot
92a91e54fb Rerun 2023-05-04 15:06:13 -07:00
vowelparrot
054b4ff0d3 Change Name 2023-05-04 15:06:13 -07:00
vowelparrot
759445229b Add del 2023-05-04 15:06:13 -07:00
vowelparrot
93159c6088 add testing 2023-05-04 15:06:13 -07:00
vowelparrot
ee4d92aa00 Update Client 2023-05-04 15:06:13 -07:00
vowelparrot
ddc26e074e [WIP] Example Notebook running a chain on a dataset 2023-05-04 15:06:11 -07:00
vowelparrot
2fd3133239 Update session 2023-05-04 15:04:15 -07:00
vowelparrot
0a87cbd1e6 Update V2 Tracer to be compatible with new data model
Add tenant ID's and update UUID's in runs and sessions
2023-05-04 13:41:17 -07:00
Zander Chase
2df6119194 Visual Studio Code/Github Codespaces Dev Containers (#4035) (#4122)
Having dev containers makes its easier, faster and secure to setup the
dev environment for the repository.

The pull request consists of:

- .devcontainer folder with:
- **devcontainer.json :** (minimal necessary vscode extensions and
settings)
- **docker-compose.yaml :** (could be modified to run necessary services
as per need. Ex vectordbs, databases)
    - **Dockerfile:**(non root with dev tools)
- Changes to README - added the Open in Github Codespaces Badge - added
the Open in dev container Badge

Co-authored-by: Jinto Jose <129657162+jj701@users.noreply.github.com>
2023-05-04 13:41:17 -07:00
Zander Chase
ac0a9d02bd Visual Studio Code/Github Codespaces Dev Containers (#4035) (#4122)
Having dev containers makes its easier, faster and secure to setup the
dev environment for the repository.

The pull request consists of:

- .devcontainer folder with:
- **devcontainer.json :** (minimal necessary vscode extensions and
settings)
- **docker-compose.yaml :** (could be modified to run necessary services
as per need. Ex vectordbs, databases)
    - **Dockerfile:**(non root with dev tools)
- Changes to README - added the Open in Github Codespaces Badge - added
the Open in dev container Badge

Co-authored-by: Jinto Jose <129657162+jj701@users.noreply.github.com>
2023-05-04 11:37:00 -07:00
Harrison Chase
d86ed15d88 bump version to 158 (#4091) v0.0.158 2023-05-04 09:14:47 -07:00
OlajideOgun
624554a43a DeepLake: Pass in rest of args to self._search_helper (#4080)
As of right now when trying to use functions like
`max_marginal_relevance_search()` or
`max_marginal_relevance_search_by_vector()` the rest of the kwargs are
not propagated to `self._search_helper()`. For example a user cannot
explicitly state the distance_metric they want to use when calling
`max_marginal_relevance_search`
2023-05-04 02:14:22 -07:00
Eduard van Valkenburg
6d84541ff9 fix base url (#4095)
Noticed a mistake in the base url and group vs non-group urls
2023-05-04 02:08:21 -07:00
Harrison Chase
a9c2450330 Harrison/toml loader (#4090)
Co-authored-by: Mika Ayenson <Mikaayenson@users.noreply.github.com>
2023-05-03 23:14:39 -07:00
Harrison Chase
d4cf1eb60a Add firestore memory (#3792) (#3941)
If you have any other suggestions or feedback, please let me know.

---------

Co-authored-by: yakigac <10434946+yakigac@users.noreply.github.com>
2023-05-03 22:55:47 -07:00
Harrison Chase
fba6921b50 Harrison/one drive loader (#4081)
Co-authored-by: José Ferraz Neto <netoferraz@gmail.com>
2023-05-03 22:55:34 -07:00
golergka
bd277b5327 feat: prune summary buffer (#4004)
If the library user has to decrease the `max_token_limit`, he would
probably want to prune the summary buffer even though he haven't added
any new messages.

Personally, I need it because I want to serialise memory buffer object
and save to database, and when I load it, I may have re-configured my
code to have a shorter memory to save on tokens.
2023-05-03 22:45:48 -07:00