Packages

Elixir SDK for Bifrost, the LLM gateway by Maxim

Current section

Files

Jump to
ex_bifrost lib ex_bifrost model create_prompt_version_request.ex
Raw

lib/ex_bifrost/model/create_prompt_version_request.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.23.0 (https://openapi-generator.tech)
# using the Elixir SDK Generator template (https://github.com/houllette/elixir-sdk-generator).
# Do not edit this file manually — edit the templates and regenerate instead.
defmodule ExBifrost.Model.CreatePromptVersionRequest do
@moduledoc """
CreatePromptVersionRequest model.
"""
@derive JSON.Encoder
defstruct [
:commit_message,
:messages,
:model_params,
:provider,
:model
]
@type t :: %__MODULE__{
:commit_message => String.t(),
:messages => [%{optional(String.t()) => any()}],
:model_params => %{optional(String.t()) => any()},
:provider => String.t(),
:model => String.t()
}
def decode(value) do
value
end
end