MistralClient.Models.GithubRepository (mistralex_ai v0.1.0)

View Source

Represents a GitHub repository for fine-tuning.

Summary

Functions

Create a GitHub repository from a map.

Create a new GitHub repository.

Types

t()

@type t() :: %MistralClient.Models.GithubRepository{
  commit_id: String.t() | nil,
  name: String.t(),
  owner: String.t(),
  ref: String.t() | nil,
  type: String.t(),
  weight: float() | nil
}

Functions

from_map(data)

@spec from_map(map()) :: t()

Create a GitHub repository from a map.

new(owner, name, opts \\ [])

@spec new(String.t(), String.t(), keyword()) :: t()

Create a new GitHub repository.