Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BamlRuntime ¶ added in v0.0.5
type BamlRuntime struct {
// contains filtered or unexported fields
}
func CreateRuntime ¶ added in v0.0.4
func (*BamlRuntime) CallFunction ¶ added in v0.0.5
func (r *BamlRuntime) CallFunction(ctx context.Context, functionName string, arg_names []string, args ...any) (*ResultCallback, error)
func (*BamlRuntime) CallFunctionStream ¶ added in v0.0.5
func (r *BamlRuntime) CallFunctionStream(ctx context.Context, functionName string, arg_names []string, args ...any) (<-chan ResultCallback, error)
type CallbackData ¶ added in v0.0.4
type CallbackData struct {
// contains filtered or unexported fields
}
type ResultCallback ¶ added in v0.0.4
type ResultCallback struct {
// contains filtered or unexported fields
}
func (*ResultCallback) Raw ¶ added in v0.0.6
func (r *ResultCallback) Raw() string
type StreamResult ¶ added in v0.0.4
func (*StreamResult[Partial, Final]) Error ¶ added in v0.0.4
func (result *StreamResult[Partial, Final]) Error() error
func (*StreamResult[Partial, Final]) Final ¶ added in v0.0.4
func (result *StreamResult[Partial, Final]) Final() Final
func (*StreamResult[Partial, Final]) IsFinal ¶ added in v0.0.4
func (result *StreamResult[Partial, Final]) IsFinal() bool
func (*StreamResult[Partial, Final]) IsPartial ¶ added in v0.0.4
func (result *StreamResult[Partial, Final]) IsPartial() bool
func (*StreamResult[Partial, Final]) Partial ¶ added in v0.0.4
func (result *StreamResult[Partial, Final]) Partial() Partial
Click to show internal directories.
Click to hide internal directories.