API Reference GenAI Core v0.1.0
modules
Modules
Struct for representing a chat message.
Represents image part of chat message.
Represents image part of chat message.
The GenAI.Model struct provides detailed information on a provider-model used for picking best model for job based on requirements.
Last reported model evaluation benchmark scores.
Provides standardized structure for tracking capacity details.
Provides standardized structure for tracking costing details.
Tracks fine tuning details for the model, if any.
Provides standardized structure for tracking hyper parameter support such as allowed values, ranges, mapping etc.
Provides standardized structure for tracking modality support details. For example if a model can mimic video support by streaming images, plus audio transcription. Or supports native image and audio.
Provides details on tool usage support: native (api level), prompt injection, no support, etc.
Provides standardized structure for tracking training details such as training cut off, supplemental_training per subject cut offs, etc. censorship. instruct training, dolphin, etc.
Provides standardized structure for tracking use case support details. Where use case is the ability of the model to perform a task like feature extraction, generating synthetic memories, etc. Tracks both per model fixed scores plus dynamic adjustments based on system/user feedback.
Provides standardized structure for tracking extended module details.
This module defines the chat struct used to manage conversations with generative AI models.
Represents a schema for boolean types, converting JSON schema attributes to Elixir struct fields.
Represents a schema for enum types, converting JSON schema attributes to Elixir struct fields.
Represents a schema for integer types, converting JSON schema attributes to Elixir struct fields.
Represents a schema for null types.
Represents a schema for number types, including integers and floating-point numbers.
Represents a schema for object types, converting JSON schema attributes to Elixir struct fields.
Represents a schema for string types, converting JSON schema attributes to Elixir struct fields.