Reference/SDK/Typescript/Modules

Namespace: default

References

AnyDataset

Re-exports AnyDataset


BackgroundLoggerOpts

Re-exports BackgroundLoggerOpts


BaseExperiment

Re-exports BaseExperiment


BaseMetadata

Re-exports BaseMetadata


BraintrustState

Re-exports BraintrustState


BraintrustStream

Re-exports BraintrustStream


BraintrustStreamChunk

Re-exports BraintrustStreamChunk


ChatPrompt

Re-exports ChatPrompt


CodeFunction

Re-exports CodeFunction


CodePrompt

Re-exports CodePrompt


CommentEvent

Re-exports CommentEvent


CompiledPrompt

Re-exports CompiledPrompt


CompiledPromptParams

Re-exports CompiledPromptParams


CompletionPrompt

Re-exports CompletionPrompt


CreateProjectOpts

Re-exports CreateProjectOpts


DataSummary

Re-exports DataSummary


Dataset

Re-exports Dataset


DatasetRecord

Re-exports DatasetRecord


DatasetSummary

Re-exports DatasetSummary


DefaultMetadataType

Re-exports DefaultMetadataType


DefaultPromptArgs

Re-exports DefaultPromptArgs


EndSpanArgs

Re-exports EndSpanArgs


Eval

Re-exports Eval


EvalCase

Re-exports EvalCase


EvalResult

Re-exports EvalResult


EvalScorer

Re-exports EvalScorer


EvalScorerArgs

Re-exports EvalScorerArgs


EvalTask

Re-exports EvalTask


Evaluator

Re-exports Evaluator


EvaluatorDef

Re-exports EvaluatorDef


EvaluatorFile

Re-exports EvaluatorFile


Experiment

Re-exports Experiment


ExperimentLogFullArgs

Re-exports ExperimentLogFullArgs


ExperimentLogPartialArgs

Re-exports ExperimentLogPartialArgs


ExperimentSummary

Re-exports ExperimentSummary


Exportable

Re-exports Exportable


FailedHTTPResponse

Re-exports FailedHTTPResponse


FullInitOptions

Re-exports FullInitOptions


FullLoginOptions

Re-exports FullLoginOptions


IdField

Re-exports IdField


InitOptions

Re-exports InitOptions


InputField

Re-exports InputField


InputsField

Re-exports InputsField


InvokeFunctionArgs

Re-exports InvokeFunctionArgs


InvokeReturn

Re-exports InvokeReturn


LEGACY_CACHED_HEADER

Re-exports LEGACY_CACHED_HEADER


LazyValue

Re-exports LazyValue


LogCommentFullArgs

Re-exports LogCommentFullArgs


LogFeedbackFullArgs

Re-exports LogFeedbackFullArgs


LogOptions

Re-exports LogOptions


Logger

Re-exports Logger


LoginOptions

Re-exports LoginOptions


MetricSummary

Re-exports MetricSummary


NOOP_SPAN

Re-exports NOOP_SPAN


NoopSpan

Re-exports NoopSpan


ObjectMetadata

Re-exports ObjectMetadata


OtherExperimentLogFields

Re-exports OtherExperimentLogFields


ParentExperimentIds

Re-exports ParentExperimentIds


ParentProjectLogIds

Re-exports ParentProjectLogIds


Project

Re-exports Project


PromiseUnless

Re-exports PromiseUnless


Prompt

Re-exports Prompt


PromptBuilder

Re-exports PromptBuilder


PromptOpts

Re-exports PromptOpts


PromptRowWithId

Re-exports PromptRowWithId


ReadonlyExperiment

Re-exports ReadonlyExperiment


Reporter

Re-exports Reporter


ReporterBody

Re-exports ReporterBody


ScoreSummary

Re-exports ScoreSummary


SerializedBraintrustState

Re-exports SerializedBraintrustState


SetCurrentArg

Re-exports SetCurrentArg


Span

Re-exports Span


SpanContext

Re-exports SpanContext


SpanImpl

Re-exports SpanImpl


StartSpanArgs

Re-exports StartSpanArgs


ToolBuilder

Re-exports ToolBuilder


ToolFunctionDefinition

Re-exports ToolFunctionDefinition


ToolOpts

