Crate allms

Source

Re-exports§

pub use llm_models as llm;

Modules§

assistants
llm_models

Structs§

Completions
Completions APIs take a list of messages as input and return a model-generated message as output. Although the Completions format is designed to make multi-turn conversations easy, it’s just as useful for single-turn tasks without any conversation.
OpenAIDeprecated
This is a LEGACY implementation of Chat Completions with OpenAI API. This implementation will not be maintained going forward (after May 2024). For current implementation refer to llm_models and completions modules.
OpenAIAssistantDeprecated
This is a DEPRECATED implementation of OpenAI Assistants API that will not be maintained going forward (after May 2024). For current implementation, including support for Assistants API v2 and GPT-4o, refer to assistants module.
OpenAIFileDeprecated
This is a LEGACY implementation of OpenAI File API that will not be maintained going forward (after May 2024). For current implementation refer to assistants module.

Enums§

OpenAIAssistantVersionDeprecated
OpenAIModelsDeprecated
This is a LEGACY implementation of OpenAI LLM Models that will not be maintained going forward (after May 2024). For current implementation refer to llm_models module.