Skip to content

parameters tags#2060

Closed
john (j13huang) wants to merge 1 commit into
mainfrom
parameters-tags
Closed

parameters tags#2060
john (j13huang) wants to merge 1 commit into
mainfrom
parameters-tags

Conversation

@j13huang

@j13huang john (j13huang) commented May 28, 2026

Copy link
Copy Markdown
Contributor

Support tags in the sdk for parameters. Allows something like this:

bt functions push params.js

Details
import * as braintrust from "braintrust";
import { z } from "zod";

const project = braintrust.projects.create({
  name: "My Project",
});

export const evalConfig = project.parameters.create({
  name: "my_params_js",
  slug: "my-params-js",
  description: "Configuration for model evaluation",
  schema: {
    foo: z.string().default("hello world"),
  },
  metadata: { version: "1.0" },
  tags: ["tag-1", "tag-2"],
});

Produces this in the product:

image

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If this PR is still relevant, please leave a comment, push an update, or remove the stale label. Thank you for your contributions!

@github-actions github-actions Bot added the stale label Jun 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request was closed because it has been inactive for 21 days (14 days of inactivity before being marked stale, plus 7 additional days). If this PR is still relevant, please feel free to reopen it. Thank you!

@github-actions github-actions Bot closed this Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant