Commit Graph

1804 Commits

Author SHA1 Message Date
vowelparrot
15510bae4a Merge branch 'vwp/lcp_client' into vwp/eval_examples 2023-05-05 14:20:58 -07:00
vowelparrot
15afdd0858 Update V2 Tracer
- Update the RunCreate object to work with recent changes
- Adjust default persist_session behavior to attempt to
load the session if it exists
- Raise more useful HTTP errors for logging
- Add unit testing
2023-05-05 14:18:00 -07:00
vowelparrot
636877b3af Merge branch 'vwp/lcp_client' into vwp/eval_examples 2023-05-05 14:17:36 -07:00
vowelparrot
b7508d9b52 Update V2 Tracer
- Update the RunCreate object to work with recent changes
- Adjust default persist_session behavior to attempt to
load the session if it exists
- Raise more useful HTTP errors for logging
- Add unit testing
2023-05-05 14:16:55 -07:00
vowelparrot
1d58a49b78 Merge branch 'vwp/lcp_client' into vwp/eval_examples 2023-05-05 14:15:54 -07:00
vowelparrot
8c84538bf5 Update V2 Tracer
- Update the RunCreate object to work with recent changes
- Adjust default persist_session behavior to attempt to
load the session if it exists
- Raise more useful HTTP errors for logging
- Add unit testing
2023-05-05 14:11:28 -07:00
Anurag
19e28d8784 feat: Allow users to pass additional arguments to the WebDriver (#4121)
This commit adds support for passing additional arguments to the
`SeleniumURLLoader ` when creating Chrome or Firefox web drivers.
Previously, only a few arguments such as `headless` could be passed in.
With this change, users can pass any additional arguments they need as a
list of strings using the `arguments` parameter.

The `arguments` parameter allows users to configure the driver with any
options that are available for that particular browser. For example,
users can now pass custom `user_agent` strings or `proxy` settings using
this parameter.

This change also includes updated documentation and type hints to
reflect the new `arguments` parameter and its usage.

fixes #4120
2023-05-05 13:24:42 -07:00
hp0404
2a3c5f8353 Update WhatsAppChatLoader regex to handle multiple date-time formats (#4186)
This PR updates the `message_line_regex` used by `WhatsAppChatLoader` to
support different date-time formats used in WhatsApp chat exports;
resolves #4153.

The new regex handles the following input formats:
```terminal
[05.05.23, 15:48:11] James: Hi here
[11/8/21, 9:41:32 AM] User name: Message 123
1/23/23, 3:19 AM - User 2: Bye!
1/23/23, 3:22_AM - User 1: And let me know if anything changes
```

Tests have been added to verify that the loader works correctly with all
formats.
2023-05-05 13:13:05 -07:00
Nicolas
a57259ec83 docs: Mendable Fixes and Improvements (#4184)
Overall fixes and improvements.
2023-05-05 13:04:24 -07:00
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