Dagger.Expertise (dagger v1.0.0-beta.19)

Copy Markdown View Source

A function that can modify a conversation.

Summary

Functions

The artifact this expertise runs. Look it up again by URI to pick up module changes.

The function's description.

A unique identifier for this Expertise.

The function's name.

The module that defines the function.

The function's path within its module.

Types

t()

@type t() :: %Dagger.Expertise{client: term(), query_builder: term()}

Functions

artifact(expertise)

@spec artifact(t()) :: Dagger.Artifact.t()

The artifact this expertise runs. Look it up again by URI to pick up module changes.

description(expertise)

@spec description(t()) :: {:ok, String.t()} | {:error, term()}

The function's description.

id(expertise)

@spec id(t()) :: {:ok, String.t()} | {:error, term()}

A unique identifier for this Expertise.

name(expertise)

@spec name(t()) :: {:ok, String.t()} | {:error, term()}

The function's name.

original_module(expertise)

@spec original_module(t()) :: Dagger.Module.t()

The module that defines the function.

path(expertise)

@spec path(t()) :: {:ok, [String.t()]} | {:error, term()}

The function's path within its module.