# `PhoenixKit.Modules.AI.Web.EndpointForm`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/ai/web/endpoint_form.ex#L1)

LiveView for creating and editing AI endpoints.

An endpoint combines provider credentials, model selection, and generation
parameters into a single configuration.

# `format_number`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/ai/web/endpoint_form.ex#L705)

Formats a number with thousands separators.

# `get_supported_params`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/ai/web/endpoint_form.ex#L661)

Returns parameters supported by the model, filtered to ones we have UI for.
Groups them by :basic and :advanced.

# `model_max_tokens`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/ai/web/endpoint_form.ex#L692)

Gets the max tokens limit for the selected model.

# `param_input`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/ai/web/endpoint_form.ex#L29)

## Attributes

* `key` (`:string`) (required)
* `definition` (`:map`) (required)
* `form` (`:map`) (required)
* `endpoint` (`:any`) - Defaults to `nil`.
* `selected_model` (`:map`) - Defaults to `nil`.
* `size` (`:string`) - Defaults to `"md"`.

# `parameter_definitions`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/ai/web/endpoint_form.ex#L567)

Parameter definitions with type, constraints, and UI metadata.
Only parameters we support in the UI are defined here.

# `render`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/ai/web/endpoint_form.ex#L1)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
