gopenai/model

Types

pub type Model {
  GPT3Dot5Turbo
  GPT4
  GPT4o
  TextEmbeddingAda002
  Llama2
  Gemma
  Qwen2Large
  Qwen2
  Qwen2Small
  Qwen2Tiny
  LLaMA3Size8b
  LLaMA3Size70b
}

Constructors

  • GPT3Dot5Turbo
  • GPT4
  • GPT4o
  • TextEmbeddingAda002
  • Llama2
  • Gemma
  • Qwen2Large
  • Qwen2
  • Qwen2Small
  • Qwen2Tiny
  • LLaMA3Size8b
  • LLaMA3Size70b

Functions

pub fn model_from_json(
  from data: Dynamic,
) -> Result(Model, List(DecodeError))
pub fn model_to_json(m: Model) -> Json
Search Document