mentor
▼
Project version
v0.2.2
v0.2.1
v0.2.0
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
Pages
Modules
API Reference
Modules
Fields
Mentor
Installation
Usage
References
Spiritual inspirations
Changelog
[0.2.0] - 2025-01-28
[0.1.3] - 2025-01-22
[0.1.2] - 2025-01-22
[0.1.1] - 2025-01-21
[0.1.0] - 2025-01-20
Philosophy & Motivations
A New Modality
LLMs aren't only for chatbots
It's just Elixir baby
Used Anywhere where Ecto is used
Quickstart
Introduction
Validations
Record Streaming
Custom Ecto Types
Evaluator
Summary
Functions
run_number_series/0
run_politician/0
run_schema/0
Mentor
Sections
Features
Backoff calculation
Summary
Types
message/0
t/0
Functions
append_message/2
complete/1
complete!/1
configure_adapter/2
configure_backoff/2
configure_http_client/3
define_max_retries/2
is_llm_adapter/1
overwrite_initial_prompt/2
start_chat_with!/2
Mentor.Ecto.JSONSchema
Summary
Functions
from_ecto_schema/1
Mentor.Ecto.Schema
Sections
Usage
Custom LLM description
Ignored fields
Summary
Callbacks
changeset/2
llm_description/0
Functions
validate/2
Mentor.Ecto.Type
Sections
Example
Summary
Callbacks
to_json_schema/0
Mentor.HTTPClient.Adapter
Sections
Callbacks
Types
Usage
Considerations
Summary
Types
body/0
headers/0
request_opts/0
status/0
url/0
Callbacks
request/4
Functions
impl_by?/1
Mentor.HTTPClient.Finch
Sections
Usage
Considerations
Mentor.LLM.Adapter
Sections
Callbacks
Usage
Summary
Callbacks
complete/1
complete!/1
Functions
__using__/1
impl_by?/1
Mentor.LLM.Adapters.OpenAI
Sections
Options
Usage
Considerations
Summary
Functions
complete!/1
Mentor.Parser
Summary
Functions
run/2
Mentor.Schema
Summary
Types
field/0
source/0
t/0
Callbacks
definition/1
validate/2
Functions
missing_documentation!/2
parse_llm_description!/3
NumberSeries
Sections
Fields
Politician
Sections
Fields
Politician.Office
Schema
Search documentation of mentor
Settings
NumberSeries
(mentor v0.2.2)
View Source
Fields
series
: an array of integers