helix
No long description provided.
Installation
dagger install github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71
Entrypoint
Return Type
Helix
Example
dagger -m github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71 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 !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
outputPath | Directory ! | - | No description provided |
Example
dagger -m github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71 call \
service
func (m *myModule) example(outputPath ) {
return dag.
Helix().
Service(outputPath)
}
@function
def example(output_path: ) -> :
return (
dag.helix()
.service(output_path)
)
@func()
example(outputPath: ): {
return dag
.helix()
.service(outputPath)
}
client() 🔗
Return Type
Container !
Example
dagger -m github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71 call \
client
func (m *myModule) example() {
return dag.
Helix().
Client()
}
@function
def example() -> :
return (
dag.helix()
.client()
)
@func()
example(): {
return dag
.helix()
.client()
}
generate() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
outputPath | Directory ! | - | No description provided |
prompt | StringKind ! | - | No description provided |
Example
dagger -m github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71 call \
generate
func (m *myModule) example(outputPath , prompt ) {
return dag.
Helix().
Generate(outputPath, prompt)
}
@function
def example(output_path: , prompt: ) -> :
return (
dag.helix()
.generate(output_path, prompt)
)
@func()
example(outputPath: , prompt: ): {
return dag
.helix()
.generate(outputPath, prompt)
}
nvidiaSmi() 🔗
example usage: “dagger call nvidia-smi”
Return Type
StringKind !
Example
dagger -m github.com/helixml/runner@078d5d845d938384b0b5f7165a949f1cea224a71 call \
nvidia-smi
func (m *myModule) example() {
return dag.
Helix().
NvidiaSmi()
}
@function
def example() -> :
return (
dag.helix()
.nvidia_smi()
)
@func()
example(): {
return dag
.helix()
.nvidiaSmi()
}