PromptConfigFactory defines the signature for a function that creates and decodes a specific prompt's configuration.
func(ctx context.Context, name string, decoder *yaml.Decoder) (PromptConfig, error)
| 25 | // PromptConfigFactory defines the signature for a function that creates and |
| 26 | // decodes a specific prompt's configuration. |
| 27 | type PromptConfigFactory func(ctx context.Context, name string, decoder *yaml.Decoder) (PromptConfig, error) |
| 28 | |
| 29 | var promptRegistry = make(map[string]PromptConfigFactory) |
| 30 |
nothing calls this directly
no outgoing calls
no test coverage detected