Skip to content

Add support for tags in during prompt creation #1050

@steffendsommer

Description

@steffendsommer

In my CI/CD pipeline I sync prompts from code to Braintrust with a simple script that uses the Braintryst TypeScript SDK:

const project = braintrust.projects.create({ name: 'my-project' });
project.prompts.create({
    slug: 'my-prompt',
    name: 'My Prompt',
    model: 'gpt-4o',
    messages: ...
    ifExists: "replace",
});

As far as I can tell, the SDK don't support adding tags to my prompt during creation. That would be great to be able to do that (instead of having to use the API directly).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions