Commit Graph

372 Commits

Author SHA1 Message Date
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 6a9d12265d [Python] 0.1.23 (#512) 2024-03-07 19:36:47 -08: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
dependabot[bot] 2674bc10ac Bump orjson from 3.9.14 to 3.9.15 in /python (#503)
Bumps [orjson](https://github.com/ijl/orjson) from 3.9.14 to 3.9.15.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/ijl/orjson/releases">orjson's
releases</a>.</em></p>
<blockquote>
<h2>3.9.15</h2>
<h3>Fixed</h3>
<ul>
<li>Implement recursion limit of 1024 on
<code>orjson.loads()</code>.</li>
<li>Use byte-exact read on <code>str</code> formatting SIMD path to
avoid crash.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ijl/orjson/blob/master/CHANGELOG.md">orjson's
changelog</a>.</em></p>
<blockquote>
<h2>3.9.15 - 2024-02-23</h2>
<h3>Fixed</h3>
<ul>
<li>Implement recursion limit of 1024 on
<code>orjson.loads()</code>.</li>
<li>Use byte-exact read on <code>str</code> formatting SIMD path to
avoid crash.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ijl/orjson/commit/a348f59f0b55d92a1364523560f52f5b3cf9c12a"><code>a348f59</code></a>
3.9.15</li>
<li><a
href="https://github.com/ijl/orjson/commit/b0e4d2c06ce06c6e63981bf0276e4b7c74e5845e"><code>b0e4d2c</code></a>
yyjson 0eca326, recursion limit</li>
<li><a
href="https://github.com/ijl/orjson/commit/5067eadc84cf516e4eb33bcb09ad756bb59dc42e"><code>5067ead</code></a>
impl_escape_unchecked() byte exact read</li>
<li><a
href="https://github.com/ijl/orjson/commit/e04ea735b087742b6cee738aa295d8b835c3a195"><code>e04ea73</code></a>
cargo update, build misc</li>
<li>See full diff in <a
href="https://github.com/ijl/orjson/compare/3.9.14...3.9.15">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=orjson&package-manager=pip&previous-version=3.9.14&new-version=3.9.15)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/langchain-ai/langsmith-sdk/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 16:57:00 -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
William FH 238ed5a3ed [Python] 0.1.16 (#492)
Fix a bug that occurs when using Datadog (they patch threading.lock,
making it non-deep-copyable)
2024-03-04 12:56:04 -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 b4294a111e [Python] 0.1.15 (#490)
Support for custom hide_inputs/outputs in python
2024-03-04 11:53:21 -08:00
Bagatur ad3af50f67 docs: readme badges (#489) 2024-03-04 10:26:28 -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 e4c85130dc [Python] Release 0.1.14 (#487) 2024-03-03 15:44:15 -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 d0a64dafa6 Release (#484) 2024-03-01 19:37:58 -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 ac92109e67 Release (#480) 2024-02-27 13:48:17 -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 a395085b86 [0.1.7] Release (#473) 2024-02-23 17:05:07 -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 ca944c68ea Bump Version (#468) 2024-02-23 09:15:32 -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 bedc1c9e30 Bump sdk versions (#458) 2024-02-20 19:06:21 -05:00
infra c635407007 Bump sdk versions 2024-02-20 16:03:54 -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 c70c787fae Release (#452) 2024-02-16 10:37:09 -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 4ef2c932ab 0.1.0 (#443) 2024-02-15 00:12:49 -08:00
William FH a9a12e98f2 Release w/ updates to listRuns (#440) 2024-02-14 14:27:02 -08:00