234 Commits

Author SHA1 Message Date
infra 3dc9f15c3c bump 0.1.19 2024-03-08 17:38:50 -05:00
langchain-infra ac354396dd Merge branch 'main' into infra/change-image-env-var 2024-03-08 12:42:52 -05:00
infra 432462482e bump 0.1.19 2024-03-08 12:42:05 -05:00
infra 75f82c8c54 bump 0.1.19 2024-03-08 12:41:10 -05:00
infra db1428064e bump 0.1.19 2024-03-08 12:36:58 -05:00
William FH 95d7d9d855 Permit manual provision of info (#511) 2024-03-07 19:21:40 -08:00
infra 75c41b3995 fix: env var name 2024-03-05 23:07:29 -08:00
William FH 4952ae753e Add diff_dataset_versions (#502)
Add support for fetching the modifications between two different dataset
versions
2024-03-05 16:59:57 -08:00
langchain-infra 8a67e50848 [Docker-Compose] Remove Unused Config Values (#501)
Currently we don't support clustered clickhouse so we should remove the
ability to configure it(most people use clustered clickhouse unless on
clickhouse cloud!)
2024-03-05 16:57:55 -08:00
infra 19706a37fe feat: Peg docker compose version and use new image names
use saq

Add configurable values everywhere

fix env vars

fix env vars

fix env vars

feat: Peg docker compose version and use new image names

update template

update template

update template

update template

update template

fmt
2024-03-05 08:41:40 -08:00
William FH b37085fabe fix threading (#499)
- Call info within tracing queue
- Default to batching even if info endpoint fails

If you turn batching off, you have to make your own tracer / traceable
flow that handles threading yourself now.
2024-03-05 08:03:46 -08:00
William FH db5c45920c Only pass if populated (#497) 2024-03-04 23:36:35 -08:00
William FH 34d0dfe639 Add dataset taggingg (#496) 2024-03-04 21:06:56 -08:00
William FH 40c4470a57 Add dataset version args to runner (#495)
and remove "tags"
2024-03-04 17:17:17 -08:00
William FH 3362883119 [Python] list_examples by tag (#494) 2024-03-04 14:07:40 -08:00
Nuno Campos fa795abb5e Cannot use underscore_attrs_are_private together with default_factory (#491) 2024-03-04 12:54:04 -08:00
William FH 9b224db58f Custom hide/filter inputs/outputs (#488)
This lets you scope hide inputs/outputs to a client. It also lets you
add custom filters (rather than just masking everything.

You could then use this in the traceable decorator or langchain tracer
to filter runs within a given trace.

It would _not_ facilitate filtering on a span level though, since it
only sees the inputs/outputs and the client is shared within a trace.

Alternatives could include a single function (filter_run) that takes in
a Run object, though then we'd have to re-construct the run within the
client, which is a bit annoying
2024-03-04 09:23:55 -08:00
William FH 6e917c491e Auto Print URL (#483) 2024-03-03 15:43:22 -08:00
Harrison Chase e49153645d add metadata to example, allow for creating feedback on the session level (#486)
Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com>
2024-03-03 15:30:57 -08:00
William FH 40fee5e0b4 Add presigned feedback method (#482) 2024-03-01 18:39:48 -08:00
William Fu-Hinthorn 2ffa92fa9c Add list examples and runs args 2024-03-01 11:51:15 -08:00
William FH 24b03eef22 Update RunTree (#481) 2024-03-01 11:16:00 -08:00
William FH 5994f5f242 Add trace filter (#478) 2024-02-27 13:14:54 -08:00
William FH 13902a599a Make tenant call optional (#477) 2024-02-26 12:52:41 -08:00
William FH 86c2a44fd6 Batching Fix (#474) 2024-02-24 18:50:22 -08:00
William FH d79fcf164d Wfh/strip not given (#472) 2024-02-23 16:01:16 -08:00
William FH 54ff955f87 Orjson non str key fix (#471) 2024-02-23 15:58:38 -08:00
William FH 563dcb5f7b Add split batches (#469) 2024-02-22 17:29:15 -08:00
William FH fc65996e98 Add py 429 retries (#467) 2024-02-22 16:17:34 -08:00
infra fef4281668 Fix migrations 2024-02-20 17:29:58 -08:00
langchain-infra 7cd4002cdd Merge branch 'main' into infra/retry-clickhouse 2024-02-20 14:51:39 -05:00
infra acf4b3e4de Add retries to clickhouse 2024-02-20 11:49:28 -08:00
William FH c1a81fc463 Rename get_current_run_tree (#454) 2024-02-19 22:07:23 -08:00
William FH 1b40136dd2 Wfh/project name (#449)
Add support for:
```
@traceable(project_name="foo")
def foo():
    pass
```
and

```
langsmith.run_helpers.get_current_run_tree()
```

Add support for
```
run_tree.add_metadata()
run_tree.add_events()
run_tree.add_tags()
```
2024-02-16 10:12:44 -08:00
William FH 01211bca96 Update typehints (#448)
So you get linter warnings if you try to do a name. It doesn't actually
alter the behavior, so if we choose to extend the number of types, it
would just be a linting issue rather than a runtime issue
2024-02-15 12:28:02 -08:00
William FH 286a5a60c6 0.1.1 (#445)
Add Warnings for unrecognized traceable run_type
2024-02-15 09:14:14 -08:00
William FH a9a12e98f2 Release w/ updates to listRuns (#440) 2024-02-14 14:27:02 -08:00
William FH dc8e7db9ee Add multi project query support (OR) (#439) 2024-02-14 13:19:35 -08:00
William FH 5502cbf233 Add first token time for oai wrapper (#435) 2024-02-13 12:26:45 -08:00
Nuno Campos 6ff1369f7c OpenAI Wrapper: Don't ignore function/tool calls in openai streaming … (#431) 2024-02-10 18:38:24 -08:00
Savvas Mantzouranidis 4846756b2e fix depracation warning of .utcnow() (#418)
as seen in the [official
docs](https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow)
datetime.datetime.utcnow() is being deprecated and the suggested
function to use instead is datetime.datetime.now(datetime.UTC) (which
also supports the .isoformat() function)

---------

Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com>
2024-02-09 17:01:12 -08:00
William FH be5c741b46 Filter retries (#419) 2024-02-09 16:57:36 -08:00
Nuno Campos 8c3c4c9c39 Fix start_time getting overwrriten when using batch endpoint (#421) 2024-02-09 12:40:03 -08:00
William FH d2ee8b530c rm 429 (#416) 2024-02-09 08:07:10 -08:00
William FH f7657d96c0 Improve logging (#413) 2024-02-08 18:36:59 -08:00
William FH c27e0fce96 Fix threadpoole exutor and batching (#412) 2024-02-08 18:35:49 -08:00
Nuno Campos da4595b889 Enable auto batch (#391)
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
2024-02-07 01:09:35 -08:00
William FH 8e26d22dfb Include stats in readProject (#408)
and speed up int tests
2024-02-07 00:17:26 -08:00
William FH 8fdd2f45c1 Add include_stats (#407) 2024-02-06 13:00:52 -08:00
William FH 8ed33dd725 Wfh/use system batch config (#404) 2024-02-05 16:30:38 -08:00