helix
No long description provided.
Installation
dagger install github.com/helixml/runner@3a098955676331daca9d276f2b513556add3584c
Entrypoint
Return Type
Helix
Example
dagger -m github.com/helixml/runner@3a098955676331daca9d276f2b513556add3584c call \
func (m *myModule) example() *Helix {
return dag.
Helix()
}
@function
def example() -> dag.Helix:
return (
dag.helix()
)
@func()
example(): Helix {
return dag
.helix()
}
Types
Helix 🔗
service() 🔗
Return Type
Service !
Example
dagger -m github.com/helixml/runner@3a098955676331daca9d276f2b513556add3584c call \
service
func (m *myModule) example() *Service {
return dag.
Helix().
Service()
}
@function
def example() -> dagger.Service:
return (
dag.helix()
.service()
)
@func()
example(): Service {
return dag
.helix()
.service()
}
client() 🔗
Return Type
Container !
Example
dagger -m github.com/helixml/runner@3a098955676331daca9d276f2b513556add3584c call \
client
func (m *myModule) example() *Container {
return dag.
Helix().
Client()
}
@function
def example() -> dagger.Container:
return (
dag.helix()
.client()
)
@func()
example(): Container {
return dag
.helix()
.client()
}
generate() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
prompt | String ! | - | No description provided |
Example
dagger -m github.com/helixml/runner@3a098955676331daca9d276f2b513556add3584c call \
generate --prompt string
func (m *myModule) example(prompt string) *Container {
return dag.
Helix().
Generate(prompt)
}
@function
def example(prompt: str) -> dagger.Container:
return (
dag.helix()
.generate(prompt)
)
@func()
example(prompt: string): Container {
return dag
.helix()
.generate(prompt)
}
generateFile() 🔗
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
prompt | String ! | - | No description provided |
Example
dagger -m github.com/helixml/runner@3a098955676331daca9d276f2b513556add3584c call \
generate-file --prompt string
func (m *myModule) example(prompt string) *File {
return dag.
Helix().
GenerateFile(prompt)
}
@function
def example(prompt: str) -> dagger.File:
return (
dag.helix()
.generate_file(prompt)
)
@func()
example(prompt: string): File {
return dag
.helix()
.generateFile(prompt)
}
nvidiaSmi() 🔗
example usage: “dagger call nvidia-smi”
Return Type
String !
Example
dagger -m github.com/helixml/runner@3a098955676331daca9d276f2b513556add3584c call \
nvidia-smi
func (m *myModule) example(ctx context.Context) string {
return dag.
Helix().
NvidiaSmi(ctx)
}
@function
async def example() -> str:
return await (
dag.helix()
.nvidia_smi()
)
@func()
async example(): Promise<string> {
return dag
.helix()
.nvidiaSmi()
}