View Source API Reference mentor v0.1.0
Modules
The Mentor module facilitates interactions with Large Language Models (LLMs) by managing conversation state, configuring adapters, and validating responses against specified schemas.
Helper module to generate JSON Schema based on Ecto schema.
Provides functionality to integrate Ecto schemas with the Mentor framework, ensuring that schemas include comprehensive field documentation.
Mentor.Ecto.Type is a behaviour that lets your implement your own custom Ecto.Type
that works natively with Instructor.
Defines the behaviour for HTTP client adapters within the Mentor framework.
An HTTP client adapter for the Mentor framework, utilizing the Finch library for efficient and performant HTTP requests.
Defines the behaviour for Large Language Model (LLM) adapters within the Mentor framework.
An adapter for integrating OpenAI's language models with the Mentor framework.
A minimal "Markdown" parser to extract structured field documentation from @moduledoc.
Used for Mentor.Ecto.Schema.