Search documentation of instructor_lite

# API Reference instructor_lite v#1.0.0

View Source

## Modules

InstructorLite

Main building blocks of InstructorLite.

InstructorLite.Adapter

Behaviour for implementing adapter modules.

InstructorLite.Adapters.Anthropic

Anthropic adapter.

InstructorLite.Adapters.ChatCompletionsCompatible

Adapter for Chat Completions-compatible API endpoints, such as OpenAI or Grok.

InstructorLite.Adapters.Gemini

Gemini adapter.

InstructorLite.Adapters.Llamacpp

LLaMA.cpp HTTP Server adapter.

InstructorLite.Adapters.OpenAI

OpenAI adapter.

InstructorLite.Instruction

`use InstructorLite.Instruction` is a way to make your Ecto schema into an Instruction, which provides additional callbacks used by InstructorLite.

InstructorLite.JSONSchema

Helper module to generate JSON Schema based on Ecto schema.