examplifier
No long description provided.
Installation
dagger install github.com/shykes/x/examplifier@56bfdb8bf9a3a79fb63d02a75d5bf065894979cd
Entrypoint
Return Type
Examplifier !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
token | Secret ! | - | No description provided |
systemPrompt | File | - | No description provided |
knowledgeDir | Directory | - | No description provided |
Example
dagger -m github.com/shykes/x/examplifier@56bfdb8bf9a3a79fb63d02a75d5bf065894979cd call \
--token env:MYSECRET
func (m *myModule) example(token *Secret) *Examplifier {
return dag.
Examplifier(token)
}
@function
def example(token: dagger.Secret, ) -> dag.Examplifier:
return (
dag.examplifier(token)
)
@func()
example(token: Secret, ): Examplifier {
return dag
.examplifier(token)
}
Types
Examplifier 🔗
examplify() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
mod | Directory ! | - | No description provided |
n | Integer | 5 | Number of examples |
Example
dagger -m github.com/shykes/x/examplifier@56bfdb8bf9a3a79fb63d02a75d5bf065894979cd call \
--token env:MYSECRET examplify --mod DIR_PATH
func (m *myModule) example(token *Secret, mod *Directory) *Directory {
return dag.
Examplifier(token).
Examplify(mod)
}
@function
def example(token: dagger.Secret, mod: dagger.Directory) -> dagger.Directory:
return (
dag.examplifier(token)
.examplify(mod)
)
@func()
example(token: Secret, mod: Directory): Directory {
return dag
.examplifier(token)
.examplify(mod)
}