Pipeline.Tools.Adapters.InstructorLiteAdapter (pipeline v0.0.1)

View Source

Adapter for using Pipeline tools with InstructorLite.

Converts tool definitions to InstructorLite-compatible schemas and handles function call execution.

Summary

Functions

Create an Ecto schema for function calling responses.

Create function calling schema for InstructorLite from registered tools.

Execute function calls from InstructorLite response.

Functions

create_function_response_schema()

Create an Ecto schema for function calling responses.

create_function_schema(tool_names \\ nil)

Create function calling schema for InstructorLite from registered tools.

execute_function_calls(response)

Execute function calls from InstructorLite response.