Namespaces

Classes

Ai

A generation step handed to agent middleware before the model is called.

Controls whether and which tool a model must call, mapped to each provider's native tool_choice field.

Functions

agent(string $instructions = '', iterable $messages = [], iterable $tools = [], Closure|null $schema = null)

Get an ad-hoc agent instance.

at line 19
mixed
generate_fake_data_for_json_schema(array $attributes)
internal

Generate fake data from a serialized schema without serializing its children again.

at line 61
mixed
generate_fake_data_for_json_schema_type(Type $type)

Generate fake data from a JSON schema type.

at line 49
pipeline()

Get a new pipeline instance.

at line 33
string
ulid()

Generate a new ULID.

at line 41