Skip to content

parameters tags#2060

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

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

Conversation

@j13huang
Copy link
Copy Markdown
Contributor

@j13huang john (j13huang) commented May 28, 2026

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant