Packages
Client for System One decision models (TypeSafe Jev, Cloudflare Clef, OpenAI Decisions, OpenRouter, self-hosted): typed Choice, Noul and Score answers with full probability distributions, a behaviour and stub for tests.
Current section
Files
Jump to
Current section
Files
system_one_client
mix.exs
mix.exs
defmodule SystemOneClient.MixProject do
use Mix.Project
@version "0.1.0"
@source_url "https://github.com/schainks/system_one_client"
def project do
[
app: :system_one_client,
version: @version,
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
description:
"Client for System One decision models (TypeSafe Jev, Cloudflare Clef, OpenRouter, self-hosted): " <>
"typed Choice, Noul and Score answers with full probability distributions, a behaviour and stub for tests.",
package: package(),
docs: docs(),
name: "SystemOneClient",
source_url: @source_url
]
end
def application, do: [extra_applications: [:logger]]
defp deps do
[
{:req, "~> 0.5"},
{:jason, "~> 1.4"},
{:telemetry, "~> 1.3"},
{:plug, "~> 1.16", only: :test},
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => @source_url},
files: ~w(lib mix.exs README.md CHANGELOG.md LICENSE)
]
end
defp docs do
[main: "readme", extras: ["README.md", "CHANGELOG.md"], source_ref: "v#{@version}"]
end
end