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