GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Braintrust home page
  • Contact us
  • Dashboard
  • Integrations
  • SDKs
  • Reference
  • Cookbook
  • Troubleshooting
  • Changelog
  • Glossary
  • Overview
  • Query by SQL
  • Quickstart
  • Overview

This view

  • Original page
  • New address

GeezerVison is showing docs.braintrust.dev — bt init - Braintrust

bt init saves a default Braintrust organization and existing project for the current directory in .bt/config.json. Project-scoped bt commands run from that directory or its subdirectories use this local context unless you override it with command-line options or environment variables.
bt init
bt init --org acme --project my-app
For example, after the second command, the following commands use the acme/my-app project by default:
bt datasets list
bt prompts list
bt experiments list
bt scorers list
bt view logs
bt init does not create a Braintrust project or instrument your application. In an interactive terminal, it prompts you to select a profile, organization, and project when needed. In a non-interactive environment, pass --org and --project; also pass --profile if bt cannot select one unambiguously. To change the saved context later, use bt switch --local.

Flags

bt init uses the shared global flags, including --org, --project, --profile, and --json.

Was this page helpful?

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.