{{define "org"}} {{.Org.Name}} · llmgw

{{.Org.Name}}

{{.People}} {{if eq .People 1}}person{{else}}people{{end}} · use, members and limits across the organization

{{template "nav" .Nav}}
{{if gt (len .Orgs) 1}}
Organization {{range .Orgs}}{{.Name}}{{end}}
{{end}} {{if .Error}}

{{.Error}}

{{end}}

Use

Group by {{range .Groups}}{{.Label}}{{end}} Window {{range .Windows}}{{.Label}}{{end}}
{{template "tschart" dict "t" .Requests "title" "Requests" "note" "Requests made in this organization's projects."}} {{template "tschart" dict "t" .Tokens "title" "Tokens" "note" "Prompt and completion together."}}
{{if .Priced}}
{{template "tschart" dict "t" .Spend "title" "Spend" "note" "In whole units, the ones a budget is written in."}}
{{end}} {{if .Rows}} {{range .Rows}}{{end}}
{{if eq .By "user"}}Person{{else if eq .By "project"}}Project{{else}}Team{{end}} RequestsTokensSpendErrors
{{.Name}}{{compact .Requests}}{{compact .Tokens}} {{.Spend}}{{if .Errors}}{{.Errors}}{{else}}—{{end}}
{{else}}

Nothing used in this window.

{{end}}

Only what was spent in this organization's projects. What its people do elsewhere — in another organization, or on their own — is not shown.

Teams, projects and limits

{{if .Quotas}} {{range .Quotas}} {{end}}
WhereRequests/minTokens/min BudgetSpent · 30 days
{{.Path}} {{.Scope}} {{if .Models}}
only {{.Models}}
{{end}} {{if .Shadowed}}
{{.Shadowed}}
{{end}}
{{template "quota-value" dict "Own" .RPM "Up" .RPMUp "From" .RPMFrom}} {{template "quota-value" dict "Own" .TPM "Up" .TPMUp "From" .TPMFrom}} {{if .Budget}}{{.Budget}}{{if .Period}}/{{.Period}}{{end}} {{else}}{{template "quota-value" dict "Own" "" "Up" .BudgetUp "From" .BudgetFrom}}{{end}} {{.Spend}} {{if .HasPct}} {{.Percent}}%{{end}}

Limits are set by the cluster's administrators.

{{end}}

Members

{{if .Members}} {{range .Members}}{{end}}
PersonMember ofState
{{.Email}} {{range .Places}}{{.Where}}{{if eq .Role "manager"}} manager{{end}}{{end}} {{.State}}
{{else}}

Nobody is a member yet.

{{end}}
{{end}} {{define "org-none"}} Organizations · llmgw

Organizations

There are none on this cluster

{{template "nav" .Nav}}

Everyone uses the gateway on their own, under their personal quota. An organization, once there is one, gets a page here for its managers: its use by team, project and person, its limits, and its members.

Create one on the people page, then make someone its manager with the star on their membership.

{{end}}