Dagger
Search

mason-llm

No long description provided.

Installation

dagger install github.com/vbehar/mason-modules/mason-llm@v0.0.5

Entrypoint

Return Type
MasonLlm
Example
dagger -m github.com/vbehar/mason-modules/mason-llm@4c9ae664f9594d09742fc8213a08bc2953902b80 call \
func (m *MyModule) Example() *dagger.MasonLlm  {
	return dag.
			Masonllm()
}
@function
def example() -> dagger.MasonLlm:
	return (
		dag.mason_llm()
	)
@func()
example(): MasonLlm {
	return dag
		.masonLlm()
}

Types

MasonLlm 🔗

renderPlan() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
blueprintDirectory !-No description provided
Example
dagger -m github.com/vbehar/mason-modules/mason-llm@4c9ae664f9594d09742fc8213a08bc2953902b80 call \
 render-plan --blueprint DIR_PATH
func (m *MyModule) Example(blueprint *dagger.Directory) *dagger.Directory  {
	return dag.
			Masonllm().
			Renderplan(blueprint)
}
@function
def example(blueprint: dagger.Directory) -> dagger.Directory:
	return (
		dag.mason_llm()
		.renderplan(blueprint)
	)
@func()
example(blueprint: Directory): Directory {
	return dag
		.masonLlm()
		.renderPlan(blueprint)
}

reviewCode() 🔗

Return Type
MasonLlmLlmResult !
Arguments
NameTypeDefault ValueDescription
workspaceDirectory !-No description provided
gitDiffFile -No description provided
gitInfoFile -No description provided
envEnv -No description provided
llmLLM -No description provided
additionalInstructionsString -No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(workspace *dagger.Directory) *dagger.MasonLlmLlmResult  {
	return dag.
			Masonllm().
			Reviewcode(workspace)
}
@function
def example(workspace: dagger.Directory) -> dagger.MasonLlmLlmResult:
	return (
		dag.mason_llm()
		.reviewcode(workspace)
	)
@func()
example(workspace: Directory): MasonLlmLlmResult {
	return dag
		.masonLlm()
		.reviewCode(workspace)
}

debugPipeline() 🔗

Return Type
MasonLlmLlmResult !
Arguments
NameTypeDefault ValueDescription
workspaceDirectory !-No description provided
logFilePathString !-No description provided
gitDiffFile -No description provided
gitInfoFile -No description provided
envEnv -No description provided
llmLLM -No description provided
additionalInstructionsString -No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(workspace *dagger.Directory, logFilePath string) *dagger.MasonLlmLlmResult  {
	return dag.
			Masonllm().
			Debugpipeline(workspace, logFilePath)
}
@function
def example(workspace: dagger.Directory, logfilepath: str) -> dagger.MasonLlmLlmResult:
	return (
		dag.mason_llm()
		.debugpipeline(workspace, logfilepath)
	)
@func()
example(workspace: Directory, logFilePath: string): MasonLlmLlmResult {
	return dag
		.masonLlm()
		.debugPipeline(workspace, logFilePath)
}

MasonLlmLlmResult 🔗

llm() 🔗

Return Type
LLM !
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(workspace *dagger.Directory, logFilePath string) *dagger.LLM  {
	return dag.
			Masonllm().
			Debugpipeline(workspace, logFilePath).
			Llm()
}
@function
def example(workspace: dagger.Directory, logfilepath: str) -> dagger.LLM:
	return (
		dag.mason_llm()
		.debugpipeline(workspace, logfilepath)
		.llm()
	)
@func()
example(workspace: Directory, logFilePath: string): LLM {
	return dag
		.masonLlm()
		.debugPipeline(workspace, logFilePath)
		.llm()
}

result() 🔗

Return Type
String !
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context, workspace *dagger.Directory, logFilePath string) string  {
	return dag.
			Masonllm().
			Debugpipeline(workspace, logFilePath).
			Result(ctx)
}
@function
async def example(workspace: dagger.Directory, logfilepath: str) -> str:
	return await (
		dag.mason_llm()
		.debugpipeline(workspace, logfilepath)
		.result()
	)
@func()
async example(workspace: Directory, logFilePath: string): Promise<string> {
	return dag
		.masonLlm()
		.debugPipeline(workspace, logFilePath)
		.result()
}

resultFile() 🔗

Return Type
File !
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(workspace *dagger.Directory, logFilePath string) *dagger.File  {
	return dag.
			Masonllm().
			Debugpipeline(workspace, logFilePath).
			Resultfile()
}
@function
def example(workspace: dagger.Directory, logfilepath: str) -> dagger.File:
	return (
		dag.mason_llm()
		.debugpipeline(workspace, logfilepath)
		.resultfile()
	)
@func()
example(workspace: Directory, logFilePath: string): File {
	return dag
		.masonLlm()
		.debugPipeline(workspace, logFilePath)
		.resultFile()
}

providerInfo() 🔗

Return Type
String !
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context, workspace *dagger.Directory, logFilePath string) string  {
	return dag.
			Masonllm().
			Debugpipeline(workspace, logFilePath).
			Providerinfo(ctx)
}
@function
async def example(workspace: dagger.Directory, logfilepath: str) -> str:
	return await (
		dag.mason_llm()
		.debugpipeline(workspace, logfilepath)
		.providerinfo()
	)
@func()
async example(workspace: Directory, logFilePath: string): Promise<string> {
	return dag
		.masonLlm()
		.debugPipeline(workspace, logFilePath)
		.providerInfo()
}

tokensInfo() 🔗

Return Type
String !
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context, workspace *dagger.Directory, logFilePath string) string  {
	return dag.
			Masonllm().
			Debugpipeline(workspace, logFilePath).
			Tokensinfo(ctx)
}
@function
async def example(workspace: dagger.Directory, logfilepath: str) -> str:
	return await (
		dag.mason_llm()
		.debugpipeline(workspace, logfilepath)
		.tokensinfo()
	)
@func()
async example(workspace: Directory, logFilePath: string): Promise<string> {
	return dag
		.masonLlm()
		.debugPipeline(workspace, logFilePath)
		.tokensInfo()
}