Add Kindo provider
This commit is contained in:
parent
b5eed347da
commit
f6d100df52
4 changed files with 61 additions and 0 deletions
1
core/index.d.ts
vendored
1
core/index.d.ts
vendored
|
|
@ -588,6 +588,7 @@ type ModelProvider =
|
|||
| "ollama"
|
||||
| "huggingface-tgi"
|
||||
| "huggingface-inference-api"
|
||||
| "kindo"
|
||||
| "llama.cpp"
|
||||
| "replicate"
|
||||
| "text-gen-webui"
|
||||
|
|
|
|||
16
core/llm/llms/Kindo.ts
Normal file
16
core/llm/llms/Kindo.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { LLMOptions, ModelProvider } from "../..";
|
||||
import OpenAI from "./OpenAI";
|
||||
|
||||
class Kindo extends OpenAI {
|
||||
static providerName: ModelProvider = "kindo";
|
||||
static defaultOptions: Partial<LLMOptions> = {
|
||||
apiBase: "https://llm.kindo.ai/v1",
|
||||
requestOptions: {
|
||||
headers: {
|
||||
"kindo-token-transaction-type": "CONTINUE"
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export default Kindo;
|
||||
|
|
@ -22,6 +22,7 @@ import Gemini from "./Gemini";
|
|||
import Groq from "./Groq";
|
||||
import HuggingFaceInferenceAPI from "./HuggingFaceInferenceAPI";
|
||||
import HuggingFaceTGI from "./HuggingFaceTGI";
|
||||
import Kindo from "./Kindo";
|
||||
import LMStudio from "./LMStudio";
|
||||
import LlamaCpp from "./LlamaCpp";
|
||||
import Llamafile from "./Llamafile";
|
||||
|
|
@ -48,6 +49,7 @@ const LLMs = [
|
|||
Together,
|
||||
HuggingFaceTGI,
|
||||
HuggingFaceInferenceAPI,
|
||||
Kindo,
|
||||
LlamaCpp,
|
||||
OpenAI,
|
||||
LMStudio,
|
||||
|
|
|
|||
42
docs/docs/reference/Model Providers/kindo.md
Normal file
42
docs/docs/reference/Model Providers/kindo.md
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Kindo
|
||||
Kindo offers centralized control over your organization's AI operations, ensuring data protection and compliance with internal policies while supporting various commercial and open-source models. To get started, sign up [here](https://app.kindo.ai/), create your API key on the [API keys page](https://app.kindo.ai/settings/api), and choose a model from the list of supported models in the [plugins tab](https://app.kindo.ai/plugins).
|
||||
|
||||
## Config Example
|
||||
|
||||
```json title="~/.continue/config.json"
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "Claude 3.5 Sonnet",
|
||||
"provider": "kindo",
|
||||
"model": "claude-3-5-sonnet-20240620",
|
||||
"apiKey": "<KINDO_API_KEY>"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Tab Autocomplete Config Example
|
||||
|
||||
```json title="~/.continue/config.json"
|
||||
{
|
||||
"tabAutocompleteModel": [
|
||||
{
|
||||
"title": "WhiteRabbitNeo",
|
||||
"provider": "kindo",
|
||||
"model": "/models/WhiteRabbitNeo-33B-DeepSeekCoder",
|
||||
"apiKey": "<KINDO_API_KEY>"
|
||||
},
|
||||
{
|
||||
"title": "DeepSeek",
|
||||
"provider": "kindo",
|
||||
"model": "deepseek-ai/deepseek-coder-33b-instruct",
|
||||
"apiKey": "<KINDO_API_KEY>"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Security
|
||||
|
||||
To update your organization's model access, adjust the controls in [security settings](https://app.kindo.ai/security-settings).
|
||||
Loading…
Add table
Reference in a new issue