Dagger
Search

evals

No long description provided.

Installation

dagger install github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3

Entrypoint

Return Type
Evals !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
func (m *MyModule) Example() *dagger.Evals  {
	return dag.
			Evals()
}
@function
def example() -> dagger.Evals:
	return (
		dag.evals()
	)
@func()
example(): Evals {
	return dag
		.evals()
}

Types

Evals 🔗

model() 🔗

Return Type
String !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 model
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Evals().
			Model(ctx)
}
@function
async def example() -> str:
	return await (
		dag.evals()
		.model()
	)
@func()
async example(): Promise<string> {
	return dag
		.evals()
		.model()
}

attempt() 🔗

Return Type
Integer !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 attempt
func (m *MyModule) Example(ctx context.Context) int  {
	return dag.
			Evals().
			Attempt(ctx)
}
@function
async def example() -> int:
	return await (
		dag.evals()
		.attempt()
	)
@func()
async example(): Promise<number> {
	return dag
		.evals()
		.attempt()
}

systemPrompt() 🔗

Return Type
String !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 system-prompt
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Evals().
			Systemprompt(ctx)
}
@function
async def example() -> str:
	return await (
		dag.evals()
		.systemprompt()
	)
@func()
async example(): Promise<string> {
	return dag
		.evals()
		.systemPrompt()
}

withAttempt() 🔗

Return Type
Evals !
Arguments
NameTypeDefault ValueDescription
attemptInteger !-No description provided
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 with-attempt --attempt integer
func (m *MyModule) Example(attempt int) *dagger.Evals  {
	return dag.
			Evals().
			Withattempt(attempt)
}
@function
def example(attempt: int) -> dagger.Evals:
	return (
		dag.evals()
		.withattempt(attempt)
	)
@func()
example(attempt: number): Evals {
	return dag
		.evals()
		.withAttempt(attempt)
}

withModel() 🔗

Return Type
Evals !
Arguments
NameTypeDefault ValueDescription
modelString !-No description provided
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 with-model --model string
func (m *MyModule) Example(model string) *dagger.Evals  {
	return dag.
			Evals().
			Withmodel(model)
}
@function
def example(model: str) -> dagger.Evals:
	return (
		dag.evals()
		.withmodel(model)
	)
@func()
example(model: string): Evals {
	return dag
		.evals()
		.withModel(model)
}

withSystemPrompt() 🔗

Return Type
Evals !
Arguments
NameTypeDefault ValueDescription
promptString !-No description provided
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 with-system-prompt --prompt string
func (m *MyModule) Example(prompt string) *dagger.Evals  {
	return dag.
			Evals().
			Withsystemprompt(prompt)
}
@function
def example(prompt: str) -> dagger.Evals:
	return (
		dag.evals()
		.withsystemprompt(prompt)
	)
@func()
example(prompt: string): Evals {
	return dag
		.evals()
		.withSystemPrompt(prompt)
}

singleState() 🔗

Test that the model is conscious of a “current state” without needing explicit prompting.

Return Type
Report !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 single-state
func (m *MyModule) Example() *dagger.EvalsReport  {
	return dag.
			Evals().
			Singlestate()
}
@function
def example() -> dagger.EvalsReport:
	return (
		dag.evals()
		.singlestate()
	)
@func()
example(): EvalsReport {
	return dag
		.evals()
		.singleState()
}

singleStateTransition() 🔗

Test that we’re able to transition back to our initial state, even when it’s not explicitly told its ID.

This tests that the state transition mechanic includes the previous state:

{"current":"Container#1","previous":"Hello#1"}
Return Type
Report !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 single-state-transition
func (m *MyModule) Example() *dagger.EvalsReport  {
	return dag.
			Evals().
			Singlestatetransition()
}
@function
def example() -> dagger.EvalsReport:
	return (
		dag.evals()
		.singlestatetransition()
	)
@func()
example(): EvalsReport {
	return dag
		.evals()
		.singleStateTransition()
}

undoSingle() 🔗

Test the model’s eagerness to switch to prior states instead of mutating the current state to undo past actions.

Return Type
Report !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 undo-single
func (m *MyModule) Example() *dagger.EvalsReport  {
	return dag.
			Evals().
			Undosingle()
}
@function
def example() -> dagger.EvalsReport:
	return (
		dag.evals()
		.undosingle()
	)
@func()
example(): EvalsReport {
	return dag
		.evals()
		.undoSingle()
}

buildMulti() 🔗

Test the model’s ability to pass objects around to one another and execute a series of operations given at once.

Return Type
Report !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 build-multi
func (m *MyModule) Example() *dagger.EvalsReport  {
	return dag.
			Evals().
			Buildmulti()
}
@function
def example() -> dagger.EvalsReport:
	return (
		dag.evals()
		.buildmulti()
	)
@func()
example(): EvalsReport {
	return dag
		.evals()
		.buildMulti()
}

buildMultiNoVar() 🔗

BuildMulti is like BuildMulti but without explicitly referencing the relevant objects, leaving the LLM to figure it out.

Return Type
Report !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 build-multi-no-var
func (m *MyModule) Example() *dagger.EvalsReport  {
	return dag.
			Evals().
			Buildmultinovar()
}
@function
def example() -> dagger.EvalsReport:
	return (
		dag.evals()
		.buildmultinovar()
	)
@func()
example(): EvalsReport {
	return dag
		.evals()
		.buildMultiNoVar()
}

readImplicitVars() 🔗

Test that the LLM is able to access the content of variables without the user having to expand them in the prompt.

SUCCESS RATE (ballpark): - claude-3-7-sonnet-latest: 100% - gpt-4o: 100% - gemini-2.0-flash: 0%

Return Type
Report !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 read-implicit-vars
func (m *MyModule) Example() *dagger.EvalsReport  {
	return dag.
			Evals().
			Readimplicitvars()
}
@function
def example() -> dagger.EvalsReport:
	return (
		dag.evals()
		.readimplicitvars()
	)
@func()
example(): EvalsReport {
	return dag
		.evals()
		.readImplicitVars()
}

lLm() 🔗

Return Type
LLM !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 l-l-m
func (m *MyModule) Example() *dagger.LLM  {
	return dag.
			Evals().
			Llm()
}
@function
def example() -> dagger.LLM:
	return (
		dag.evals()
		.llm()
	)
@func()
example(): LLM {
	return dag
		.evals()
		.lLM()
}

Report 🔗

succeeded() 🔗

Return Type
Boolean !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 read-implicit-vars \
 succeeded
func (m *MyModule) Example(ctx context.Context) bool  {
	return dag.
			Evals().
			Readimplicitvars().
			Succeeded(ctx)
}
@function
async def example() -> bool:
	return await (
		dag.evals()
		.readimplicitvars()
		.succeeded()
	)
@func()
async example(): Promise<boolean> {
	return dag
		.evals()
		.readImplicitVars()
		.succeeded()
}

report() 🔗

Return Type
String !
Example
dagger -m github.com/vito/daggerverse/botsbuildingbots/evals@ac90240ed0651b92328d78dea13ae96d8791e1c3 call \
 read-implicit-vars \
 report
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Evals().
			Readimplicitvars().
			Report(ctx)
}
@function
async def example() -> str:
	return await (
		dag.evals()
		.readimplicitvars()
		.report()
	)
@func()
async example(): Promise<string> {
	return dag
		.evals()
		.readImplicitVars()
		.report()
}