# AI Providers

## Overview

Wisej.AI is compatible with any LLM provider, whether it's on a public cloud, a private deployment, or a local server. Most providers offer a REST API that is compatible with the OpenAI API. In such cases, if you need to add a new `SmartEndpoint`, you can either use the `SmartOpenAIEndpoint` and specify a different URL or create a derived class.

Typically, private models are hosted exclusively by their owners. In contrast, open-source models can be hosted by various providers and can also be deployed on proprietary hardware.

The currently available implementations include:

<table><thead><tr><th>Name</th><th width="312">URL</th><th>Features</th></tr></thead><tbody><tr><td><img src="/files/AAW1nXXgWMprbVZMfnKi" alt="" data-size="line"> OpenAI</td><td><a href="https://openai.com/">https://openai.com/</a></td><td>1, 3, 4, 7</td></tr><tr><td><img src="/files/AAW1nXXgWMprbVZMfnKi" alt="" data-size="line"> OpenAITTS</td><td><a href="https://openai.com/">https://openai.com/</a></td><td>1, 5</td></tr><tr><td><img src="/files/AAW1nXXgWMprbVZMfnKi" alt="" data-size="line"> OpenAIDallE</td><td><a href="https://openai.com/">https://openai.com/</a></td><td>1, 7</td></tr><tr><td><img src="/files/AAW1nXXgWMprbVZMfnKi" alt="" data-size="line"> OpenAIWhisper</td><td><a href="https://openai.com/">https://openai.com/</a></td><td>1, 6</td></tr><tr><td><img src="/files/AAW1nXXgWMprbVZMfnKi" alt="" data-size="line"> OpenAIRealtime</td><td><a href="https://openai.com/">https://openai.com/</a></td><td>1, 5, 6</td></tr><tr><td><img src="/files/IaJSvvyTPotTCYpb9D2X" alt="" data-size="line"> NVIDIA</td><td><a href="https://www.nvidia.com/en-us/ai/">https://www.nvidia.com/en-us/ai/</a></td><td>2, 3, 4</td></tr><tr><td><img src="/files/HBK4qr7F5vpgk9l21L1X" alt="" data-size="line"> Azure AI</td><td><a href="https://portal.azure.com/#home">https://portal.azure.com/#home</a></td><td>1, 2, 3, 4, 5, 6, 7</td></tr><tr><td><img src="/files/i3huKn8gJagRxNu34VZr" alt="" data-size="line"> Ollama</td><td><a href="https://ollama.com/">https://ollama.com/</a></td><td>2, 3, 4</td></tr><tr><td><img src="/files/AGpmxR6nYZVwoApTeG1y" alt="" data-size="line"> Anthropic</td><td><a href="https://www.anthropic.com/">https://www.anthropic.com/</a></td><td>1, 3, 4</td></tr><tr><td><img src="/files/rz0vmsjUBXlxbRhilnNm" alt="" data-size="line"> GoogleAi</td><td><a href="https://aistudio.google.com/">https://aistudio.google.com/</a></td><td>1, 2, 3, 4</td></tr><tr><td><img src="/files/JEgiVMAIJCX7nbE76TWD" alt="" data-size="line"> HuggingFace</td><td><a href="https://huggingface.co/">https://huggingface.co/</a></td><td>2, 3, 4</td></tr><tr><td><img src="/files/QwBCnaNoR7mizjdmgRZA" alt="" data-size="line"> SambaNova</td><td><a href="https://sambanova.ai/">https://sambanova.ai/</a></td><td>2, 4</td></tr><tr><td><img src="/files/3N49fIfIDEkvNcCe5vBS" alt="" data-size="line"> Together.AI</td><td><a href="https://www.together.ai/">https://www.together.ai/</a></td><td>2, 3, 4</td></tr><tr><td><img src="/files/P46vdriKK0DCdcrB4Z9o" alt="" data-size="line"> X.AI</td><td><a href="https://x.ai/">https://x.ai/</a></td><td>1, 4</td></tr><tr><td><img src="/files/bez38K8mh6JiyHi4zdn9" alt="" data-size="line"> Cerebras</td><td><a href="https://cerebras.ai/">https://cerebras.ai/</a></td><td>2, 4</td></tr><tr><td><img src="/files/hhofrWrsv52vL4gXxQlp" alt="" data-size="line"> GroqCloud</td><td><a href="https://groq.com/groqcloud/">https://groq.com/groqcloud/</a></td><td>2</td></tr><tr><td><img src="/files/hhofrWrsv52vL4gXxQlp" alt="" data-size="line"> GroqCloudWhisper</td><td><a href="https://groq.com/groqcloud/">https://groq.com/groqcloud/</a></td><td>1, 6</td></tr><tr><td><img src="/files/j2zsogHFBdVQSeWNk0Dq" alt="" data-size="line"> Amazon Bedrock</td><td><a href="https://aws.amazon.com/bedrock">https://aws.amazon.com/bedrock</a></td><td>2, 3, 4</td></tr><tr><td><img src="/files/3o6x5DMddHT0IuUZPgZG" alt=""> LocalAI</td><td><a href="https://localai.io/">https://localai.io/</a></td><td>2, 3, 4, 7</td></tr><tr><td><img src="/files/3o6x5DMddHT0IuUZPgZG" alt=""> LocalAITTS</td><td><a href="https://localai.io/">https://localai.io/</a></td><td>2, 5</td></tr><tr><td><img src="/files/3o6x5DMddHT0IuUZPgZG" alt=""> LocalAIWhisper</td><td><a href="https://localai.io/">https://localai.io/</a></td><td>2, 6</td></tr><tr><td><img src="/files/3o6x5DMddHT0IuUZPgZG" alt=""> LocalAIImageGen</td><td><a href="https://localai.io/">https://localai.io/</a></td><td>2, 7</td></tr></tbody></table>

**Notes:**

1. Proprietary models
2. Open source models
3. Embeddings
4. Vision
5. Text to Speech
6. Speech to Text
7. Imaging

## Local Hosting

By "Local Hosting," we refer to using a server to provide AI features outside the typical cloud services. This server could be located on-premises, housed in a data center, or hosted as a virtual machine instance with any cloud provider. This setup offers flexibility in deploying AI solutions by allowing organizations to have more control over their data and resources while still benefiting from sophisticated AI capabilities.

Wisej.AI can seamlessly integrate with any non-cloud server, providing flexibility and adaptability in deploying AI features. One of the most common types of servers used for this purpose is [Ollama](https://ollama.com/), which allows for efficient hosting of AI models and services. This capability ensures that you can leverage Wisej.AI's advanced functionalities, whether your infrastructure is cloud-based or locally hosted.

To use an Ollama server, instantiate the `OllamaEndpoint` and provide the URL of your server:

```csharp
var ollama = new OllamaEndpoint { URL = "http:\\localhost:8080" };
```

To use other local servers, such as vLLM, Localai, LM Studio, and others, you can most likely use or extend the `OpenAIEndpoint`. This provides the flexibility to integrate a variety of servers seamlessly.

Another excellent local server option is [LocalAI](https://localai.io/). It offers an API compatible with OpenAI and supports a comprehensive range of features. These features include text completion, embedding, image generation, text-to-speech, speech-to-text, and re-ranking.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/ai/concepts/supported-providers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
