/** * kosha-discovery — Together AI provider discoverer. * * Queries the Together AI `/v1/models` endpoint (OpenAI-compatible), * filters relevant models, and maps them into {@link ModelCard} objects. * * Together AI's catalog is multi-vendor, hosting models from meta-llama, * mistralai, Qwen, google, deepseek-ai, microsoft, nvidia, databricks, * togethercomputer, and others. * @module */ import { OpenAICompatibleDiscoverer, type ModelClassification, type OpenAICompatibleModel } from "./openai-compatible.js"; /** * Discovers models available through the Together AI API (api.together.xyz). * * The Together AI catalog serves models from multiple vendors using an * OpenAI-compatible API. Model IDs are namespaced (e.g. * `meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo`, * `mistralai/Mixtral-8x22B-Instruct-v0.1`), allowing origin provider * extraction from the prefix. */ export declare class TogetherDiscoverer extends OpenAICompatibleDiscoverer { readonly providerId = "together"; readonly providerName = "Together AI"; readonly baseUrl = "https://api.together.xyz"; /** * Determine whether a model ID represents a model we want to track. * * We keep chat/instruct, embedding, code, and vision models and filter out: * - Reward models (used for RLHF, not inference) */ protected isRelevantModel(model: OpenAICompatibleModel): boolean; /** * Classify a Together AI model: determine origin provider, mode, and capabilities. * * Uses namespaced model IDs (vendor/model-name) to extract origin provider. * Normalizes known prefixes via aliases map. */ protected classifyModel(model: OpenAICompatibleModel): ModelClassification; } //# sourceMappingURL=together.d.ts.map