~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/atlibs-cocore

0
0
main
30 lines · 1.2 KB Raw History
{
	"name": "cocore-inference",
	"description": "Chat completions on co/core (cocore.dev/api/v1, OpenAI-compatible) as yourself: the host authorizes each request with a service-auth token from your PDS, or a co/core API key.",
	"session": "cocore-inference",
	"actions": [
		{
			"entry": "chat",
			"label": "Chat",
			"description": "One chat completion, billed to your co/core balance. stub is the test model.",
			"fields": [
				{ "key": "model", "label": "Model (default stub)" },
				{ "key": "prompt", "label": "Prompt" },
				{ "key": "system", "label": "System prompt (optional)" },
				{ "key": "maxTokens", "label": "Max tokens (1024)" },
				{ "key": "stream", "label": "Stream (true: the answer is collected from the event stream)" },
				{ "key": "route", "label": "Route: open (default), private, verified or probono" },
				{ "key": "country", "label": "Country (optional, ISO 3166-1 alpha-2)" },
				{ "key": "minProviderVersion", "label": "Minimum provider version (optional)" }
			]
		},
		{
			"entry": "models",
			"label": "Models",
			"description": "The public model directory.",
			"fields": [{ "key": "view", "label": "View: openai (default), summary or directory" }]
		}
	],
	"calls": ["com.fedfork.exec.http.fetch"],
	"http": ["https://cocore.dev"]
}