Re-exports ToolOpts


WithTransactionId

Re-exports WithTransactionId


X_CACHED_HEADER

Re-exports X_CACHED_HEADER


_internalGetGlobalState

Re-exports _internalGetGlobalState


_internalSetInitialState

Re-exports _internalSetInitialState


braintrustStreamChunkSchema

Re-exports braintrustStreamChunkSchema


buildLocalSummary

Re-exports buildLocalSummary


createFinalValuePassThroughStream

Re-exports createFinalValuePassThroughStream


currentExperiment

Re-exports currentExperiment


currentLogger

Re-exports currentLogger


currentSpan

Re-exports currentSpan


devNullWritableStream

Re-exports devNullWritableStream


flush

Re-exports flush


getSpanParentObject

Re-exports getSpanParentObject


init

Re-exports init


initDataset

Re-exports initDataset


initExperiment

Re-exports initExperiment


initLogger

Re-exports initLogger


invoke

Re-exports invoke


loadPrompt

Re-exports loadPrompt


log

Re-exports log


logError

Re-exports logError


login

Re-exports login


loginToState

Re-exports loginToState


newId

Re-exports newId


parseCachedHeader

Re-exports parseCachedHeader


projects

Re-exports projects


renderMessage

Re-exports renderMessage


reportFailures

Re-exports reportFailures


setFetch

Re-exports setFetch


startSpan

Re-exports startSpan


summarize

Re-exports summarize


toolFunctionDefinitionSchema

Re-exports toolFunctionDefinitionSchema


traceable

Re-exports traceable


traced

Re-exports traced


updateSpan

Re-exports updateSpan


withCurrent

Re-exports withCurrent


withDataset

Re-exports withDataset


withExperiment

Re-exports withExperiment


withLogger

Re-exports withLogger


wrapAISDKModel

Re-exports wrapAISDKModel


wrapOpenAI

Re-exports wrapOpenAI


wrapOpenAIv4

Re-exports wrapOpenAIv4


wrapTraced

Re-exports wrapTraced

On this page

Namespace: defaultReferencesAnyDatasetBackgroundLoggerOptsBaseExperimentBaseMetadataBraintrustStateBraintrustStreamBraintrustStreamChunkChatPromptCodeFunctionCodePromptCommentEventCompiledPromptCompiledPromptParamsCompletionPromptCreateProjectOptsDataSummaryDatasetDatasetRecordDatasetSummaryDefaultMetadataTypeDefaultPromptArgsEndSpanArgsEvalEvalCaseEvalResultEvalScorerEvalScorerArgsEvalTaskEvaluatorEvaluatorDefEvaluatorFileExperimentExperimentLogFullArgsExperimentLogPartialArgsExperimentSummaryExportableFailedHTTPResponseFullInitOptionsFullLoginOptionsIdFieldInitOptionsInputFieldInputsFieldInvokeFunctionArgsInvokeReturnLEGACY_CACHED_HEADERLazyValueLogCommentFullArgsLogFeedbackFullArgsLogOptionsLoggerLoginOptionsMetricSummaryNOOP_SPANNoopSpanObjectMetadataOtherExperimentLogFieldsParentExperimentIdsParentProjectLogIdsProjectPromiseUnlessPromptPromptBuilderPromptOptsPromptRowWithIdReadonlyExperimentReporterReporterBodyScoreSummarySerializedBraintrustStateSetCurrentArgSpanSpanContextSpanImplStartSpanArgsToolBuilderToolFunctionDefinitionToolOptsWithTransactionIdX_CACHED_HEADER_internalGetGlobalState_internalSetInitialStatebraintrustStreamChunkSchemabuildLocalSummarycreateFinalValuePassThroughStreamcurrentExperimentcurrentLoggercurrentSpandevNullWritableStreamflushgetSpanParentObjectinitinitDatasetinitExperimentinitLoggerinvokeloadPromptloglogErrorloginloginToStatenewIdparseCachedHeaderprojectsrenderMessagereportFailuressetFetchstartSpansummarizetoolFunctionDefinitionSchematraceabletracedupdateSpanwithCurrentwithDatasetwithExperimentwithLoggerwrapAISDKModelwrapOpenAIwrapOpenAIv4wrapTraced