aitododocs HamarosanAutonóm szállítás

tkt project, token, login, logout

Markdown

A tkt project, tkt token, tkt login, tkt logout és tkt ai 13 parancsa, a futó kódból generálva.

Referenciakb. 3 perc
Ezen az oldalon
[L]helyi[R]olvasás[W]írás[A]admin írás· a szürke címke a REST-megfelelő
Minden opció leírása: tkt <parancs> --help. A teljes, gépi változat: /openapi.json és tkt meta --json.

tkt project

2 parancs
tkt project delete DELETE /v1/projects/{project_id}[L] local

Delete the project on the server (admin): its tokens, LLM usage and caps, id counters and claim leases

--confirm--server--project
Útmutató: Projektek és tokenek
tkt project register <url>POST /v1/projects[L] local

Register a project on the server; you become its admin

--name--as--force--operator
Útmutató: Projektek és tokenek

tkt project llm

4 parancs
tkt project llm cache <state>:<on|off>PATCH /v1/projects/{project_id}[L] local

Switch the server's cache of the project's LLM answers (on by default)

--server--project
Útmutató: Csapat-AI
tkt project llm disable PATCH /v1/projects/{project_id}[L] local

Switch the project's server LLM off; the CLI falls back to a local provider or none

--server--project
Útmutató: Csapat-AI
tkt project llm enable PATCH /v1/projects/{project_id}[L] local

Make the server the project's default LLM

--server--project
Útmutató: Csapat-AI
tkt project llm usage GET /v1/projects/{project_id}/llm/usage[L] local

The project's AI budget as a share used (its plan's credits, never tokens), the calls made today and this month (UTC), and the answer cache's hits

--by-token--server--project
Útmutató: Csapat-AI

tkt token

4 parancs
tkt token create <name>POST /v1/projects/{project_id}/tokens[L] local

Create a named token and print it once

--role--llm--expires--server--project
Útmutató: Projektek és tokenek
tkt token list GET /v1/projects/{project_id}/tokens[L] local

The project's tokens: name, role, llm, created, expires, last used: never the token

tkt token revoke <name>DELETE /v1/projects/{project_id}/tokens/{name}[L] local

Revoke a token

tkt token update <name>PATCH /v1/projects/{project_id}/tokens/{name}[L] local

Change a token's role, LLM grant or expiry

--role--llm/--no-llm--expires--no-expires--server--project
Útmutató: Projektek és tokenek

tkt login

1 parancs
tkt login [url]GET /v1/projects/{project_id}/whoami[L] local

Store a token your project admin gave you

tkt logout

1 parancs

Forget the stored token of this project (the server keeps it: ask the admin to revoke)

tkt ai

1 parancs

Show the AI layers (embedding, LLM): a summary of the provider each uses, the setting that chose it, where the text goes and whether it fails; then this machine, a check of each provider with its fix, and the steps to set up each option

--embed-provider--llm-provider--live--all
Útmutató: AI-rétegek
Generálva: a Click-fa, COMMAND_CLASSES, REST_COUNTERPARTSv0.1.298