mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-26 00:13:57 +01:00
Compare commits
No commits in common. "8fe14135fdd0d15f7b55421ba3362918d0ad45eb" and "f7f37ddd59fe4e6715123d6aa3569c043e694db9" have entirely different histories.
8fe14135fd
...
f7f37ddd59
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.10
|
python-version: 3.x
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
806
api/models.json
806
api/models.json
|
@ -1,6 +1,30 @@
|
||||||
{
|
{
|
||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
|
{
|
||||||
|
"id": "gpt-4-0613",
|
||||||
|
"object": "model",
|
||||||
|
"created": 1686588896,
|
||||||
|
"owned_by": "openai",
|
||||||
|
"permission": [
|
||||||
|
{
|
||||||
|
"id": "modelperm-5xwZl3df52xxBXzb4cTMtGYV",
|
||||||
|
"object": "model_permission",
|
||||||
|
"created": 1690865538,
|
||||||
|
"allow_create_engine": false,
|
||||||
|
"allow_sampling": false,
|
||||||
|
"allow_logprobs": false,
|
||||||
|
"allow_search_indices": false,
|
||||||
|
"allow_view": false,
|
||||||
|
"allow_fine_tuning": false,
|
||||||
|
"organization": "*",
|
||||||
|
"group": null,
|
||||||
|
"is_blocking": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"root": "gpt-4-0613",
|
||||||
|
"parent": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "text-davinci-001",
|
"id": "text-davinci-001",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -49,30 +73,6 @@
|
||||||
"root": "text-search-curie-query-001",
|
"root": "text-search-curie-query-001",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "gpt-3.5-turbo",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1677610602,
|
|
||||||
"owned_by": "openai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "modelperm-aRL68Vu37kh2Z0wi2tmPhGZT",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1692458060,
|
|
||||||
"allow_create_engine": false,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": false,
|
|
||||||
"organization": "*",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "gpt-3.5-turbo",
|
|
||||||
"parent": null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "davinci",
|
"id": "davinci",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -97,54 +97,6 @@
|
||||||
"root": "davinci",
|
"root": "davinci",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "gpt-3.5-turbo-0613",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1686587434,
|
|
||||||
"owned_by": "openai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "modelperm-pgz6Bp5e90wX6lXRwF6SaqeZ",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1692458062,
|
|
||||||
"allow_create_engine": false,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": false,
|
|
||||||
"organization": "*",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "gpt-3.5-turbo-0613",
|
|
||||||
"parent": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "babbage",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1649358449,
|
|
||||||
"owned_by": "openai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "modelperm-h574xGeqWyBeFDDKaoVTC4CO",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1692394129,
|
|
||||||
"allow_create_engine": false,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": false,
|
|
||||||
"organization": "*",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "babbage",
|
|
||||||
"parent": null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "text-babbage-001",
|
"id": "text-babbage-001",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -200,9 +152,9 @@
|
||||||
"owned_by": "openai-internal",
|
"owned_by": "openai-internal",
|
||||||
"permission": [
|
"permission": [
|
||||||
{
|
{
|
||||||
"id": "modelperm-fTR6rjcTAYYKKqzDu6U8ht6h",
|
"id": "modelperm-a6niqBmW2JaGmo0fDO7FEt1n",
|
||||||
"object": "model_permission",
|
"object": "model_permission",
|
||||||
"created": 1692374815,
|
"created": 1690930172,
|
||||||
"allow_create_engine": false,
|
"allow_create_engine": false,
|
||||||
"allow_sampling": true,
|
"allow_sampling": true,
|
||||||
"allow_logprobs": true,
|
"allow_logprobs": true,
|
||||||
|
@ -217,6 +169,30 @@
|
||||||
"root": "text-davinci-003",
|
"root": "text-davinci-003",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "gpt-3.5-turbo-16k-0613",
|
||||||
|
"object": "model",
|
||||||
|
"created": 1685474247,
|
||||||
|
"owned_by": "openai",
|
||||||
|
"permission": [
|
||||||
|
{
|
||||||
|
"id": "modelperm-OPkkjVBEz20IWVysAi72govM",
|
||||||
|
"object": "model_permission",
|
||||||
|
"created": 1691516018,
|
||||||
|
"allow_create_engine": false,
|
||||||
|
"allow_sampling": true,
|
||||||
|
"allow_logprobs": true,
|
||||||
|
"allow_search_indices": false,
|
||||||
|
"allow_view": true,
|
||||||
|
"allow_fine_tuning": false,
|
||||||
|
"organization": "*",
|
||||||
|
"group": null,
|
||||||
|
"is_blocking": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"root": "gpt-3.5-turbo-16k-0613",
|
||||||
|
"parent": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "davinci-similarity",
|
"id": "davinci-similarity",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -289,6 +265,54 @@
|
||||||
"root": "text-similarity-curie-001",
|
"root": "text-similarity-curie-001",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "gpt-3.5-turbo-16k",
|
||||||
|
"object": "model",
|
||||||
|
"created": 1683758102,
|
||||||
|
"owned_by": "openai-internal",
|
||||||
|
"permission": [
|
||||||
|
{
|
||||||
|
"id": "modelperm-BYGQj1rUnLdY0H1Q5na1ONCB",
|
||||||
|
"object": "model_permission",
|
||||||
|
"created": 1691516057,
|
||||||
|
"allow_create_engine": false,
|
||||||
|
"allow_sampling": true,
|
||||||
|
"allow_logprobs": true,
|
||||||
|
"allow_search_indices": false,
|
||||||
|
"allow_view": true,
|
||||||
|
"allow_fine_tuning": false,
|
||||||
|
"organization": "*",
|
||||||
|
"group": null,
|
||||||
|
"is_blocking": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"root": "gpt-3.5-turbo-16k",
|
||||||
|
"parent": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "text-embedding-ada-002",
|
||||||
|
"object": "model",
|
||||||
|
"created": 1671217299,
|
||||||
|
"owned_by": "openai-internal",
|
||||||
|
"permission": [
|
||||||
|
{
|
||||||
|
"id": "modelperm-F3BGCNGb0ChzFesHIYjbNYUX",
|
||||||
|
"object": "model_permission",
|
||||||
|
"created": 1690865307,
|
||||||
|
"allow_create_engine": false,
|
||||||
|
"allow_sampling": true,
|
||||||
|
"allow_logprobs": true,
|
||||||
|
"allow_search_indices": true,
|
||||||
|
"allow_view": true,
|
||||||
|
"allow_fine_tuning": false,
|
||||||
|
"organization": "*",
|
||||||
|
"group": null,
|
||||||
|
"is_blocking": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"root": "text-embedding-ada-002",
|
||||||
|
"parent": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "ada-code-search-text",
|
"id": "ada-code-search-text",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -337,30 +361,6 @@
|
||||||
"root": "text-search-ada-query-001",
|
"root": "text-search-ada-query-001",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "gpt-3.5-turbo-16k-0613",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1685474247,
|
|
||||||
"owned_by": "openai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "modelperm-hb67ObpoaFIKTieIMs9CqZPq",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1692458644,
|
|
||||||
"allow_create_engine": false,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": false,
|
|
||||||
"organization": "*",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "gpt-3.5-turbo-16k-0613",
|
|
||||||
"parent": null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "gpt-4-0314",
|
"id": "gpt-4-0314",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -434,15 +434,15 @@
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "text-curie-001",
|
"id": "gpt-3.5-turbo",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
"created": 1649364043,
|
"created": 1677610602,
|
||||||
"owned_by": "openai",
|
"owned_by": "openai",
|
||||||
"permission": [
|
"permission": [
|
||||||
{
|
{
|
||||||
"id": "modelperm-epkpKCMZ4ezExtQH69gwuIVE",
|
"id": "modelperm-zy5TOjnE2zVaicIcKO9bQDgX",
|
||||||
"object": "model_permission",
|
"object": "model_permission",
|
||||||
"created": 1692389420,
|
"created": 1690864883,
|
||||||
"allow_create_engine": false,
|
"allow_create_engine": false,
|
||||||
"allow_sampling": true,
|
"allow_sampling": true,
|
||||||
"allow_logprobs": true,
|
"allow_logprobs": true,
|
||||||
|
@ -454,31 +454,7 @@
|
||||||
"is_blocking": false
|
"is_blocking": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"root": "text-curie-001",
|
"root": "gpt-3.5-turbo",
|
||||||
"parent": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "gpt-3.5-turbo-16k",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1683758102,
|
|
||||||
"owned_by": "openai-internal",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "modelperm-BPjHua9GyiXIbj7F0M6c4j0A",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1692458652,
|
|
||||||
"allow_create_engine": false,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": false,
|
|
||||||
"organization": "*",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "gpt-3.5-turbo-16k",
|
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -625,6 +601,30 @@
|
||||||
"root": "text-search-curie-doc-001",
|
"root": "text-search-curie-doc-001",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "gpt-3.5-turbo-0301",
|
||||||
|
"object": "model",
|
||||||
|
"created": 1677649963,
|
||||||
|
"owned_by": "openai",
|
||||||
|
"permission": [
|
||||||
|
{
|
||||||
|
"id": "modelperm-7WmfQzsq5FJ92UAnn24LduAN",
|
||||||
|
"object": "model_permission",
|
||||||
|
"created": 1690842565,
|
||||||
|
"allow_create_engine": false,
|
||||||
|
"allow_sampling": true,
|
||||||
|
"allow_logprobs": true,
|
||||||
|
"allow_search_indices": false,
|
||||||
|
"allow_view": true,
|
||||||
|
"allow_fine_tuning": false,
|
||||||
|
"organization": "*",
|
||||||
|
"group": null,
|
||||||
|
"is_blocking": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"root": "gpt-3.5-turbo-0301",
|
||||||
|
"parent": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "babbage-search-document",
|
"id": "babbage-search-document",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -649,30 +649,6 @@
|
||||||
"root": "babbage-search-document",
|
"root": "babbage-search-document",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "gpt-4-32k-0314",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1687979321,
|
|
||||||
"owned_by": "openai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "modelperm-lLwi9dsP7ZoboO1MHIJrIUSq",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1692399181,
|
|
||||||
"allow_create_engine": false,
|
|
||||||
"allow_sampling": false,
|
|
||||||
"allow_logprobs": false,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": false,
|
|
||||||
"allow_fine_tuning": false,
|
|
||||||
"organization": "*",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "gpt-4-32k-0314",
|
|
||||||
"parent": null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "babbage-code-search-text",
|
"id": "babbage-code-search-text",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -697,30 +673,6 @@
|
||||||
"root": "babbage-code-search-text",
|
"root": "babbage-code-search-text",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "text-embedding-ada-002",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1671217299,
|
|
||||||
"owned_by": "openai-internal",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "modelperm-6xIVIGILGxg9gTVWY0SpzkFn",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1692313508,
|
|
||||||
"allow_create_engine": false,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": true,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": false,
|
|
||||||
"organization": "*",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "text-embedding-ada-002",
|
|
||||||
"parent": null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "davinci-instruct-beta",
|
"id": "davinci-instruct-beta",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -842,27 +794,27 @@
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "gpt-4-32k",
|
"id": "babbage",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
"created": 1687979321,
|
"created": 1649358449,
|
||||||
"owned_by": "openai",
|
"owned_by": "openai",
|
||||||
"permission": [
|
"permission": [
|
||||||
{
|
{
|
||||||
"id": "modelperm-isyZq5njWHQyHLCf26WtwCTY",
|
"id": "modelperm-vZIqTaVk4K37PezAFVHAEW3H",
|
||||||
"object": "model_permission",
|
"object": "model_permission",
|
||||||
"created": 1692377623,
|
"created": 1690943947,
|
||||||
"allow_create_engine": false,
|
"allow_create_engine": false,
|
||||||
"allow_sampling": false,
|
"allow_sampling": true,
|
||||||
"allow_logprobs": false,
|
"allow_logprobs": true,
|
||||||
"allow_search_indices": false,
|
"allow_search_indices": false,
|
||||||
"allow_view": false,
|
"allow_view": true,
|
||||||
"allow_fine_tuning": false,
|
"allow_fine_tuning": false,
|
||||||
"organization": "*",
|
"organization": "*",
|
||||||
"group": null,
|
"group": null,
|
||||||
"is_blocking": false
|
"is_blocking": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"root": "gpt-4-32k",
|
"root": "babbage",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -962,15 +914,39 @@
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "gpt-4-32k-0613",
|
"id": "whisper-1",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
"created": 1686614047,
|
"created": 1677532384,
|
||||||
|
"owned_by": "openai-internal",
|
||||||
|
"permission": [
|
||||||
|
{
|
||||||
|
"id": "modelperm-YfjOENC37iATh6VsjLLpYdeq",
|
||||||
|
"object": "model_permission",
|
||||||
|
"created": 1691514055,
|
||||||
|
"allow_create_engine": false,
|
||||||
|
"allow_sampling": true,
|
||||||
|
"allow_logprobs": true,
|
||||||
|
"allow_search_indices": false,
|
||||||
|
"allow_view": true,
|
||||||
|
"allow_fine_tuning": false,
|
||||||
|
"organization": "*",
|
||||||
|
"group": null,
|
||||||
|
"is_blocking": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"root": "whisper-1",
|
||||||
|
"parent": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "gpt-4",
|
||||||
|
"object": "model",
|
||||||
|
"created": 1687882411,
|
||||||
"owned_by": "openai",
|
"owned_by": "openai",
|
||||||
"permission": [
|
"permission": [
|
||||||
{
|
{
|
||||||
"id": "modelperm-dwq8JoR7RqfTJHDVCxUe8GUB",
|
"id": "modelperm-ufulBjea4GV50lNUk7TL02lX",
|
||||||
"object": "model_permission",
|
"object": "model_permission",
|
||||||
"created": 1692377639,
|
"created": 1691192558,
|
||||||
"allow_create_engine": false,
|
"allow_create_engine": false,
|
||||||
"allow_sampling": false,
|
"allow_sampling": false,
|
||||||
"allow_logprobs": false,
|
"allow_logprobs": false,
|
||||||
|
@ -982,7 +958,7 @@
|
||||||
"is_blocking": false
|
"is_blocking": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"root": "gpt-4-32k-0613",
|
"root": "gpt-4",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1010,15 +986,15 @@
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "whisper-1",
|
"id": "ada",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
"created": 1677532384,
|
"created": 1649357491,
|
||||||
"owned_by": "openai-internal",
|
"owned_by": "openai",
|
||||||
"permission": [
|
"permission": [
|
||||||
{
|
{
|
||||||
"id": "modelperm-Qbzvr0DnIyt2HdaFiLj0P5h4",
|
"id": "modelperm-mEzQ65zcTNX233nYMXVZjvmy",
|
||||||
"object": "model_permission",
|
"object": "model_permission",
|
||||||
"created": 1692314508,
|
"created": 1690950776,
|
||||||
"allow_create_engine": false,
|
"allow_create_engine": false,
|
||||||
"allow_sampling": true,
|
"allow_sampling": true,
|
||||||
"allow_logprobs": true,
|
"allow_logprobs": true,
|
||||||
|
@ -1030,31 +1006,7 @@
|
||||||
"is_blocking": false
|
"is_blocking": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"root": "whisper-1",
|
"root": "ada",
|
||||||
"parent": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "gpt-4",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1687882411,
|
|
||||||
"owned_by": "openai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "modelperm-cOSx57rPrEzolEUD2QSSACPS",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1692411452,
|
|
||||||
"allow_create_engine": false,
|
|
||||||
"allow_sampling": false,
|
|
||||||
"allow_logprobs": false,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": false,
|
|
||||||
"allow_fine_tuning": false,
|
|
||||||
"organization": "*",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "gpt-4",
|
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1105,30 +1057,6 @@
|
||||||
"root": "davinci-search-document",
|
"root": "davinci-search-document",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "gpt-4-0613",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1686588896,
|
|
||||||
"owned_by": "openai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "modelperm-kZWPVNfDP5WlVYNfcopBABZB",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1692411496,
|
|
||||||
"allow_create_engine": false,
|
|
||||||
"allow_sampling": false,
|
|
||||||
"allow_logprobs": false,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": false,
|
|
||||||
"allow_fine_tuning": false,
|
|
||||||
"organization": "*",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "gpt-4-0613",
|
|
||||||
"parent": null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "curie-search-query",
|
"id": "curie-search-query",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -1177,30 +1105,6 @@
|
||||||
"root": "babbage-similarity",
|
"root": "babbage-similarity",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "ada",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1649357491,
|
|
||||||
"owned_by": "openai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "modelperm-gUTBN2NFYvvG3UwNeDnY6EEe",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1692393802,
|
|
||||||
"allow_create_engine": false,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": false,
|
|
||||||
"organization": "*",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "ada",
|
|
||||||
"parent": null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "ada-search-document",
|
"id": "ada-search-document",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -1273,6 +1177,30 @@
|
||||||
"root": "text-similarity-davinci-001",
|
"root": "text-similarity-davinci-001",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "curie",
|
||||||
|
"object": "model",
|
||||||
|
"created": 1649359874,
|
||||||
|
"owned_by": "openai",
|
||||||
|
"permission": [
|
||||||
|
{
|
||||||
|
"id": "modelperm-0g6LBMO3cgUpTYzehqtF9G1i",
|
||||||
|
"object": "model_permission",
|
||||||
|
"created": 1690950807,
|
||||||
|
"allow_create_engine": false,
|
||||||
|
"allow_sampling": true,
|
||||||
|
"allow_logprobs": true,
|
||||||
|
"allow_search_indices": false,
|
||||||
|
"allow_view": true,
|
||||||
|
"allow_fine_tuning": false,
|
||||||
|
"organization": "*",
|
||||||
|
"group": null,
|
||||||
|
"is_blocking": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"root": "curie",
|
||||||
|
"parent": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "curie-similarity",
|
"id": "curie-similarity",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -1297,6 +1225,30 @@
|
||||||
"root": "curie-similarity",
|
"root": "curie-similarity",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "gpt-3.5-turbo-0613",
|
||||||
|
"object": "model",
|
||||||
|
"created": 1686587434,
|
||||||
|
"owned_by": "openai",
|
||||||
|
"permission": [
|
||||||
|
{
|
||||||
|
"id": "modelperm-XIXH7QF7QM60DDcON9eaGFfk",
|
||||||
|
"object": "model_permission",
|
||||||
|
"created": 1690842445,
|
||||||
|
"allow_create_engine": false,
|
||||||
|
"allow_sampling": true,
|
||||||
|
"allow_logprobs": true,
|
||||||
|
"allow_search_indices": false,
|
||||||
|
"allow_view": true,
|
||||||
|
"allow_fine_tuning": false,
|
||||||
|
"organization": "*",
|
||||||
|
"group": null,
|
||||||
|
"is_blocking": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"root": "gpt-3.5-turbo-0613",
|
||||||
|
"parent": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "babbage-code-search-code",
|
"id": "babbage-code-search-code",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
|
@ -1370,15 +1322,15 @@
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "gpt-3.5-turbo-0301",
|
"id": "text-curie-001",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
"created": 1677649963,
|
"created": 1649364043,
|
||||||
"owned_by": "openai",
|
"owned_by": "openai",
|
||||||
"permission": [
|
"permission": [
|
||||||
{
|
{
|
||||||
"id": "modelperm-I4IcSJFYZl2fIK0DPSBkgK3d",
|
"id": "modelperm-vcuXVPe8oCucYrY0hxBNBXRd",
|
||||||
"object": "model_permission",
|
"object": "model_permission",
|
||||||
"created": 1691712139,
|
"created": 1690915039,
|
||||||
"allow_create_engine": false,
|
"allow_create_engine": false,
|
||||||
"allow_sampling": true,
|
"allow_sampling": true,
|
||||||
"allow_logprobs": true,
|
"allow_logprobs": true,
|
||||||
|
@ -1390,320 +1342,8 @@
|
||||||
"is_blocking": false
|
"is_blocking": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"root": "gpt-3.5-turbo-0301",
|
"root": "text-curie-001",
|
||||||
"parent": null
|
"parent": null
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "curie",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1649359874,
|
|
||||||
"owned_by": "openai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "modelperm-cXKYjZ0dQvxFHt2rqkdTWYCz",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1692392433,
|
|
||||||
"allow_create_engine": false,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": false,
|
|
||||||
"organization": "*",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "curie",
|
|
||||||
"parent": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai:industruous-facts-2022-10-13-01-17-15",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1665623835,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-qmCpjvRypiW6x5MZx8kYs6O4",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1665623835,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai:industruous-facts-2022-10-12-23-26-28",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1665617188,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-kBM7YxDdBx7y0JtMpZZnTnCY",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1665617188,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai-2022-09-16-18-23-16",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1663352597,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-SeuOQWbIya3BNKelkdDAi4Qq",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1663352597,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai:promptrunner-2022-11-24-01-53-01",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1669254781,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-UlqCtflESCgu6wuml4ybiBTM",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1669254781,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai:industruous-facts-2022-10-12-21-43-54",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1665611034,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-U6mB4aXW3ArdSIrElC4YFqtp",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1665611034,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai:industruous-facts-fill-tokenlength-2022-10-13-23-33-54",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1665704034,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-viRUnGSfaVnkJVXamTPOrnmS",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1665704034,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai:industruous-facts-fill-tokenlength-2022-10-14-00-23-52",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1665707032,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-BD65SMak4b2EmvLXL1whg4qB",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1665707032,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai-2022-10-05-17-53-03",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1664992384,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-PdsJulMafesbkJH2UIEyxovh",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1664992384,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai:industruous-facts-fill-no-sample-qa-2022-10-14-01-25-25",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1665710725,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-NFC2u7j45p63DTpoC9zM8R4X",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1665710725,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai:industruous-facts-no-sample-qa-2022-10-14-03-14-08",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1665717249,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-5y121LGwoIr87Xl3qYh31JSa",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1665717249,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai:industruous-facts-no-sample-qa-2022-10-14-22-14-09",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1665785649,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-mWTPRq0Qo0N1G3PDU7EZZRfU",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1665785649,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "davinci:ft-fixie-ai:picard-2022-10-06-05-10-37",
|
|
||||||
"object": "model",
|
|
||||||
"created": 1665033038,
|
|
||||||
"owned_by": "fixie-ai",
|
|
||||||
"permission": [
|
|
||||||
{
|
|
||||||
"id": "snapperm-mrAAsZbq6EKuaEcjGMIqQDzw",
|
|
||||||
"object": "model_permission",
|
|
||||||
"created": 1665033038,
|
|
||||||
"allow_create_engine": true,
|
|
||||||
"allow_sampling": true,
|
|
||||||
"allow_logprobs": true,
|
|
||||||
"allow_search_indices": false,
|
|
||||||
"allow_view": true,
|
|
||||||
"allow_fine_tuning": true,
|
|
||||||
"organization": "org-om1NsPYwZBBiNRoN36vWDTrC",
|
|
||||||
"group": null,
|
|
||||||
"is_blocking": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"root": "davinci:2020-05-03",
|
|
||||||
"parent": "davinci:2020-05-03"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -28,9 +28,6 @@ async def handle(incoming_request):
|
||||||
users = UserManager()
|
users = UserManager()
|
||||||
path = incoming_request.url.path.replace('v1/v1/', 'v1/')
|
path = incoming_request.url.path.replace('v1/v1/', 'v1/')
|
||||||
|
|
||||||
if '/models' in path:
|
|
||||||
return fastapi.responses.JSONResponse(content=models_list)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
payload = await incoming_request.json()
|
payload = await incoming_request.json()
|
||||||
except json.decoder.JSONDecodeError:
|
except json.decoder.JSONDecodeError:
|
||||||
|
@ -55,6 +52,10 @@ async def handle(incoming_request):
|
||||||
if ban_reason:
|
if ban_reason:
|
||||||
return await errors.error(403, f'Your NovaAI account has been banned. Reason: "{ban_reason}".', 'Contact the staff for an appeal.')
|
return await errors.error(403, f'Your NovaAI account has been banned. Reason: "{ban_reason}".', 'Contact the staff for an appeal.')
|
||||||
|
|
||||||
|
path_contains_models = '/models' in path
|
||||||
|
if path_contains_models:
|
||||||
|
return fastapi.responses.JSONResponse(content=models_list)
|
||||||
|
|
||||||
costs = config['costs']
|
costs = config['costs']
|
||||||
cost = costs['other']
|
cost = costs['other']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue