Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private constructor(

/**
* A unique identifier used to link different dataset events together as part of a full trace.
* See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full details on
* See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full details on
* tracing
*/
fun spanId(): String = spanId.getRequired("span_id")
Expand Down Expand Up @@ -135,7 +135,7 @@ private constructor(

/**
* A unique identifier used to link different dataset events together as part of a full trace.
* See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full details on
* See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full details on
* tracing
*/
@JsonProperty("span_id") @ExcludeMissing fun _spanId() = spanId
Expand Down Expand Up @@ -342,14 +342,14 @@ private constructor(

/**
* A unique identifier used to link different dataset events together as part of a full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full
* details on tracing
*/
fun spanId(spanId: String) = spanId(JsonField.of(spanId))

/**
* A unique identifier used to link different dataset events together as part of a full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full
* details on tracing
*/
@JsonProperty("span_id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters are
Expand Down Expand Up @@ -227,7 +227,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters
Expand Down Expand Up @@ -409,7 +409,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters are
Expand All @@ -422,7 +422,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ private constructor(

/**
* A unique identifier used to link different experiment events together as part of a full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full
* details on tracing
* trace. See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full details
* on tracing
*/
fun spanId(): String = spanId.getRequired("span_id")

Expand Down Expand Up @@ -259,8 +259,8 @@ private constructor(

/**
* A unique identifier used to link different experiment events together as part of a full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full
* details on tracing
* trace. See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full details
* on tracing
*/
@JsonProperty("span_id") @ExcludeMissing fun _spanId() = spanId

Expand Down Expand Up @@ -613,14 +613,14 @@ private constructor(

/**
* A unique identifier used to link different experiment events together as part of a full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full
* details on tracing
*/
fun spanId(spanId: String) = spanId(JsonField.of(spanId))

/**
* A unique identifier used to link different experiment events together as part of a full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full
* details on tracing
*/
@JsonProperty("span_id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters are
Expand Down Expand Up @@ -227,7 +227,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters
Expand Down Expand Up @@ -409,7 +409,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters are
Expand All @@ -422,7 +422,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot be
* specified alongside `_is_merge=true`. Tracking hierarchical relationships are important for
* tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing) for full details).
* tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the parent
Expand Down Expand Up @@ -150,7 +150,7 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot be
* specified alongside `_is_merge=true`. Tracking hierarchical relationships are important for
* tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing) for full details).
* tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the parent
Expand Down Expand Up @@ -365,8 +365,8 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot
* be specified alongside `_is_merge=true`. Tracking hierarchical relationships are
* important for tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing)
* for full details).
* important for tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for
* full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the
Expand All @@ -380,8 +380,8 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot
* be specified alongside `_is_merge=true`. Tracking hierarchical relationships are
* important for tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing)
* for full details).
* important for tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for
* full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot be
* specified alongside `_is_merge=true`. Tracking hierarchical relationships are important for
* tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing) for full details).
* tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the parent
Expand Down Expand Up @@ -270,7 +270,7 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot be
* specified alongside `_is_merge=true`. Tracking hierarchical relationships are important for
* tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing) for full details).
* tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the parent
Expand Down Expand Up @@ -627,8 +627,8 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot
* be specified alongside `_is_merge=true`. Tracking hierarchical relationships are
* important for tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing)
* for full details).
* important for tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for
* full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the
Expand All @@ -642,8 +642,8 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot
* be specified alongside `_is_merge=true`. Tracking hierarchical relationships are
* important for tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing)
* for full details).
* important for tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for
* full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot be
* specified alongside `_is_merge=true`. Tracking hierarchical relationships are important for
* tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing) for full details).
* tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the parent
Expand Down Expand Up @@ -247,7 +247,7 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot be
* specified alongside `_is_merge=true`. Tracking hierarchical relationships are important for
* tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing) for full details).
* tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the parent
Expand Down Expand Up @@ -579,8 +579,8 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot
* be specified alongside `_is_merge=true`. Tracking hierarchical relationships are
* important for tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing)
* for full details).
* important for tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for
* full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the
Expand All @@ -594,8 +594,8 @@ private constructor(
/**
* Use the `_parent_id` field to create this row as a subspan of an existing row. It cannot
* be specified alongside `_is_merge=true`. Tracking hierarchical relationships are
* important for tracing (see the [guide](https://www.braintrust.dev/docs/guides/tracing)
* for full details).
* important for tracing (see the [guide](https://www.braintrust.dev/docs/instrument) for
* full details).
*
* For example, say we have logged a row `{"id": "abc", "input": "foo", "output": "bar",
* "expected": "boo", "scores": {"correctness": 0.33}}`. We can create a sub-span of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters are
Expand Down Expand Up @@ -227,7 +227,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters
Expand Down Expand Up @@ -409,7 +409,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters are
Expand All @@ -422,7 +422,7 @@ constructor(

/**
* NOTE: This parameter is deprecated and will be removed in a future revision. Consider
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/btql) for more
* using the `/btql` endpoint (https://www.braintrust.dev/docs/reference/sql) for more
* advanced filtering.
*
* A list of filters on the events to fetch. Currently, only path-lookup type filters are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ private constructor(

/**
* A unique identifier used to link different project logs events together as part of a full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full
* details on tracing
* trace. See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full details
* on tracing
*/
fun spanId(): String = spanId.getRequired("span_id")

Expand Down Expand Up @@ -243,8 +243,8 @@ private constructor(

/**
* A unique identifier used to link different project logs events together as part of a full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full
* details on tracing
* trace. See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full details
* on tracing
*/
@JsonProperty("span_id") @ExcludeMissing fun _spanId() = spanId

Expand Down Expand Up @@ -583,14 +583,14 @@ private constructor(

/**
* A unique identifier used to link different project logs events together as part of a full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full
* details on tracing
*/
fun spanId(spanId: String) = spanId(JsonField.of(spanId))

/**
* A unique identifier used to link different project logs events together as part of a full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/guides/tracing) for full
* trace. See the [tracing guide](https://www.braintrust.dev/docs/instrument) for full
* details on tracing
*/
@JsonProperty("span_id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface EvalServiceAsync {
* the Braintrust SDK. In the Eval API, you provide pointers to a dataset, task function, and
* scoring functions. The API will then run the evaluation, create an experiment, and return the
* results along with a link to the experiment. To learn more about evals, see the
* [Evals guide](https://www.braintrust.dev/docs/guides/evals).
* [Evals guide](https://www.braintrust.dev/docs/evaluate/run-evaluations).
*/
suspend fun create(
params: EvalCreateParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ constructor(
* the Braintrust SDK. In the Eval API, you provide pointers to a dataset, task function, and
* scoring functions. The API will then run the evaluation, create an experiment, and return the
* results along with a link to the experiment. To learn more about evals, see the
* [Evals guide](https://www.braintrust.dev/docs/guides/evals).
* [Evals guide](https://www.braintrust.dev/docs/evaluate/run-evaluations).
*/
override suspend fun create(
params: EvalCreateParams,
Expand Down
Loading