Skip to content

Commit

Permalink
Merge branch 'main' of github.com:fruitbars/simple-one-api
Browse files Browse the repository at this point in the history
合并版本
  • Loading branch information
fruitbars committed Aug 9, 2024
2 parents 51f8e73 + 9fc4593 commit 125f0bd
Showing 1 changed file with 117 additions and 1 deletion.
118 changes: 117 additions & 1 deletion docs/兼容OpenAI模型协议接入指南.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,120 @@ Key管理:https://platform.lingyiwanwu.com/apikeys
]
}
}
```
```

### Nvidia
文档中心:https://docs.api.nvidia.com
API 服务地址:https://integrate.api.nvidia.com/v1/chat/completions
Key管理:https://build.nvidia.com/explore/discover

```json
{
"services": {
"openai": [
{
"models": [
"01-ai/yi-large",
"aisingapore/sea-lion-7b-instruct",
"bigcode/starcoder2-7b",
"bigcode/starcoder2-15b",
"databricks/dbrx-instruct",
"deepseek-ai/deepseek-coder-6.7b-instruct",
"google/gemma-7b",
"google/gemma-2b",
"google/gemma-2-9b-it",
"google/gemma-2-27b-it",
"google/codegemma-1.1-7b",
"google/codegemma-7b",
"google/recurrentgemma-2b",
"ibm/granite-34b-code-instruct",
"ibm/granite-8b-code-instruct",
"mediatek/breeze-7b-instruct",
"meta/codellama-70b",
"meta/llama2-70b",
"meta/llama3-8b",
"meta/llama3-70b",
"meta/llama-3.1-8b-instruct",
"meta/llama-3.1-70b-instruct",
"meta/llama-3.1-405b-instruct",
"microsoft/phi-3-medium-128k-instruct",
"microsoft/phi-3-medium-4k-instruct",
"microsoft/phi-3-mini-128k-instruct",
"microsoft/phi-3-mini-4k-instruct",
"microsoft/phi-3-small-128k-instruct",
"microsoft/phi-3-small-8k-instruct",
"mistralai/codestral-22b-instruct-v0.1",
"mistralai/mamba-codestral-7b-v0.1",
"mistralai/mistral-7b-instruct",
"mistralai/mistral-7b-instruct-v0.3",
"mistralai/mixtral-8x7b-instruct",
"mistralai/mixtral-8x22b-instruct",
"mistralai/mistral-large",
"nv-mistralai/mistral-nemo-12b-instruct",
"nvidia/llama3-chatqa-1.5-70b",
"nvidia/llama3-chatqa-1.5-8b",
"nvidia/nemotron-4-340b-instruct",
"nvidia/nemotron-4-340b-reward",
"nvidia/usdcode-llama3-70b-instruct",
"seallms/seallm-7b-v2.5",
"snowflake/arctic",
"upstage/solar-10.7b-instruct"
],
"model_redirect": {
"yi-large": "01-ai/yi-large",
"sea-lion-7b-instruct": "aisingapore/sea-lion-7b-instruct",
"starcoder2-7b": "bigcode/starcoder2-7b",
"starcoder2-15b": "bigcode/starcoder2-15b",
"dbrx-instruct": "databricks/dbrx-instruct",
"deepseek-coder-6.7b-instruct": "deepseek-ai/deepseek-coder-6.7b-instruct",
"gemma-7b": "google/gemma-7b",
"gemma-2b": "google/gemma-2b",
"gemma-2-9b-it": "google/gemma-2-9b-it",
"gemma-2-27b-it": "google/gemma-2-27b-it",
"codegemma-1.1-7b": "google/codegemma-1.1-7b",
"codegemma-7b": "google/codegemma-7b",
"recurrentgemma-2b": "google/recurrentgemma-2b",
"granite-34b-code-instruct": "ibm/granite-34b-code-instruct",
"granite-8b-code-instruct": "ibm/granite-8b-code-instruct",
"breeze-7b-instruct": "mediatek/breeze-7b-instruct",
"codellama-70b": "meta/codellama-70b",
"llama2-70b": "meta/llama2-70b",
"llama3-8b": "meta/llama3-8b",
"llama3-70b": "meta/llama3-70b",
"llama-3.1-8b-instruct": "meta/llama-3.1-8b-instruct",
"llama-3.1-70b-instruct": "meta/llama-3.1-70b-instruct",
"llama-3.1-405b-instruct": "meta/llama-3.1-405b-instruct",
"phi-3-medium-128k-instruct": "microsoft/phi-3-medium-128k-instruct",
"phi-3-medium-4k-instruct": "microsoft/phi-3-medium-4k-instruct",
"phi-3-mini-128k-instruct": "microsoft/phi-3-mini-128k-instruct",
"phi-3-mini-4k-instruct": "microsoft/phi-3-mini-4k-instruct",
"phi-3-small-128k-instruct": "microsoft/phi-3-small-128k-instruct",
"phi-3-small-8k-instruct": "microsoft/phi-3-small-8k-instruct",
"codestral-22b-instruct-v0.1": "mistralai/codestral-22b-instruct-v0.1",
"mamba-codestral-7b-v0.1": "mistralai/mamba-codestral-7b-v0.1",
"mistral-7b-instruct": "mistralai/mistral-7b-instruct",
"mistral-7b-instruct-v0.3": "mistralai/mistral-7b-instruct-v0.3",
"mixtral-8x7b-instruct": "mistralai/mixtral-8x7b-instruct",
"mixtral-8x22b-instruct": "mistralai/mixtral-8x22b-instruct",
"mistral-large": "mistralai/mistral-large",
"mistral-nemo-12b-instruct": "nv-mistralai/mistral-nemo-12b-instruct",
"llama3-chatqa-1.5-70b": "nvidia/llama3-chatqa-1.5-70b",
"llama3-chatqa-1.5-8b": "nvidia/llama3-chatqa-1.5-8b",
"nemotron-4-340b-instruct": "nvidia/nemotron-4-340b-instruct",
"nemotron-4-340b-reward": "nvidia/nemotron-4-340b-reward",
"usdcode-llama3-70b-instruct": "nvidia/usdcode-llama3-70b-instruct",
"seallm-7b-v2.5": "seallms/seallm-7b-v2.5",
"arctic": "snowflake/arctic",
"solar-10.7b-instruct": "upstage/solar-10.7b-instruct"
},
"enabled": true,
"credentials": {
"api_key": "nvapi--xxx"
},
"server_url": "https://integrate.api.nvidia.com/v1"
}
]
}
}
```

0 comments on commit 125f0bd

Please sign in to comment.