namespace AIStudio.Provider.HuggingFace; /// /// Which of the Hugging Face endpoints a provider instance talks to. /// /// /// Hugging Face serves chatting and everything else from different places. Chat completions go to /// the router's own OpenAI-compatible endpoint, which accepts the model IDs as the hub writes them /// and picks an inference provider from a suffix. Embeddings and transcription do not exist there /// at all and have to be asked of one provider's own route. Because the base URL is fixed when a /// provider instance is built, the instance has to know from the start which one it is for. /// public enum HFEndpointKind { /// /// The router's own endpoint, which serves chat completions. /// CHAT, /// /// The OpenAI-compatible route of one inference provider, which serves embeddings. /// EMBEDDING, /// /// The OpenAI-compatible route of one inference provider, which transcribes audio. /// TRANSCRIPTION, }