From e2dd3ecc298d218451aacda89bf940322fac0dc1 Mon Sep 17 00:00:00 2001 From: Quan Nguyen Date: Tue, 8 Aug 2023 10:59:02 -0700 Subject: [PATCH 1/3] Rename oases path to api-specs --- README.md | 2 +- core/README.md | 2 +- server/{oases => api-specs}/open-ai.yaml | 0 server/pages/api/api2ai.config.ts | 4 ++-- server/pages/api/run.ts | 1 - 5 files changed, 4 insertions(+), 5 deletions(-) rename server/{oases => api-specs}/open-ai.yaml (100%) diff --git a/README.md b/README.md index 04cbc68..143bbcb 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ fetch("http://localhost:5555/api/run", { }); ``` -Configure the `server/pages/api/api2ai.config.ts` file to add your own APIs. Follow the existing template in this file. You may add as many files as you want. +Configure the [server/pages/api/api2ai.config.ts] file to add your own APIs. Follow the existing template in this file. You may add as many files as you want. ## OpenAPI Spec diff --git a/core/README.md b/core/README.md index 04cbc68..143bbcb 100644 --- a/core/README.md +++ b/core/README.md @@ -103,7 +103,7 @@ fetch("http://localhost:5555/api/run", { }); ``` -Configure the `server/pages/api/api2ai.config.ts` file to add your own APIs. Follow the existing template in this file. You may add as many files as you want. +Configure the [server/pages/api/api2ai.config.ts] file to add your own APIs. Follow the existing template in this file. You may add as many files as you want. ## OpenAPI Spec diff --git a/server/oases/open-ai.yaml b/server/api-specs/open-ai.yaml similarity index 100% rename from server/oases/open-ai.yaml rename to server/api-specs/open-ai.yaml diff --git a/server/pages/api/api2ai.config.ts b/server/pages/api/api2ai.config.ts index e0fad53..69d962f 100644 --- a/server/pages/api/api2ai.config.ts +++ b/server/pages/api/api2ai.config.ts @@ -1,8 +1,8 @@ import path from "path"; import "dotenv/config"; -const oasesDirectory = path.join(process.cwd(), "oases"); -const openAIFilename = path.join(oasesDirectory, "open-ai.yaml"); +const apiSpecDirectory = path.join(process.cwd(), "api-specs"); +const openAIFilename = path.join(apiSpecDirectory, "open-ai.yaml"); export const configs = { apiKey: process.env["OPEN_AI_KEY"] || "", diff --git a/server/pages/api/run.ts b/server/pages/api/run.ts index 66c49e5..e36328b 100644 --- a/server/pages/api/run.ts +++ b/server/pages/api/run.ts @@ -16,7 +16,6 @@ const handler = async (req, res) => { verbose: true, }); - console.log(JSON.stringify(result, null, 2)); res.status(200).json(result); } catch (error: any) { res.status(422).json({ From fcdc1561e47f411d189d26725f7897ab68f4d84c Mon Sep 17 00:00:00 2001 From: Quan Nguyen Date: Wed, 9 Aug 2023 10:28:59 -0700 Subject: [PATCH 2/3] Convert postman collection to OpenAPI Spec --- core/package.json | 1 + core/src/api/__tests__/oas-loader.test.ts | 32 +++++++++++++++--- core/src/api/oas-loader.ts | 40 ++++++++++++++++++++++- yarn.lock | 37 +++++++++++++++++++++ 4 files changed, 105 insertions(+), 5 deletions(-) diff --git a/core/package.json b/core/package.json index 3999885..19b55d2 100644 --- a/core/package.json +++ b/core/package.json @@ -29,6 +29,7 @@ }, "dependencies": { "openai": "^3.3.0", + "postman-to-openapi": "3.0.1", "swagger-parser": "^10.0.3" } } diff --git a/core/src/api/__tests__/oas-loader.test.ts b/core/src/api/__tests__/oas-loader.test.ts index 4bc8167..b9fd07f 100644 --- a/core/src/api/__tests__/oas-loader.test.ts +++ b/core/src/api/__tests__/oas-loader.test.ts @@ -2,10 +2,11 @@ import path from "path"; import { parse } from "../oas-loader"; describe("#parse", () => { - const filename: string = path.join( - __dirname, - "../../../fixtures/oases/petstore.yaml" - ); + let filename: string; + + beforeEach(() => { + filename = path.join(__dirname, "../../../fixtures/oases/petstore.yaml"); + }); test("parsing open api spec into operations", async () => { const operations = await parse({ filename }); @@ -82,4 +83,27 @@ describe("#parse", () => { }); }); }); + + describe("when file is a postman collection", () => { + beforeEach(() => { + filename = path.join(__dirname, "../../../fixtures/postman/openai.json"); + }); + + test("converts and parses file as OAS", async () => { + const auth = { token: "sk-secret" }; + + const operations = await parse({ filename, auth }); + + expect(operations.map((o) => o.summary())).toEqual([ + "Create chat message completion", + ]); + + expect(operations[0].operationId()).toEqual( + "createChatMessageCompletion" + ); + expect(operations[0].securities.length).toEqual(1); + expect(operations[0].securities[0].type).toEqual("http"); + expect(operations[0].securities[0].scheme).toEqual("bearer"); + }); + }); }); diff --git a/core/src/api/oas-loader.ts b/core/src/api/oas-loader.ts index a8c3362..c0fed69 100644 --- a/core/src/api/oas-loader.ts +++ b/core/src/api/oas-loader.ts @@ -2,6 +2,10 @@ import SwaggerParser from "@apidevtools/swagger-parser"; import Operation from "./operation"; import Security from "./security"; +import postmanToOpenApi from "postman-to-openapi"; + +import { promises as fs } from "fs"; + const parseSecurities = (api: any) => { if (!api.components?.securitySchemes) { console.warn("No `securitySchemes` found in this API spec."); @@ -42,6 +46,40 @@ const selectSecurities = ({ }); }; +const parseJSON = async (filename: string) => { + const rawText: string = await fs.readFile(filename, "utf8"); + + try { + return JSON.parse(rawText); + } catch { + return null; + } +}; + +const isPostmanCollection = async (filename: string) => { + // Detect and parse postman collection into OAS or default to SwaggerParser. + const json = await parseJSON(filename); + + return !!json?.info?._postman_id; +}; + +const parseAPI = async (filename: string) => { + const isPostman = await isPostmanCollection(filename); + + if (isPostman) { + const oas = await postmanToOpenApi(filename, undefined, { + replaceVars: true, + outputFormat: "json", + operationId: "auto", + defaultTag: "General", + }); + + return JSON.parse(oas); + } else { + return await SwaggerParser.dereference(filename); + } +}; + export const parse = async ({ filename, auth, @@ -49,7 +87,7 @@ export const parse = async ({ filename: string; auth?: object; }) => { - const api = await SwaggerParser.dereference(filename); + const api = await parseAPI(filename); const securities = parseSecurities(api); const operations: Operation[] = []; diff --git a/yarn.lock b/yarn.lock index f92b65b..4dbfad7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2098,6 +2098,11 @@ commander@^4.0.0: resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== +commander@^8.3.0: + version "8.3.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" + integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== + concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -4138,6 +4143,11 @@ json5@^2.2.2, json5@^2.2.3: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== +jsonc-parser@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" + integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== + jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" @@ -4276,6 +4286,11 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" +lodash.camelcase@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" + integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== + lodash.get@^4.4.2: version "4.4.2" resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" @@ -4404,6 +4419,11 @@ map-obj@^4.0.0: resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== +marked@^4.2.5: + version "4.3.0" + resolved "https://registry.yarnpkg.com/marked/-/marked-4.3.0.tgz#796362821b019f734054582038b116481b456cf3" + integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A== + meow@^6.0.0: version "6.1.1" resolved "https://registry.yarnpkg.com/meow/-/meow-6.1.1.tgz#1ad64c4b76b2a24dfb2f635fddcadf320d251467" @@ -4516,6 +4536,11 @@ ms@^2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== +mustache@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/mustache/-/mustache-4.2.0.tgz#e5892324d60a12ec9c2a73359edca52972bf6f64" + integrity sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ== + mute-stream@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" @@ -4945,6 +4970,18 @@ postcss@8.4.14: picocolors "^1.0.0" source-map-js "^1.0.2" +postman-to-openapi@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/postman-to-openapi/-/postman-to-openapi-3.0.1.tgz#3287e756f4d36489e3c43e99ef799618246e2aed" + integrity sha512-OUenC7fi5moe41nhO0yUj8jqVj6tchLCjPxG2d28Ai//Oujt3lL7tiFCL2P6pKUV1a7p5X/BJh7op65jjbrs3Q== + dependencies: + commander "^8.3.0" + js-yaml "^4.1.0" + jsonc-parser "3.2.0" + lodash.camelcase "^4.3.0" + marked "^4.2.5" + mustache "^4.2.0" + preferred-pm@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/preferred-pm/-/preferred-pm-3.0.3.tgz#1b6338000371e3edbce52ef2e4f65eb2e73586d6" From 065aea6e0bb0e4d01d43069d33ebe3d59b93a74f Mon Sep 17 00:00:00 2001 From: Quan Nguyen Date: Wed, 9 Aug 2023 11:01:51 -0700 Subject: [PATCH 3/3] Add postman collections --- core/fixtures/postman/openai.json | 197 ++ server/api-specs/openai-postman.json | 3512 ++++++++++++++++++++++++++ 2 files changed, 3709 insertions(+) create mode 100644 core/fixtures/postman/openai.json create mode 100644 server/api-specs/openai-postman.json diff --git a/core/fixtures/postman/openai.json b/core/fixtures/postman/openai.json new file mode 100644 index 0000000..b86071d --- /dev/null +++ b/core/fixtures/postman/openai.json @@ -0,0 +1,197 @@ +{ + "info": { + "_postman_id": "90abb798-cb85-43cb-ba3a-ae7941e968da", + "name": "OpenAI", + "description": "[The OpenAI API](https://beta.openai.com/docs/introduction/overview) can be applied to virtually any task that involves understanding or generating natural language or code. We offer a spectrum of [models](https://beta.openai.com/docs/models) with different levels of power suitable for different tasks, as well as the ability to [fine-tune](https://beta.openai.com/docs/guides/fine-tuning) your own custom models. These models can be used for everything from content generation to semantic search and classification.", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28827358", + "_collection_link": "https://www.postman.com/devrel/workspace/openai/collection/13183464-90abb798-cb85-43cb-ba3a-ae7941e968da?action=share&creator=28827358&source=collection_link" + }, + "item": [ + { + "name": "Chat", + "item": [ + { + "name": "Create chat message completion", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = null;", + "", + "try {", + " jsonData = pm.response.json();", + " pm.test(\"Check if response is valid JSON\", function() { ", + " pm.expect(jsonData).to.be.an('object');", + " pm.visualizer.set(``);", + "});", + "} catch (a) {", + " console.log(\"Dealing with an SSE stream ... \")", + "}" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"gpt-3.5-turbo\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Who won the world series in 2020?\"\n },\n {\n \"role\": \"assistant\",\n \"content\": \"The Los Angeles Dodgers won the World Series in 2020.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Where was it played?\"\n }\n ],\n \"temperature\": 1,\n \"top_p\": 1,\n \"n\": 1,\n \"stream\": false,\n \"max_tokens\": 250,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/chat/completions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "chat", + "completions" + ] + } + }, + "response": [ + { + "name": "Create chat message completion", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"gpt-3.5-turbo\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Who won the world series in 2020?\"\n },\n {\n \"role\": \"assistant\",\n \"content\": \"The Los Angeles Dodgers won the World Series in 2020.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Where was it played?\"\n }\n ],\n \"temperature\": 1,\n \"top_p\": 1,\n \"n\": 1,\n \"stream\": false,\n \"max_tokens\": 250,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/chat/completions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "chat", + "completions" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Mon, 20 Mar 2023 23:50:57 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "360" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Cache-Control", + "value": "no-cache, must-revalidate" + }, + { + "key": "Openai-Model", + "value": "gpt-3.5-turbo-0301" + }, + { + "key": "Openai-Organization", + "value": "user-ydfxhof885ycvb52zjw5ly51" + }, + { + "key": "Openai-Processing-Ms", + "value": "1800" + }, + { + "key": "Openai-Version", + "value": "2020-10-01" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + }, + { + "key": "X-Ratelimit-Limit-Requests", + "value": "3500" + }, + { + "key": "X-Ratelimit-Remaining-Requests", + "value": "3499" + }, + { + "key": "X-Ratelimit-Reset-Requests", + "value": "17ms" + }, + { + "key": "X-Request-Id", + "value": "8506a913c39e706fede784458b254ca7" + } + ], + "cookie": [], + "body": "{\n \"id\": \"chatcmpl-6wJZ9Ebt8puAO4zW3zUpgFwS8BfJB\",\n \"object\": \"chat.completion\",\n \"created\": 1679356255,\n \"model\": \"gpt-3.5-turbo-0301\",\n \"usage\": {\n \"prompt_tokens\": 45,\n \"completion_tokens\": 19,\n \"total_tokens\": 64\n },\n \"choices\": [\n {\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"The 2020 World Series was played in Arlington, Texas, at Globe Life Field.\"\n },\n \"finish_reason\": \"stop\",\n \"index\": 0\n }\n ]\n}" + } + ] + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{token}}", + "type": "string" + } + ] + }, + "variable": [ + { + "key": "baseUrl", + "value": "https://api.openai.com/v1" + }, + { + "key": "token", + "value": "" + } + ] +} \ No newline at end of file diff --git a/server/api-specs/openai-postman.json b/server/api-specs/openai-postman.json new file mode 100644 index 0000000..8c38d16 --- /dev/null +++ b/server/api-specs/openai-postman.json @@ -0,0 +1,3512 @@ +{ + "info": { + "_postman_id": "90abb798-cb85-43cb-ba3a-ae7941e968da", + "name": "OpenAI", + "description": "[The OpenAI API](https://beta.openai.com/docs/introduction/overview) can be applied to virtually any task that involves understanding or generating natural language or code. We offer a spectrum of [models](https://beta.openai.com/docs/models) with different levels of power suitable for different tasks, as well as the ability to [fine-tune](https://beta.openai.com/docs/guides/fine-tuning) your own custom models. These models can be used for everything from content generation to semantic search and classification.", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28827358", + "_collection_link": "https://www.postman.com/devrel/workspace/openai/collection/13183464-90abb798-cb85-43cb-ba3a-ae7941e968da?action=share&creator=28827358&source=collection_link" + }, + "item": [ + { + "name": "Models", + "item": [ + { + "name": "List models", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/models", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "models" + ] + }, + "description": "Lists the currently available engines, and provides basic information about each one such as the owner and availability.\n\n[See More](https://beta.openai.com/docs/api-reference/engines/list)\n" + }, + "response": [ + { + "name": "List models", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/models", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "models" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 22 Mar 2023 22:24:57 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "45701" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + { + "key": "X-Request-ID", + "value": "f281653ca33e44e1f6a3cfb65690a862" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "74" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"babbage\",\n \"object\": \"model\",\n \"created\": 1649358449,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-49FUp5v084tBB49tC4z8LPH5\",\n \"object\": \"model_permission\",\n \"created\": 1669085501,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"babbage\",\n \"parent\": null\n },\n {\n \"id\": \"davinci\",\n \"object\": \"model\",\n \"created\": 1649359874,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-U6ZwlyAd0LyMk4rcMdz33Yc3\",\n \"object\": \"model_permission\",\n \"created\": 1669066355,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"davinci\",\n \"parent\": null\n },\n {\n \"id\": \"babbage-code-search-code\",\n \"object\": \"model\",\n \"created\": 1651172509,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-4qRnA3Hj8HIJbgo0cGbcmErn\",\n \"object\": \"model_permission\",\n \"created\": 1669085863,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"babbage-code-search-code\",\n \"parent\": null\n },\n {\n \"id\": \"text-similarity-babbage-001\",\n \"object\": \"model\",\n \"created\": 1651172505,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-48kcCHhfzvnfY84OtJf5m8Cz\",\n \"object\": \"model_permission\",\n \"created\": 1669081947,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-similarity-babbage-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-davinci-001\",\n \"object\": \"model\",\n \"created\": 1649364042,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-MVM5NfoRjXkDve3uQW3YZDDt\",\n \"object\": \"model_permission\",\n \"created\": 1669066355,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-davinci-001\",\n \"parent\": null\n },\n {\n \"id\": \"ada\",\n \"object\": \"model\",\n \"created\": 1649357491,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-u0nKN4ub7EVQudgMuvCuvDjc\",\n \"object\": \"model_permission\",\n \"created\": 1675997661,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"ada\",\n \"parent\": null\n },\n {\n \"id\": \"curie-instruct-beta\",\n \"object\": \"model\",\n \"created\": 1649364042,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-JlSyMbxXeFm42SDjN0wTD26Y\",\n \"object\": \"model_permission\",\n \"created\": 1669070162,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"curie-instruct-beta\",\n \"parent\": null\n },\n {\n \"id\": \"babbage-code-search-text\",\n \"object\": \"model\",\n \"created\": 1651172509,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-Lftf8H4ZPDxNxVs0hHPJBUoe\",\n \"object\": \"model_permission\",\n \"created\": 1669085863,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"babbage-code-search-text\",\n \"parent\": null\n },\n {\n \"id\": \"babbage-similarity\",\n \"object\": \"model\",\n \"created\": 1651172505,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-mS20lnPqhebTaFPrcCufyg7m\",\n \"object\": \"model_permission\",\n \"created\": 1669081947,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"babbage-similarity\",\n \"parent\": null\n },\n {\n \"id\": \"gpt-3.5-turbo\",\n \"object\": \"model\",\n \"created\": 1677610602,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-gsCj9RWTrhBBXxLD3balnjDC\",\n \"object\": \"model_permission\",\n \"created\": 1679514173,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"gpt-3.5-turbo\",\n \"parent\": null\n },\n {\n \"id\": \"whisper-1\",\n \"object\": \"model\",\n \"created\": 1677532384,\n \"owned_by\": \"openai-internal\",\n \"permission\": [\n {\n \"id\": \"modelperm-djnD3SGvfG9uvdu0Iz9Q66vO\",\n \"object\": \"model_permission\",\n \"created\": 1679416530,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"whisper-1\",\n \"parent\": null\n },\n {\n \"id\": \"code-search-babbage-text-001\",\n \"object\": \"model\",\n \"created\": 1651172507,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-EC5ASz4NLChtEV1Cwkmrwm57\",\n \"object\": \"model_permission\",\n \"created\": 1669085863,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"code-search-babbage-text-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-curie-001\",\n \"object\": \"model\",\n \"created\": 1649364043,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-8InhPV3CZfN3F5QHKoJd4zRD\",\n \"object\": \"model_permission\",\n \"created\": 1679310997,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-curie-001\",\n \"parent\": null\n },\n {\n \"id\": \"gpt-3.5-turbo-0301\",\n \"object\": \"model\",\n \"created\": 1677649963,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-rI5XpKb9SVF0vFW0dKpGyg6y\",\n \"object\": \"model_permission\",\n \"created\": 1679514175,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"gpt-3.5-turbo-0301\",\n \"parent\": null\n },\n {\n \"id\": \"code-cushman-001\",\n \"object\": \"model\",\n \"created\": 1656081837,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-M6pwNXr8UmY3mqdUEe4VFXdY\",\n \"object\": \"model_permission\",\n \"created\": 1669066355,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"code-cushman-001\",\n \"parent\": null\n },\n {\n \"id\": \"code-search-babbage-code-001\",\n \"object\": \"model\",\n \"created\": 1651172507,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-64LWHdlANgak2rHzc3K5Stt0\",\n \"object\": \"model_permission\",\n \"created\": 1669085864,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"code-search-babbage-code-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-davinci-insert-001\",\n \"object\": \"model\",\n \"created\": 1649880484,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-g4FksnxVDgVZYwrHLAqW0cUU\",\n \"object\": \"model_permission\",\n \"created\": 1679353289,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-davinci-insert-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-davinci-003\",\n \"object\": \"model\",\n \"created\": 1669599635,\n \"owned_by\": \"openai-internal\",\n \"permission\": [\n {\n \"id\": \"modelperm-U30UpKCQHMpSyxUb1CZEB4us\",\n \"object\": \"model_permission\",\n \"created\": 1679514438,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-davinci-003\",\n \"parent\": null\n },\n {\n \"id\": \"text-ada-001\",\n \"object\": \"model\",\n \"created\": 1649364042,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-KN5dRBCEW4az6gwcGXkRkMwK\",\n \"object\": \"model_permission\",\n \"created\": 1669088497,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-ada-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-embedding-ada-002\",\n \"object\": \"model\",\n \"created\": 1671217299,\n \"owned_by\": \"openai-internal\",\n \"permission\": [\n {\n \"id\": \"modelperm-Dbv2FOgMdlDjO8py8vEjD5Mi\",\n \"object\": \"model_permission\",\n \"created\": 1678892857,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-embedding-ada-002\",\n \"parent\": null\n },\n {\n \"id\": \"text-similarity-ada-001\",\n \"object\": \"model\",\n \"created\": 1651172505,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-DdCqkqmORpqxqdg4TkFRAgmw\",\n \"object\": \"model_permission\",\n \"created\": 1669092759,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-similarity-ada-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-davinci-insert-002\",\n \"object\": \"model\",\n \"created\": 1649880484,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-Lmn4UDd83SEv3RPNGtEC3pBS\",\n \"object\": \"model_permission\",\n \"created\": 1679353289,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-davinci-insert-002\",\n \"parent\": null\n },\n {\n \"id\": \"code-davinci-002\",\n \"object\": \"model\",\n \"created\": 1649880485,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-qVOtXhk3nqpGObWkmEpeLtqS\",\n \"object\": \"model_permission\",\n \"created\": 1679082259,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"code-davinci-002\",\n \"parent\": null\n },\n {\n \"id\": \"ada-code-search-code\",\n \"object\": \"model\",\n \"created\": 1651172505,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-wa8tg4Pi9QQNaWdjMTM8dkkx\",\n \"object\": \"model_permission\",\n \"created\": 1669087421,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"ada-code-search-code\",\n \"parent\": null\n },\n {\n \"id\": \"ada-similarity\",\n \"object\": \"model\",\n \"created\": 1651172507,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-LtSIwCEReeDcvGTmM13gv6Fg\",\n \"object\": \"model_permission\",\n \"created\": 1669092759,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"ada-similarity\",\n \"parent\": null\n },\n {\n \"id\": \"code-search-ada-text-001\",\n \"object\": \"model\",\n \"created\": 1651172507,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-JBssaJSmbgvJfTkX71y71k2J\",\n \"object\": \"model_permission\",\n \"created\": 1669087421,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"code-search-ada-text-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-search-ada-query-001\",\n \"object\": \"model\",\n \"created\": 1651172505,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-1YiiBMYC8it0mpQCBK7t8uSP\",\n \"object\": \"model_permission\",\n \"created\": 1669092640,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-search-ada-query-001\",\n \"parent\": null\n },\n {\n \"id\": \"davinci-search-document\",\n \"object\": \"model\",\n \"created\": 1651172509,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-M43LVJQRGxz6ode34ctLrCaG\",\n \"object\": \"model_permission\",\n \"created\": 1669066355,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"davinci-search-document\",\n \"parent\": null\n },\n {\n \"id\": \"ada-code-search-text\",\n \"object\": \"model\",\n \"created\": 1651172510,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-kFc17wOI4d1FjZEaCqnk4Frg\",\n \"object\": \"model_permission\",\n \"created\": 1669087421,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"ada-code-search-text\",\n \"parent\": null\n },\n {\n \"id\": \"text-search-ada-doc-001\",\n \"object\": \"model\",\n \"created\": 1651172507,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-kbHvYouDlkD78ehcmMOGdKpK\",\n \"object\": \"model_permission\",\n \"created\": 1669092640,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-search-ada-doc-001\",\n \"parent\": null\n },\n {\n \"id\": \"davinci-instruct-beta\",\n \"object\": \"model\",\n \"created\": 1649364042,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-k9kuMYlfd9nvFiJV2ug0NWws\",\n \"object\": \"model_permission\",\n \"created\": 1669066356,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"davinci-instruct-beta\",\n \"parent\": null\n },\n {\n \"id\": \"text-similarity-curie-001\",\n \"object\": \"model\",\n \"created\": 1651172507,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-6dgTTyXrZE7d53Licw4hYkvd\",\n \"object\": \"model_permission\",\n \"created\": 1669079883,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-similarity-curie-001\",\n \"parent\": null\n },\n {\n \"id\": \"code-search-ada-code-001\",\n \"object\": \"model\",\n \"created\": 1651172507,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-8soch45iiGvux5Fg1ORjdC4s\",\n \"object\": \"model_permission\",\n \"created\": 1669087421,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"code-search-ada-code-001\",\n \"parent\": null\n },\n {\n \"id\": \"ada-search-query\",\n \"object\": \"model\",\n \"created\": 1651172505,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-b753xmIzAUkluQ1L20eDZLtQ\",\n \"object\": \"model_permission\",\n \"created\": 1669092640,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"ada-search-query\",\n \"parent\": null\n },\n {\n \"id\": \"text-search-davinci-query-001\",\n \"object\": \"model\",\n \"created\": 1651172505,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-9McKbsEYSaDshU9M3bp6ejUb\",\n \"object\": \"model_permission\",\n \"created\": 1669066353,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-search-davinci-query-001\",\n \"parent\": null\n },\n {\n \"id\": \"curie-search-query\",\n \"object\": \"model\",\n \"created\": 1651172509,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-sIbfSwzVpVBtymQgOQSLBpxe\",\n \"object\": \"model_permission\",\n \"created\": 1677273417,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"curie-search-query\",\n \"parent\": null\n },\n {\n \"id\": \"davinci-search-query\",\n \"object\": \"model\",\n \"created\": 1651172505,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-lYkiTZMmJMWm8jvkPx2duyHE\",\n \"object\": \"model_permission\",\n \"created\": 1669066353,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"davinci-search-query\",\n \"parent\": null\n },\n {\n \"id\": \"babbage-search-document\",\n \"object\": \"model\",\n \"created\": 1651172510,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-5qFV9kxCRGKIXpBEP75chmp7\",\n \"object\": \"model_permission\",\n \"created\": 1669084981,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"babbage-search-document\",\n \"parent\": null\n },\n {\n \"id\": \"ada-search-document\",\n \"object\": \"model\",\n \"created\": 1651172507,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-8qUMuMAbo4EwedbGamV7e9hq\",\n \"object\": \"model_permission\",\n \"created\": 1669092640,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"ada-search-document\",\n \"parent\": null\n },\n {\n \"id\": \"text-search-curie-query-001\",\n \"object\": \"model\",\n \"created\": 1651172509,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-Iion0NCpsXPNtIkQ0owQLi7V\",\n \"object\": \"model_permission\",\n \"created\": 1677273417,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-search-curie-query-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-search-babbage-doc-001\",\n \"object\": \"model\",\n \"created\": 1651172509,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-ao2r26P2Th7nhRFleHwy2gn5\",\n \"object\": \"model_permission\",\n \"created\": 1669084981,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-search-babbage-doc-001\",\n \"parent\": null\n },\n {\n \"id\": \"curie-search-document\",\n \"object\": \"model\",\n \"created\": 1651172508,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-LDsN5wW8eKVuh1OsyciHntE9\",\n \"object\": \"model_permission\",\n \"created\": 1677273417,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"curie-search-document\",\n \"parent\": null\n },\n {\n \"id\": \"text-search-curie-doc-001\",\n \"object\": \"model\",\n \"created\": 1651172509,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-taUGRSku7bQLa24SNIwYPEsi\",\n \"object\": \"model_permission\",\n \"created\": 1677273417,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-search-curie-doc-001\",\n \"parent\": null\n },\n {\n \"id\": \"babbage-search-query\",\n \"object\": \"model\",\n \"created\": 1651172509,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-wSs1hMXDKsrcErlbN8HmzlLE\",\n \"object\": \"model_permission\",\n \"created\": 1669084981,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"babbage-search-query\",\n \"parent\": null\n },\n {\n \"id\": \"text-babbage-001\",\n \"object\": \"model\",\n \"created\": 1649364043,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-a3Ph5FIBbJxsoA4wvx7VYC7R\",\n \"object\": \"model_permission\",\n \"created\": 1675105935,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-babbage-001\",\n \"parent\": null\n },\n {\n \"id\": \"code-davinci-edit-001\",\n \"object\": \"model\",\n \"created\": 1649880484,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-tJXJ7735l1wbCYaLtIMamDGe\",\n \"object\": \"model_permission\",\n \"created\": 1679353400,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"code-davinci-edit-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-search-davinci-doc-001\",\n \"object\": \"model\",\n \"created\": 1651172505,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-qhSf1j2MJMujcu3t7cHnF1DN\",\n \"object\": \"model_permission\",\n \"created\": 1669066353,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-search-davinci-doc-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-search-babbage-query-001\",\n \"object\": \"model\",\n \"created\": 1651172509,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-Kg70kkFxD93QQqsVe4Zw8vjc\",\n \"object\": \"model_permission\",\n \"created\": 1669084981,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-search-babbage-query-001\",\n \"parent\": null\n },\n {\n \"id\": \"curie-similarity\",\n \"object\": \"model\",\n \"created\": 1651172510,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-zhWKExSloaQiJgzjVHFmh2wR\",\n \"object\": \"model_permission\",\n \"created\": 1675106290,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"curie-similarity\",\n \"parent\": null\n },\n {\n \"id\": \"curie\",\n \"object\": \"model\",\n \"created\": 1649359874,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-oPaljeveTjEIDbhDjzFiyf4V\",\n \"object\": \"model_permission\",\n \"created\": 1675106503,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"curie\",\n \"parent\": null\n },\n {\n \"id\": \"text-davinci-edit-001\",\n \"object\": \"model\",\n \"created\": 1649809179,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-3NeB0MQxtyng6zr1OyafQWsR\",\n \"object\": \"model_permission\",\n \"created\": 1679353911,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-davinci-edit-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-similarity-davinci-001\",\n \"object\": \"model\",\n \"created\": 1651172505,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-OvmcfYoq5V9SF9xTYw1Oz6Ue\",\n \"object\": \"model_permission\",\n \"created\": 1669066356,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-similarity-davinci-001\",\n \"parent\": null\n },\n {\n \"id\": \"text-davinci-002\",\n \"object\": \"model\",\n \"created\": 1649880484,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-l4EU6QlN1HcS0so0jU16kyg8\",\n \"object\": \"model_permission\",\n \"created\": 1679355287,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-davinci-002\",\n \"parent\": null\n },\n {\n \"id\": \"davinci-similarity\",\n \"object\": \"model\",\n \"created\": 1651172509,\n \"owned_by\": \"openai-dev\",\n \"permission\": [\n {\n \"id\": \"modelperm-lYYgng3LM0Y97HvB5CDc8no2\",\n \"object\": \"model_permission\",\n \"created\": 1669066353,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": true,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"davinci-similarity\",\n \"parent\": null\n },\n {\n \"id\": \"cushman:2020-05-03\",\n \"object\": \"model\",\n \"created\": 1590625110,\n \"owned_by\": \"system\",\n \"permission\": [\n {\n \"id\": \"snapperm-FAup8P1KqclNlTsunLDRiesT\",\n \"object\": \"model_permission\",\n \"created\": 1590625111,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": true,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"cushman:2020-05-03\",\n \"parent\": null\n },\n {\n \"id\": \"ada:2020-05-03\",\n \"object\": \"model\",\n \"created\": 1607631625,\n \"owned_by\": \"system\",\n \"permission\": [\n {\n \"id\": \"snapperm-9TYofAqUs54vytKYL0IX91rX\",\n \"object\": \"model_permission\",\n \"created\": 1607631626,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"ada:2020-05-03\",\n \"parent\": null\n },\n {\n \"id\": \"babbage:2020-05-03\",\n \"object\": \"model\",\n \"created\": 1607632611,\n \"owned_by\": \"system\",\n \"permission\": [\n {\n \"id\": \"snapperm-jaLAcmyyNuaVmalCE1BGTGwf\",\n \"object\": \"model_permission\",\n \"created\": 1607632613,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"babbage:2020-05-03\",\n \"parent\": null\n },\n {\n \"id\": \"curie:2020-05-03\",\n \"object\": \"model\",\n \"created\": 1607632725,\n \"owned_by\": \"system\",\n \"permission\": [\n {\n \"id\": \"snapperm-bt6R8PWbB2SwK5evFo0ZxSs4\",\n \"object\": \"model_permission\",\n \"created\": 1607632727,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"curie:2020-05-03\",\n \"parent\": null\n },\n {\n \"id\": \"davinci:2020-05-03\",\n \"object\": \"model\",\n \"created\": 1607640163,\n \"owned_by\": \"system\",\n \"permission\": [\n {\n \"id\": \"snapperm-99cbfQTYDVeLkTYndX3UMpSr\",\n \"object\": \"model_permission\",\n \"created\": 1607640164,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"davinci:2020-05-03\",\n \"parent\": null\n },\n {\n \"id\": \"if-davinci-v2\",\n \"object\": \"model\",\n \"created\": 1610745990,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"snapperm-58q0TdK2K4kMgL3MoHvGWMlH\",\n \"object\": \"model_permission\",\n \"created\": 1610746036,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"if-davinci-v2\",\n \"parent\": null\n },\n {\n \"id\": \"if-curie-v2\",\n \"object\": \"model\",\n \"created\": 1610745968,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"snapperm-fwAseHVq6NGe6Ple6tKfzRSK\",\n \"object\": \"model_permission\",\n \"created\": 1610746043,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"if-curie-v2\",\n \"parent\": null\n },\n {\n \"id\": \"if-davinci:3.0.0\",\n \"object\": \"model\",\n \"created\": 1629420755,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"snapperm-T53lssiyMWwiuJwhyO9ic53z\",\n \"object\": \"model_permission\",\n \"created\": 1629421809,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": true,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"if-davinci:3.0.0\",\n \"parent\": null\n },\n {\n \"id\": \"davinci-if:3.0.0\",\n \"object\": \"model\",\n \"created\": 1629498070,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"snapperm-s6ZIAVMwlZwrLGGClTXqSK3Q\",\n \"object\": \"model_permission\",\n \"created\": 1629498084,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": true,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"davinci-if:3.0.0\",\n \"parent\": null\n },\n {\n \"id\": \"davinci-instruct-beta:2.0.0\",\n \"object\": \"model\",\n \"created\": 1629501914,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"snapperm-c70U4TBfiOD839xptP5pJzyc\",\n \"object\": \"model_permission\",\n \"created\": 1629501939,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": true,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"davinci-instruct-beta:2.0.0\",\n \"parent\": null\n },\n {\n \"id\": \"text-ada:001\",\n \"object\": \"model\",\n \"created\": 1641949608,\n \"owned_by\": \"system\",\n \"permission\": [\n {\n \"id\": \"snapperm-d2PSnwFG1Yn9of6PvrrhkBcU\",\n \"object\": \"model_permission\",\n \"created\": 1641949610,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-ada:001\",\n \"parent\": null\n },\n {\n \"id\": \"text-davinci:001\",\n \"object\": \"model\",\n \"created\": 1641943966,\n \"owned_by\": \"system\",\n \"permission\": [\n {\n \"id\": \"snapperm-Fj1O3zkKXOQy6AkcfQXRKcWA\",\n \"object\": \"model_permission\",\n \"created\": 1641944340,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-davinci:001\",\n \"parent\": null\n },\n {\n \"id\": \"text-curie:001\",\n \"object\": \"model\",\n \"created\": 1641955047,\n \"owned_by\": \"system\",\n \"permission\": [\n {\n \"id\": \"snapperm-BI9TAT6SCj43JRsUb9CYadsz\",\n \"object\": \"model_permission\",\n \"created\": 1641955123,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-curie:001\",\n \"parent\": null\n },\n {\n \"id\": \"text-babbage:001\",\n \"object\": \"model\",\n \"created\": 1642018370,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"snapperm-7oP3WFr9x7qf5xb3eZrVABAH\",\n \"object\": \"model_permission\",\n \"created\": 1642018480,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"text-babbage:001\",\n \"parent\": null\n }\n ]\n}" + } + ] + }, + { + "name": "Retrieve model", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/models/:model_id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "models", + ":model_id" + ], + "variable": [ + { + "key": "model_id", + "value": "babbage" + } + ] + }, + "description": "Retrieves an engine instance, providing basic information about the engine such as the owner and availability.\n\n[See More](https://beta.openai.com/docs/api-reference/engines/retrieve)\n" + }, + "response": [ + { + "name": "Retrieve model", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/models/:model_id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "models", + ":model_id" + ], + "variable": [ + { + "key": "model_id", + "value": "babbage" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Sat, 10 Dec 2022 19:52:06 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "549" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + { + "key": "X-Request-ID", + "value": "ca0c3e2fc88b859eebd7eb1a80f399a5" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "32" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"id\": \"babbage\",\n \"object\": \"model\",\n \"created\": 1649358449,\n \"owned_by\": \"openai\",\n \"permission\": [\n {\n \"id\": \"modelperm-49FUp5v084tBB49tC4z8LPH5\",\n \"object\": \"model_permission\",\n \"created\": 1669085501,\n \"allow_create_engine\": false,\n \"allow_sampling\": true,\n \"allow_logprobs\": true,\n \"allow_search_indices\": false,\n \"allow_view\": true,\n \"allow_fine_tuning\": false,\n \"organization\": \"*\",\n \"group\": null,\n \"is_blocking\": false\n }\n ],\n \"root\": \"babbage\",\n \"parent\": null\n}" + } + ] + } + ], + "description": "List and describe the various models available in the API. You can refer to the [Models](https://beta.openai.com/docs/models) documentation to understand what models are available and the differences between them." + }, + { + "name": "Completions", + "item": [ + { + "name": "Create completion", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"text-davinci-003\",\n \"prompt\": \"Write a limmerick about APIs\",\n \"max_tokens\": 250,\n \"temperature\": 0.7\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/completions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "completions" + ] + }, + "description": "Creates a completion for the provided prompt and parameters." + }, + "response": [ + { + "name": "OK", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"text-davinci-003\",\n \"prompt\": \"Write a limmerick about APIs\",\n \"max_tokens\": 250,\n \"temperature\": 0.7\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/completions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "completions" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Mon, 20 Mar 2023 23:52:01 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "397" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Cache-Control", + "value": "no-cache, must-revalidate" + }, + { + "key": "Openai-Model", + "value": "text-davinci-003" + }, + { + "key": "Openai-Organization", + "value": "user-ydfxhof885ycvb52zjw5ly51" + }, + { + "key": "Openai-Processing-Ms", + "value": "1087" + }, + { + "key": "Openai-Version", + "value": "2020-10-01" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + }, + { + "key": "X-Ratelimit-Limit-Requests", + "value": "3000" + }, + { + "key": "X-Ratelimit-Limit-Tokens", + "value": "250000" + }, + { + "key": "X-Ratelimit-Remaining-Requests", + "value": "2999" + }, + { + "key": "X-Ratelimit-Remaining-Tokens", + "value": "249750" + }, + { + "key": "X-Ratelimit-Reset-Requests", + "value": "20ms" + }, + { + "key": "X-Ratelimit-Reset-Tokens", + "value": "60ms" + }, + { + "key": "X-Request-Id", + "value": "c38326c6d55da8e20b9e228b827e0901" + } + ], + "cookie": [], + "body": "{\n \"id\": \"cmpl-6wJaCFIsaoGKIQ5wTAm0P1lnGWrKt\",\n \"object\": \"text_completion\",\n \"created\": 1679356320,\n \"model\": \"text-davinci-003\",\n \"choices\": [\n {\n \"text\": \"\\n\\nAn API can be a delight\\nFor making a website so bright\\nAn interface that's neat\\nGives you a treat\\nFor coding with all your might\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 7,\n \"completion_tokens\": 34,\n \"total_tokens\": 41\n }\n}" + } + ] + } + ] + }, + { + "name": "Chat", + "item": [ + { + "name": "Create chat message completion", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = null;", + "", + "try {", + " jsonData = pm.response.json();", + " pm.test(\"Check if response is valid JSON\", function() { ", + " pm.expect(jsonData).to.be.an('object');", + " pm.visualizer.set(``);", + "});", + "} catch (a) {", + " console.log(\"Dealing with an SSE stream ... \")", + "}" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"gpt-3.5-turbo\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Who won the world series in 2020?\"\n },\n {\n \"role\": \"assistant\",\n \"content\": \"The Los Angeles Dodgers won the World Series in 2020.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Where was it played?\"\n }\n ],\n \"temperature\": 1,\n \"top_p\": 1,\n \"n\": 1,\n \"stream\": false,\n \"max_tokens\": 250,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/chat/completions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "chat", + "completions" + ] + } + }, + "response": [ + { + "name": "Create chat message completion", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"gpt-3.5-turbo\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Who won the world series in 2020?\"\n },\n {\n \"role\": \"assistant\",\n \"content\": \"The Los Angeles Dodgers won the World Series in 2020.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Where was it played?\"\n }\n ],\n \"temperature\": 1,\n \"top_p\": 1,\n \"n\": 1,\n \"stream\": false,\n \"max_tokens\": 250,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 0\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/chat/completions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "chat", + "completions" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Mon, 20 Mar 2023 23:50:57 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "360" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Cache-Control", + "value": "no-cache, must-revalidate" + }, + { + "key": "Openai-Model", + "value": "gpt-3.5-turbo-0301" + }, + { + "key": "Openai-Organization", + "value": "user-ydfxhof885ycvb52zjw5ly51" + }, + { + "key": "Openai-Processing-Ms", + "value": "1800" + }, + { + "key": "Openai-Version", + "value": "2020-10-01" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + }, + { + "key": "X-Ratelimit-Limit-Requests", + "value": "3500" + }, + { + "key": "X-Ratelimit-Remaining-Requests", + "value": "3499" + }, + { + "key": "X-Ratelimit-Reset-Requests", + "value": "17ms" + }, + { + "key": "X-Request-Id", + "value": "8506a913c39e706fede784458b254ca7" + } + ], + "cookie": [], + "body": "{\n \"id\": \"chatcmpl-6wJZ9Ebt8puAO4zW3zUpgFwS8BfJB\",\n \"object\": \"chat.completion\",\n \"created\": 1679356255,\n \"model\": \"gpt-3.5-turbo-0301\",\n \"usage\": {\n \"prompt_tokens\": 45,\n \"completion_tokens\": 19,\n \"total_tokens\": 64\n },\n \"choices\": [\n {\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"The 2020 World Series was played in Arlington, Texas, at Globe Life Field.\"\n },\n \"finish_reason\": \"stop\",\n \"index\": 0\n }\n ]\n}" + } + ] + } + ] + }, + { + "name": "Edits", + "item": [ + { + "name": "Create edit", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = null;", + "", + "try {", + " jsonData = pm.response.json();", + " pm.test(\"Check if response is valid JSON\", function() { ", + " pm.expect(jsonData).to.be.an('object');", + " pm.visualizer.set(``);", + "});", + "} catch (a) {", + " console.log(\"Dealing with an SSE stream ... \")", + "}" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"text-davinci-edit-001\",\n \"input\": \"What day of the wek is it?\",\n \"instruction\": \"Fix the spelling mistakes\"\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/edits", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "edits" + ] + }, + "description": "Creates a new edit for the provided input, instruction, and parameters." + }, + "response": [ + { + "name": "Create edit", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"text-davinci-edit-001\",\n \"input\": \"What day of the wek is it?\",\n \"instruction\": \"Fix the spelling mistakes\"\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/edits", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "edits" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Sat, 10 Dec 2022 20:01:00 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "172" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Cache-Control", + "value": "no-cache, must-revalidate" + }, + { + "key": "Openai-Model", + "value": "text-davinci-edit:001" + }, + { + "key": "Openai-Organization", + "value": "user-aaaaaa" + }, + { + "key": "Openai-Processing-Ms", + "value": "790" + }, + { + "key": "Openai-Version", + "value": "2020-10-01" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + }, + { + "key": "X-Request-Id", + "value": "a81c8d7d4b8bbf887fcae9b42f8e615c" + } + ], + "cookie": [], + "body": "{\n \"object\": \"edit\",\n \"created\": 1670702460,\n \"choices\": [\n {\n \"text\": \"What day of the week is it?\\n\",\n \"index\": 0\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 25,\n \"completion_tokens\": 28,\n \"total_tokens\": 53\n }\n}" + } + ] + } + ], + "description": "Creates a new edit for the provided input, instruction, and parameters." + }, + { + "name": "Images", + "item": [ + { + "name": "Create image", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = pm.response.json();", + "", + "var html = '';", + "", + "for (let i = 0; i < jsonData.data.length; i++) {", + " html += '';", + "}", + "", + "pm.visualizer.set(html);" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"prompt\": \"A cute baby sea otter\",\n \"n\": 2,\n \"size\": \"1024x1024\"\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/images/generations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "images", + "generations" + ] + }, + "description": "Creates an image given a prompt." + }, + "response": [ + { + "name": "Create image", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"prompt\": \"A cute baby sea otter\",\n \"n\": 2,\n \"size\": \"1024x1024\"\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/images/generations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "images", + "generations" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 01:57:49 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "1048" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaaaa" + }, + { + "key": "X-Request-ID", + "value": "f8769836d4ac7cb3da1b21aa17863afe" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "5874" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"created\": 1679536669,\n \"data\": [\n {\n \"url\": \"https://oaidalleapiprodscus.blob.core.windows.net/private/org-6dmqkbEsO2sA55h8sMAzZdMz/user-YDfxhOf885yCVb52Zjw5ly51/img-Ngyb0XF5lV7Ewe3b65phFLil.png?st=2023-03-23T00%3A57%3A49Z&se=2023-03-23T02%3A57%3A49Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-03-22T23%3A24%3A55Z&ske=2023-03-23T23%3A24%3A55Z&sks=b&skv=2021-08-06&sig=3FimhPDFSYy3S1eThhHGKzV73xrubNHhlm2R3mAaK/8%3D\"\n },\n {\n \"url\": \"https://oaidalleapiprodscus.blob.core.windows.net/private/org-6dmqkbEsO2sA55h8sMAzZdMz/user-YDfxhOf885yCVb52Zjw5ly51/img-VLYgKiFSVsGcUBEwkzF11adi.png?st=2023-03-23T00%3A57%3A49Z&se=2023-03-23T02%3A57%3A49Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-03-22T23%3A24%3A55Z&ske=2023-03-23T23%3A24%3A55Z&sks=b&skv=2021-08-06&sig=OkF68bmC8DLsEuqGxMi0IpoLVaGXRHKXoV%2Bn3fBy6EE%3D\"\n }\n ]\n}" + } + ] + }, + { + "name": "Create image edit", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = pm.response.json();", + "", + "var html = '';", + "", + "for (let i = 0; i < jsonData.data.length; i++) {", + " html += '';", + "}", + "", + "pm.visualizer.set(html);" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "image", + "description": "The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.", + "type": "file", + "src": "sfLWMJw3y/output-onlinepngtools (1).png" + }, + { + "key": "mask", + "description": "An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where image should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as image.", + "type": "file", + "src": "poKIrTn-l/gerenuk-removebg-preview.png" + }, + { + "key": "prompt", + "value": "make the background on the moon", + "description": "A text description of the desired image(s). The maximum length is 1000 characters.", + "type": "text" + }, + { + "key": "n", + "value": "2", + "description": "The number of images to generate. Must be between 1 and 10.", + "type": "text" + }, + { + "key": "size", + "value": "1024x1024", + "description": "The size of the generated images. Must be one of 256x256, 512x512, or 1024x1024.", + "type": "text" + }, + { + "key": "response_format", + "value": "url", + "description": "The format in which the generated images are returned. Must be one of url or b64_json.", + "type": "text" + }, + { + "key": "user", + "value": "", + "description": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.", + "type": "text", + "disabled": true + } + ] + }, + "url": { + "raw": "{{baseUrl}}/images/edits", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "images", + "edits" + ] + }, + "description": "Creates a variation of a given image." + }, + "response": [ + { + "name": "Create image edit", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "image", + "description": "The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.", + "type": "file", + "src": "sfLWMJw3y/output-onlinepngtools (1).png" + }, + { + "key": "mask", + "description": "An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where image should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as image.", + "type": "file", + "src": "poKIrTn-l/gerenuk-removebg-preview.png" + }, + { + "key": "prompt", + "value": "make the background on the moon", + "description": "A text description of the desired image(s). The maximum length is 1000 characters.", + "type": "text" + }, + { + "key": "n", + "value": "2", + "description": "The number of images to generate. Must be between 1 and 10.", + "type": "text" + }, + { + "key": "size", + "value": "1024x1024", + "description": "The size of the generated images. Must be one of 256x256, 512x512, or 1024x1024.", + "type": "text" + }, + { + "key": "response_format", + "value": "url", + "description": "The format in which the generated images are returned. Must be one of url or b64_json.", + "type": "text" + }, + { + "key": "user", + "value": "", + "description": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.", + "type": "text", + "disabled": true + } + ] + }, + "url": { + "raw": "{{baseUrl}}/images/edits", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "images", + "edits" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 01:53:40 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "1050" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaa" + }, + { + "key": "X-Request-ID", + "value": "2ccc6f49530c32e8c06fa4a1adfb8c9a" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "12169" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"created\": 1679536420,\n \"data\": [\n {\n \"url\": \"https://oaidalleapiprodscus.blob.core.windows.net/private/org-6dmqkbEsO2sA55h8sMAzZdMz/user-YDfxhOf885yCVb52Zjw5ly51/img-NF2ROxO8oIWUU5hTAtL4zboF.png?st=2023-03-23T00%3A53%3A40Z&se=2023-03-23T02%3A53%3A40Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-03-23T00%3A21%3A07Z&ske=2023-03-24T00%3A21%3A07Z&sks=b&skv=2021-08-06&sig=bp0dpNFHBWwdQS%2BlXxeEJTfFxXPT2%2BE0Dv8A5EE5U5w%3D\"\n },\n {\n \"url\": \"https://oaidalleapiprodscus.blob.core.windows.net/private/org-6dmqkbEsO2sA55h8sMAzZdMz/user-YDfxhOf885yCVb52Zjw5ly51/img-qJM5cHnLnzd8f7u8eLdc7410.png?st=2023-03-23T00%3A53%3A40Z&se=2023-03-23T02%3A53%3A40Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-03-23T00%3A21%3A07Z&ske=2023-03-24T00%3A21%3A07Z&sks=b&skv=2021-08-06&sig=n1i17VSimhyRPwDKXZ9Fe1iNQsqRXvzO48TqgUTivys%3D\"\n }\n ]\n}" + } + ] + }, + { + "name": "Create image variation", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = pm.response.json();", + "", + "var html = '';", + "", + "for (let i = 0; i < jsonData.data.length; i++) {", + " html += '';", + "}", + "", + "pm.visualizer.set(html);" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "image", + "description": "The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.", + "type": "file", + "src": "v3VHX8Xi0/gerenuk.png" + }, + { + "key": "n", + "value": "2", + "description": "The number of images to generate. Must be between 1 and 10.", + "type": "text" + }, + { + "key": "size", + "value": "1024x1024", + "description": "The size of the generated images. Must be one of 256x256, 512x512, or 1024x1024.", + "type": "text" + }, + { + "key": "response_format", + "value": "url", + "description": "The format in which the generated images are returned. Must be one of url or b64_json.", + "type": "text" + }, + { + "key": "user", + "value": "", + "description": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.", + "type": "text", + "disabled": true + } + ] + }, + "url": { + "raw": "{{baseUrl}}/images/variations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "images", + "variations" + ] + }, + "description": "Creates a variation of a given image." + }, + "response": [ + { + "name": "Create image variation", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "image", + "description": "The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.", + "type": "file", + "src": "v3VHX8Xi0/gerenuk.png" + }, + { + "key": "n", + "value": "2", + "description": "The number of images to generate. Must be between 1 and 10.", + "type": "text" + }, + { + "key": "size", + "value": "1024x1024", + "description": "The size of the generated images. Must be one of 256x256, 512x512, or 1024x1024.", + "type": "text" + }, + { + "key": "response_format", + "value": "url", + "description": "The format in which the generated images are returned. Must be one of url or b64_json.", + "type": "text" + }, + { + "key": "user", + "value": "", + "description": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.", + "type": "text", + "disabled": true + } + ] + }, + "url": { + "raw": "{{baseUrl}}/images/variations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "images", + "variations" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 01:33:25 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "1046" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaaa" + }, + { + "key": "X-Request-ID", + "value": "04a34b0eb57280dac25a01892d496f77" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "10306" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"created\": 1679535205,\n \"data\": [\n {\n \"url\": \"https://oaidalleapiprodscus.blob.core.windows.net/private/org-6dmqkbEsO2sA55h8sMAzZdMz/user-YDfxhOf885yCVb52Zjw5ly51/img-OYsJcqj0rVYfVhYluejJrfEn.png?st=2023-03-23T00%3A33%3A25Z&se=2023-03-23T02%3A33%3A25Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-03-23T00%3A22%3A49Z&ske=2023-03-24T00%3A22%3A49Z&sks=b&skv=2021-08-06&sig=JgNgllteb13k0cB2WFiEatRSjm2qc8eVb/pb2qCRGN8%3D\"\n },\n {\n \"url\": \"https://oaidalleapiprodscus.blob.core.windows.net/private/org-6dmqkbEsO2sA55h8sMAzZdMz/user-YDfxhOf885yCVb52Zjw5ly51/img-FtOQhQDItN31ebG2KDTqffLt.png?st=2023-03-23T00%3A33%3A25Z&se=2023-03-23T02%3A33%3A25Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-03-23T00%3A22%3A49Z&ske=2023-03-24T00%3A22%3A49Z&sks=b&skv=2021-08-06&sig=jQpXE60He7szcda3fBtUYndgcEYB84eH1f5nvq9Rqk8%3D\"\n }\n ]\n}" + } + ] + } + ], + "description": "Given a prompt and/or an input image, the model will generate a new image." + }, + { + "name": "Audio (Speech to Text)", + "item": [ + { + "name": "Create Transcription", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = null;", + "", + "try {", + " jsonData = pm.response.json();", + " pm.test(\"Check if response is valid JSON\", function() { ", + " pm.expect(jsonData).to.be.an('object');", + " pm.visualizer.set(``);", + "});", + "} catch (a) {", + " console.log(\"Dealing with an SSE stream ... \")", + "}" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "file", + "description": "(Required) The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n", + "type": "file", + "src": "sg656JXMR/sample.mp3" + }, + { + "key": "model", + "value": "whisper-1", + "description": "(Required) ID of the model to use. Only `whisper-1` is currently available.\n", + "type": "text" + }, + { + "key": "prompt", + "value": "Some style context for the transcription.", + "description": "An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.\n", + "type": "text", + "disabled": true + }, + { + "key": "response_format", + "value": "json", + "description": "The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n", + "type": "text" + }, + { + "key": "temperature", + "value": "0", + "description": "The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n", + "type": "text" + }, + { + "key": "language", + "value": "en", + "description": "The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency.\n", + "type": "text" + }, + { + "key": "transcription", + "value": "srt", + "description": "Choose the format for the transcription\nAllowed values:plain text, srt, vtt\nDefault value: plain text", + "type": "text", + "disabled": true + } + ] + }, + "url": { + "raw": "{{baseUrl}}/audio/transcriptions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "audio", + "transcriptions" + ] + } + }, + "response": [ + { + "name": "Create Transcription (en)", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "file", + "description": "(Required) The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n", + "type": "file", + "src": "sg656JXMR/sample.mp3" + }, + { + "key": "model", + "value": "whisper-1", + "description": "(Required) ID of the model to use. Only `whisper-1` is currently available.\n", + "type": "text" + }, + { + "key": "prompt", + "value": "let me tell you some context about this audio", + "description": "An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.\n", + "type": "text", + "disabled": true + }, + { + "key": "response_format", + "value": "json", + "description": "The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n", + "type": "text" + }, + { + "key": "temperature", + "value": "0", + "description": "The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n", + "type": "text" + }, + { + "key": "language", + "value": "en", + "description": "The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency.\n", + "type": "text" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/audio/transcriptions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "audio", + "transcriptions" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 00:47:26 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "42" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Openai-Organization", + "value": "user-aaaaaa" + }, + { + "key": "Openai-Processing-Ms", + "value": "667" + }, + { + "key": "Openai-Version", + "value": "2020-10-01" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + }, + { + "key": "X-Ratelimit-Limit-Requests", + "value": "3000" + }, + { + "key": "X-Ratelimit-Remaining-Requests", + "value": "2999" + }, + { + "key": "X-Ratelimit-Reset-Requests", + "value": "20ms" + }, + { + "key": "X-Request-Id", + "value": "cc7d262d00ae96637f357eb1a474b6a8" + } + ], + "cookie": [], + "body": "{\n \"text\": \"Four score and seven years ago.\"\n}" + }, + { + "name": "Create Transcription (ja)", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "file", + "description": "(Required) The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n", + "type": "file", + "src": "AaawrMVdk/example-ja.m4a" + }, + { + "key": "model", + "value": "whisper-1", + "description": "(Required) ID of the model to use. Only `whisper-1` is currently available.\n", + "type": "text" + }, + { + "key": "prompt", + "value": "let me tell you some context about this audio", + "description": "An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.\n", + "type": "text", + "disabled": true + }, + { + "key": "response_format", + "value": "json", + "description": "The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n", + "type": "text" + }, + { + "key": "temperature", + "value": "0", + "description": "The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n", + "type": "text" + }, + { + "key": "language", + "value": "ja", + "description": "The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency.\n", + "type": "text" + }, + { + "key": "transcription", + "value": "srt", + "description": "Choose the format for the transcription\nAllowed values:plain text, srt, vtt\nDefault value: plain text", + "type": "text", + "disabled": true + } + ] + }, + "url": { + "raw": "{{baseUrl}}/audio/transcriptions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "audio", + "transcriptions" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 01:20:35 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "38" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Openai-Organization", + "value": "user-aaaaa" + }, + { + "key": "Openai-Processing-Ms", + "value": "716" + }, + { + "key": "Openai-Version", + "value": "2020-10-01" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + }, + { + "key": "X-Ratelimit-Limit-Requests", + "value": "3000" + }, + { + "key": "X-Ratelimit-Remaining-Requests", + "value": "2999" + }, + { + "key": "X-Ratelimit-Reset-Requests", + "value": "20ms" + }, + { + "key": "X-Request-Id", + "value": "e3d040d53b2241b45f884c65b1a10a2b" + } + ], + "cookie": [], + "body": "{\n \"text\": \"これはテストです。\"\n}" + } + ] + }, + { + "name": "Create Translation", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = null;", + "", + "try {", + " jsonData = pm.response.json();", + " pm.test(\"Check if response is valid JSON\", function() { ", + " pm.expect(jsonData).to.be.an('object');", + " pm.visualizer.set(``);", + "});", + "} catch (a) {", + " console.log(\"Dealing with an SSE stream ... \")", + "}" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "file", + "description": "(Required) The audio file to translate, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n", + "type": "file", + "src": "zUaWKk6op/example-ja.m4a" + }, + { + "key": "model", + "value": "whisper-1", + "description": "(Required) ID of the model to use. Only `whisper-1` is currently available.\n", + "type": "text" + }, + { + "key": "prompt", + "value": "Some style context for the translation.", + "description": "An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English.\n", + "type": "text", + "disabled": true + }, + { + "key": "response_format", + "value": "json", + "description": "The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n", + "type": "text" + }, + { + "key": "temperature", + "value": "0", + "description": "The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n", + "type": "text" + }, + { + "key": "language", + "value": "ja", + "description": "Language of the audio", + "type": "text", + "disabled": true + } + ] + }, + "url": { + "raw": "{{baseUrl}}/audio/translations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "audio", + "translations" + ] + } + }, + "response": [ + { + "name": "Create Translation", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "file", + "description": "(Required) The audio file to translate, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n", + "type": "file", + "src": "zUaWKk6op/example-ja.m4a" + }, + { + "key": "model", + "value": "whisper-1", + "description": "(Required) ID of the model to use. Only `whisper-1` is currently available.\n", + "type": "text" + }, + { + "key": "prompt", + "value": "Some style context for the translation.", + "description": "An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English.\n", + "type": "text", + "disabled": true + }, + { + "key": "response_format", + "value": "json", + "description": "The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n", + "type": "text" + }, + { + "key": "temperature", + "value": "0", + "description": "The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n", + "type": "text" + }, + { + "key": "language", + "value": "ja", + "description": "Language of the audio", + "type": "text", + "disabled": true + } + ] + }, + "url": { + "raw": "{{baseUrl}}/audio/translations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "audio", + "translations" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 02:06:56 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "26" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Openai-Organization", + "value": "user-aaaaa" + }, + { + "key": "Openai-Processing-Ms", + "value": "326" + }, + { + "key": "Openai-Version", + "value": "2020-10-01" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + }, + { + "key": "X-Ratelimit-Limit-Requests", + "value": "3000" + }, + { + "key": "X-Ratelimit-Remaining-Requests", + "value": "2999" + }, + { + "key": "X-Ratelimit-Reset-Requests", + "value": "20ms" + }, + { + "key": "X-Request-Id", + "value": "1b12934376877fcaf9a6eb4c9e30b1a2" + } + ], + "cookie": [], + "body": "{\n \"text\": \"This is a test.\"\n}" + } + ] + } + ] + }, + { + "name": "Embeddings", + "item": [ + { + "name": "Create embeddings", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"text-similarity-babbage-001\",\n \"input\": \"I was looking for something interesting to write about when it came to technology...\"\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/embeddings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "embeddings" + ] + }, + "description": "Creates an embedding vector representing the input text." + }, + "response": [ + { + "name": "Create embeddings", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"text-similarity-babbage-001\",\n \"input\": \"The food was delicious and the waiter...\"\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/embeddings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "embeddings" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Sat, 10 Dec 2022 20:32:47 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "44410" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Openai-Organization", + "value": "user-aaaaaa" + }, + { + "key": "Openai-Processing-Ms", + "value": "96" + }, + { + "key": "Openai-Version", + "value": "2020-10-01" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + }, + { + "key": "X-Request-Id", + "value": "ec55cb28726cc687355454e1a0adaed3" + } + ], + "cookie": [], + "body": "{\n \"object\": \"list\",\n \"data\": [\n {\n \"object\": \"embedding\",\n \"index\": 0,\n \"embedding\": [\n 0.0028667077,\n 0.018867997,\n -0.030135695,\n -0.004034549,\n 0.024676088,\n -0.0030139843,\n -0.012645043,\n 0.0063681565,\n 0.007314046,\n -0.021091666,\n -0.004127893,\n 0.019979833,\n 0.020792965,\n 0.030384613,\n 0.01447874,\n -0.013682202,\n -0.007085871,\n -0.02077637,\n 0.026335543,\n 0.04732764,\n 0.13069864,\n 0.03191131,\n 0.005542578,\n -0.0015619616,\n -0.0035947934,\n -0.0041444874,\n -0.056686968,\n -0.0140887685,\n -0.036773514,\n -0.010512644,\n 0.008218449,\n 0.015764818,\n 0.00985716,\n -0.017789353,\n 0.012827584,\n -0.014196633,\n 0.032541905,\n -0.02314939,\n -0.002360574,\n -0.029123427,\n 0.0073970184,\n 0.01356604,\n 0.03547914,\n -0.020311723,\n -0.030285046,\n 0.02300004,\n -0.01150002,\n 0.032044068,\n -0.015565683,\n 0.024062091,\n -0.019730914,\n 0.008048355,\n -0.0030222815,\n 0.0001533699,\n 0.026335543,\n 0.040457502,\n 0.014080471,\n 0.027463973,\n 0.011275994,\n 0.060370956,\n 0.0026385328,\n -0.019266266,\n 0.028077971,\n 0.009649728,\n 0.027497161,\n 0.029057048,\n 0.01861908,\n 0.026219381,\n -0.008985946,\n 0.012346341,\n 0.0046049864,\n 0.011450237,\n 0.009052324,\n 0.025489222,\n 0.025406249,\n 0.008637461,\n -0.006413792,\n -0.02704911,\n 0.02266815,\n -0.0025223708,\n 0.022551987,\n -0.02756354,\n -0.007911449,\n 0.02457652,\n -0.004770932,\n -0.014470443,\n -0.018137839,\n 0.0022195205,\n -0.014636389,\n 0.029040454,\n 0.02358085,\n -0.029073643,\n -0.004239906,\n 0.004787526,\n 0.01934924,\n 0.029671047,\n 0.019432213,\n 0.06103474,\n -0.0001505177,\n 0.0013918675,\n 0.011748938,\n -0.006650264,\n 0.020162372,\n -0.0032753483,\n -0.02570495,\n -0.03161261,\n 0.010379888,\n 0.03172877,\n 0.008259935,\n 0.0020846897,\n 0.00611509,\n -0.018867997,\n -0.033471197,\n -0.0012103646,\n -0.022917068,\n 0.010047997,\n 0.042183332,\n 0.007928044,\n -0.038001508,\n 0.022170313,\n -0.007961233,\n -0.024178252,\n -0.03760324,\n -0.023813173,\n -0.0075920043,\n 0.01679368,\n 0.00035522698,\n 0.01971432,\n -0.021672476,\n 0.019083727,\n 0.0045012706,\n 0.018453134,\n 0.0246429,\n -0.017125571,\n -0.03401882,\n 0.020610426,\n 0.009965024,\n 0.017075786,\n 0.0063059274,\n -0.03245893,\n 0.014312795,\n 0.0038354143,\n -0.05074612,\n -0.019963238,\n 0.0121886935,\n -0.0419842,\n 0.015101036,\n 0.027231649,\n -0.0070319385,\n -0.013823256,\n 0.03976053,\n -0.02902386,\n -0.011632776,\n 0.019979833,\n 0.024360793,\n 0.023381714,\n -0.0033541725,\n -0.02318258,\n -0.001297486,\n 0.016071817,\n 0.0246429,\n -0.047360834,\n 0.011466831,\n 0.013350312,\n 0.0061773197,\n 0.009160189,\n -0.0029579776,\n 0.042880304,\n 0.028758347,\n -0.01648668,\n 0.019382428,\n 0.0006233326,\n 0.008720433,\n -0.007770396,\n 0.01828719,\n 0.032575093,\n 0.033902656,\n 0.036673944,\n 0.040689826,\n 0.00079290813,\n -0.0057002264,\n -0.019930048,\n 0.011599587,\n 0.0069863037,\n -0.04244885,\n -0.016768787,\n 0.013756878,\n -0.00014001648,\n 0.0048331614,\n -0.0052646194,\n 0.015026361,\n -0.057151612,\n 0.0023170135,\n 0.013989202,\n 0.0012923002,\n 0.0057334155,\n -0.057383936,\n -0.03114796,\n -0.03753686,\n -0.0072518163,\n 0.01989686,\n 0.01989686,\n -0.008164517,\n -0.004770932,\n -0.023531064,\n -0.028526023,\n 0.00173413,\n 0.020610426,\n -0.034549844,\n -0.0054347133,\n -0.008454921,\n -0.023896145,\n 0.0047833775,\n 0.023232363,\n -0.023813173,\n 0.035280004,\n -0.023431499,\n -0.005828834,\n 0.010164159,\n -0.02358085,\n 0.0021987772,\n -0.019415617,\n 0.0077952878,\n 0.008127178,\n -0.0313305,\n 0.0014852118,\n -0.006903331,\n -0.018867997,\n -0.022784311,\n 0.005165052,\n 0.008023462,\n 0.029073643,\n -0.003893495,\n 0.006625372,\n -0.015275279,\n -0.0035367124,\n 0.013507959,\n -0.025754735,\n -0.011159832,\n -0.009840566,\n 0.01700941,\n -0.050181903,\n 0.008554488,\n -0.0011470979,\n -0.030500773,\n -0.01617968,\n 0.024294414,\n -0.011616182,\n 0.02245242,\n -0.00026499413,\n 0.0071605463,\n 0.030716503,\n 0.0034454425,\n -0.008160368,\n -0.03730454,\n 0.044606138,\n -0.008297273,\n 0.009533566,\n 0.0014043134,\n 0.0191667,\n -0.008695542,\n 0.03401882,\n -0.011989559,\n 0.0014063877,\n -0.019681131,\n 0.028559212,\n 0.01646179,\n 0.044805273,\n 0.026368732,\n -0.01752384,\n -0.00049109483,\n 0.0011574696,\n -0.008318015,\n -0.0052106874,\n 0.06203041,\n 0.006766426,\n 0.016768787,\n -0.00438096,\n 0.0073513836,\n -0.011607884,\n -0.018336972,\n -0.00237302,\n 0.005040593,\n -0.029588073,\n -0.0067000478,\n -0.010944103,\n 0.05064655,\n 0.03806789,\n 0.010396482,\n -0.019100321,\n 0.034383897,\n 0.0050571878,\n -0.017407678,\n 0.005376633,\n 0.025505817,\n -0.02665084,\n 0.013491365,\n 0.004237832,\n 0.020510858,\n -0.010155861,\n 0.019697726,\n -0.004505419,\n 0.008417583,\n -0.0032546052,\n -0.003945353,\n -0.0017424272,\n 0.049650878,\n -0.014702767,\n -0.028343484,\n -0.01268653,\n -0.0073057488,\n -0.011483425,\n 0.0030658422,\n 0.039163128,\n -0.040125612,\n 0.0155159,\n -0.0099401325,\n -0.04819056,\n -0.008629164,\n -0.01104367,\n -0.010288618,\n 0.012213585,\n -0.0051152688,\n -0.026003653,\n -0.012387828,\n 0.012794394,\n -0.02387955,\n 0.044805273,\n 0.00593255,\n -0.0073264916,\n -0.0018907409,\n 0.019531779,\n 0.0129935285,\n -0.00012277371,\n 0.008994243,\n -0.017789353,\n 0.0003573013,\n -0.0070485333,\n -0.0133420145,\n 0.008927865,\n 0.010927508,\n -0.0047833775,\n -0.010927508,\n 0.015283576,\n 0.008471515,\n 0.0118982885,\n 0.0071149115,\n 0.01919989,\n 0.008226746,\n 0.018552702,\n 0.024228036,\n -0.0063391165,\n -0.009467188,\n 0.024593117,\n 0.012371234,\n 0.01609671,\n -0.01597225,\n 0.04155274,\n 0.013275636,\n 0.0255556,\n 0.0037980767,\n 0.010720076,\n 0.0057583074,\n -0.016544761,\n 0.001871035,\n -0.027795862,\n -0.016694112,\n -0.013001827,\n 0.0072601135,\n -0.019515185,\n -0.01432939,\n -0.015374846,\n 0.0076376395,\n -0.014155147,\n -0.015856087,\n 0.03264147,\n -0.027779268,\n -0.0154163325,\n 0.012396125,\n 0.02522371,\n -0.02522371,\n -0.009118702,\n 0.020792965,\n -0.026634244,\n -0.007890706,\n 0.020909127,\n 0.06730747,\n 0.0016179682,\n -0.014843821,\n -0.011491722,\n -0.011997856,\n -0.014603199,\n -0.00958335,\n 0.010661995,\n -0.0065341024,\n 0.0331559,\n -0.008911271,\n -0.012487396,\n 0.0050613363,\n -0.042216524,\n 0.0136905,\n -0.040888958,\n -0.019946644,\n 0.0025306682,\n -0.0062146573,\n 0.044207867,\n 0.0035885705,\n 0.00723937,\n 0.07202033,\n 0.0014032762,\n -0.00017644669,\n 0.032077257,\n 0.021075072,\n 0.03264147,\n -0.0019788996,\n -0.011300885,\n 0.019448807,\n 0.0057251183,\n -0.021290801,\n -0.028758347,\n 0.0067622773,\n -0.01865227,\n 0.01876843,\n 0.005882766,\n 0.012761205,\n -0.0020971356,\n -0.009865457,\n 0.0067581288,\n -0.012221882,\n 0.036673944,\n -0.018171027,\n -0.0059449957,\n -0.02957148,\n 0.0052853627,\n -0.004974215,\n 0.025837706,\n -0.008562786,\n -0.018751835,\n 0.02139037,\n 0.009326135,\n -0.026783597,\n -0.004009657,\n 0.005314403,\n 0.016204573,\n 0.020444479,\n 0.0076583824,\n 0.026601056,\n 0.035280004,\n -0.011466831,\n 0.017424272,\n 0.042249713,\n -0.013433284,\n -0.013980905,\n -0.0035968677,\n -0.0055508753,\n -0.0122467745,\n 0.023763388,\n 0.017175354,\n -0.00034615185,\n 0.005866172,\n -0.022419231,\n 0.0062063597,\n -0.04971726,\n -0.011815316,\n 0.032259796,\n 0.006969709,\n -0.018668864,\n -0.00739287,\n -0.02774608,\n -0.014702767,\n 0.027994998,\n 0.024211442,\n 0.037735995,\n -0.045402676,\n 0.0019498591,\n 0.0055135377,\n 0.015291873,\n -0.0041693794,\n 0.022717932,\n 0.0069531146,\n 0.0051360116,\n -0.010686887,\n 0.0060404143,\n -0.016403709,\n -0.020510858,\n 0.0046464726,\n 0.01661114,\n -0.019830482,\n -0.0015474414,\n -0.013806662,\n -0.00087328797,\n 0.038466156,\n -0.01989686,\n 0.007853368,\n -0.0037960021,\n -0.038632102,\n 0.010354997,\n 0.0063930484,\n -0.014254714,\n 0.022933662,\n -0.010081186,\n 0.03172877,\n -0.031645797,\n 0.020195562,\n -0.020975506,\n 0.014404065,\n -0.003976468,\n 0.016619436,\n -0.005235579,\n 0.022286475,\n -0.014652983,\n 0.0023916888,\n 0.0017351671,\n 0.023763388,\n -0.022485608,\n 0.028293699,\n -0.001356604,\n 0.018552702,\n 0.008977649,\n 0.01715876,\n -0.0036590972,\n 0.0322432,\n 0.015175711,\n 0.0031073287,\n 0.032575093,\n 0.009002541,\n 0.030434396,\n -0.012752908,\n -0.018901188,\n -0.007608599,\n 0.01737449,\n 0.022800906,\n -0.0003881568,\n 0.024725873,\n -0.03723816,\n 0.028243916,\n -0.019000754,\n 0.013068205,\n -0.048124183,\n -0.0062063597,\n -0.000007231754,\n -0.004903688,\n 0.007314046,\n 0.038432967,\n -0.011060264,\n -0.017324705,\n -0.13660629,\n -0.0015681845,\n 0.007558815,\n 0.046464726,\n 0.022120528,\n -0.03501449,\n -0.020328319,\n 0.014993171,\n -0.014935091,\n 0.019249672,\n 0.0069987494,\n 0.008355354,\n 0.01971432,\n 0.01880162,\n -0.017623408,\n -0.022867283,\n -0.00876192,\n 0.022983445,\n 0.012221882,\n -0.016362222,\n 0.014030688,\n 0.0020774296,\n 0.0037939278,\n -0.0034454425,\n 0.019764103,\n -0.031247528,\n -0.009093811,\n -0.01183191,\n 0.012437612,\n 0.0051857955,\n -0.014213228,\n -0.0061233873,\n 0.013126285,\n 0.03581103,\n 0.0034599628,\n 0.022883877,\n -0.0056421454,\n 0.0011242804,\n -0.0012819286,\n -0.04523673,\n 0.0050447416,\n -0.10753265,\n 0.035313193,\n -0.009757592,\n 0.025837706,\n -0.038798045,\n -0.021954583,\n -0.000019511555,\n -0.038200643,\n 0.057549883,\n -0.023116201,\n 0.00048668688,\n -0.003820894,\n -0.003945353,\n 0.005007404,\n 0.024211442,\n 0.028144348,\n 0.020278534,\n 0.031181151,\n -0.0018005081,\n 0.012346341,\n 0.0027609174,\n -0.0038457857,\n -0.0022921215,\n -0.018137839,\n 0.0090772165,\n 0.023630632,\n -0.020593831,\n -0.016196277,\n -0.0024539183,\n 0.0310318,\n -0.010446266,\n -0.0161216,\n -0.05472881,\n 0.0057209693,\n -0.013242447,\n 0.0071439515,\n -0.0023564254,\n 0.032375958,\n -0.011516615,\n 0.0077040177,\n -0.018502917,\n -0.015266982,\n -0.016528167,\n 0.005189944,\n 0.022485608,\n 0.00063474133,\n 0.019681131,\n -0.02333193,\n 0.0099982135,\n 0.008712136,\n 0.004920283,\n -0.020909127,\n -0.011184723,\n -0.027546946,\n -0.01843654,\n 0.0077247606,\n -0.01767319,\n -0.0099401325,\n 0.039959665,\n 0.021025289,\n 0.002960052,\n -0.03176196,\n -0.004405852,\n -0.016810274,\n 0.018785026,\n -0.005484497,\n 0.0067041963,\n -0.042581603,\n 0.022469014,\n 0.017772758,\n -0.008911271,\n 0.025356466,\n -0.0016916065,\n 0.02208734,\n -0.006127536,\n 0.0061067925,\n -0.0071149115,\n 0.017474055,\n 0.0036715432,\n 0.042050578,\n -0.0018108798,\n 0.0026717219,\n -0.012586962,\n -0.011417047,\n 0.036043353,\n 0.011450237,\n -0.01737449,\n -0.0029890924,\n 0.0059491443,\n 0.008878082,\n -0.016445193,\n -0.007816031,\n 0.010072889,\n 0.07613578,\n 0.017805947,\n 0.005849577,\n -0.0110934535,\n 0.04082258,\n -0.016478384,\n -0.014735956,\n 0.00093396177,\n 0.018834809,\n -0.0030471734,\n -0.03750367,\n 0.004505419,\n -0.0112096155,\n 0.010238835,\n 0.014677876,\n -0.0016190053,\n 0.004675513,\n -0.011051967,\n -0.011624479,\n 0.0072933026,\n -0.013084799,\n -0.04304625,\n -0.013159474,\n -0.029040454,\n -0.0029807952,\n 0.028990671,\n -0.043643653,\n -0.00035833847,\n -0.02314939,\n 0.0035035233,\n -0.029455317,\n -0.00027718078,\n -0.006841101,\n -0.00575001,\n -0.003976468,\n -0.0058786175,\n 0.020095995,\n -0.0070402357,\n 0.009060621,\n 0.008475664,\n -0.023315337,\n -0.016685816,\n -0.0048497557,\n 0.018967565,\n -0.0022091488,\n -0.022684744,\n 0.018818215,\n -0.020212157,\n 0.017357895,\n 0.013715392,\n -0.0048580533,\n -0.040590256,\n 0.038764857,\n 0.020394696,\n 0.027679702,\n -0.002263081,\n -0.004011731,\n 0.01773957,\n -0.004146562,\n 0.0013534926,\n 0.006364008,\n -0.01013097,\n -0.030699909,\n -0.016204573,\n 0.036275677,\n -0.028642185,\n 0.00459254,\n 0.028874509,\n 0.00483731,\n 0.011549803,\n 0.009782485,\n 0.011856803,\n -0.03322228,\n 0.003696435,\n 0.012296558,\n -0.00032722368,\n 0.028741753,\n 0.031114772,\n 0.007459248,\n -0.00061244244,\n -0.030218666,\n -0.012006153,\n -0.011516615,\n -0.002034906,\n 0.0120725315,\n -0.00200794,\n 0.014570011,\n -0.010811347,\n 0.021108262,\n 0.025605382,\n 0.01858589,\n 0.034848545,\n 0.018901188,\n 0.021937989,\n 0.022020962,\n 0.059640795,\n -0.0037462185,\n -0.0492858,\n -0.0028189984,\n -0.05731756,\n -0.009956727,\n 0.009691214,\n -0.036673944,\n 0.0054388624,\n 0.016295843,\n 0.0069157765,\n -0.0006337042,\n 0.012205288,\n 0.016528167,\n 0.000619184,\n 0.007372127,\n -0.020228751,\n -0.21041884,\n 0.047925048,\n 0.015656954,\n -0.025140736,\n 0.004314582,\n -0.019100321,\n 0.003905941,\n -0.0071937353,\n -0.01323415,\n -0.0012829658,\n -0.008085692,\n 0.024676088,\n -0.0010283432,\n 0.0151840085,\n -0.021075072,\n 0.006455278,\n 0.0061814683,\n 0.0005496943,\n 0.016229466,\n 0.00084580324,\n 0.002236115,\n -0.004820715,\n -0.019631347,\n -0.0016241911,\n 0.0077247606,\n -0.007052682,\n -0.0020763925,\n 0.0019508962,\n -0.0004993921,\n 0.001428168,\n 0.039295882,\n 0.0012840029,\n -0.0011470979,\n 0.044971216,\n 0.036275677,\n -0.01432939,\n -0.01661114,\n 0.0051111197,\n 0.024344198,\n 0.022037556,\n -0.010321807,\n -0.029305967,\n -0.041486364,\n -0.012802691,\n -0.0029683493,\n 0.01572333,\n -0.01843654,\n 0.00083335734,\n 0.0014738031,\n 0.036176108,\n 0.015466116,\n -0.007272559,\n -0.0013929047,\n -0.02643511,\n 0.009848863,\n 0.007152249,\n 0.026036842,\n 0.008595974,\n -0.010703482,\n 0.0110934535,\n 0.017391084,\n -0.01140875,\n -0.015366549,\n -0.015225495,\n 0.0025389653,\n -0.008496407,\n 0.014769145,\n 0.0028376672,\n -0.001838883,\n 0.006774723,\n -0.008434177,\n 0.0040386976,\n 0.00666271,\n -0.021008695,\n -0.009989916,\n 0.021556314,\n 0.013300528,\n 0.0014105364,\n 0.021241019,\n 0.021838421,\n 0.013474771,\n -0.018917782,\n 0.0016812349,\n 0.053102545,\n 0.01837016,\n -0.009981619,\n 0.021888206,\n 0.034848545,\n 0.0022050003,\n -0.006579737,\n -0.0019654164,\n -0.011641073,\n 0.024659494,\n -0.019913454,\n -0.0011906587,\n 0.022402637,\n 0.00006683194,\n -0.023614038,\n 0.014304498,\n 0.040656637,\n -0.0024145064,\n 0.0021033585,\n -0.0011201318,\n -0.042847116,\n -0.010968994,\n -0.027098892,\n -0.025721544,\n -0.032757632,\n -0.011848506,\n 0.0014323167,\n 0.0005079486,\n 0.039926477,\n -0.007567113,\n 0.10089484,\n -0.032591686,\n -0.051907737,\n 0.021075072,\n 0.01934924,\n 0.0031384435,\n 0.033338442,\n -0.027829053,\n -0.03866529,\n 0.0047045536,\n -0.0024601414,\n -0.029770615,\n 0.02902386,\n -0.009624836,\n -0.02409528,\n 0.029953154,\n -0.04158593,\n 0.017175354,\n -0.020461075,\n 0.0017040523,\n -0.009525269,\n -0.015167414,\n -0.006293481,\n -0.0043975543,\n -0.024676088,\n 0.023763388,\n -0.004119596,\n -0.021937989,\n 0.0076957205,\n -0.02260177,\n 0.020311723,\n -0.014337687,\n -0.008011017,\n 0.02354766,\n 0.013715392,\n 0.017590217,\n -0.0255556,\n -0.0145534165,\n 0.023381714,\n -0.0033873615,\n -0.0021106186,\n 0.023597443,\n -0.0078658145,\n 0.0035450098,\n 0.025588788,\n 0.011450237,\n -0.008927865,\n -0.01919989,\n 0.0191667,\n -0.031977687,\n -0.008392692,\n 0.0038291912,\n 0.0068286555,\n -0.00054762,\n 0.0029579776,\n 0.023697011,\n 0.0007311971,\n 0.005588213,\n 0.034516655,\n -0.015449521,\n 0.0072269244,\n 0.013449879,\n 0.006227103,\n 0.0026696476,\n -0.023381714,\n 0.01767319,\n -0.034251142,\n -0.006596332,\n 0.0072476678,\n 0.010794751,\n -0.022618365,\n -0.0014914348,\n 0.018785026,\n 0.0044805272,\n 0.009326135,\n 0.01341669,\n -0.023398308,\n -0.0088448925,\n 0.028592402,\n 0.030533964,\n 0.018303784,\n -0.013848148,\n 0.0026696476,\n 0.006102644,\n -0.03571146,\n 0.01752384,\n -0.040557068,\n -0.02427782,\n 0.008795109,\n 0.00041901227,\n -0.0059491443,\n -0.0012300707,\n 0.03264147,\n 0.01986367,\n -0.019697726,\n 0.020494264,\n 0.008255786,\n 0.016735598,\n -0.008803406,\n 0.016569654,\n -0.038499344,\n -0.0017216841,\n 0.0011989559,\n -0.03023526,\n 0.009317837,\n 0.010844535,\n 0.022103934,\n 0.013259042,\n 0.026003653,\n 0.025837706,\n 0.013159474,\n -0.05250514,\n 0.0063391165,\n -0.037005834,\n -0.023929333,\n -0.013549446,\n -0.003976468,\n -0.008176962,\n -0.004372663,\n 0.00391009,\n -0.029339155,\n -0.009923538,\n 0.004600838,\n -0.021788638,\n -0.033753306,\n 0.01487701,\n -0.015266982,\n -0.022634959,\n 0.01770638,\n 0.013798364,\n -0.013756878,\n 0.015432927,\n 0.021971177,\n 0.03292358,\n 0.03537957,\n 0.020743182,\n -0.017789353,\n 0.015988844,\n 0.012412719,\n 0.026451705,\n 0.009865457,\n 0.0032504566,\n -0.0054554567,\n -0.021655882,\n 0.052040495,\n -0.01657795,\n 0.032741036,\n 0.008483961,\n 0.01934924,\n -0.045900512,\n -0.011168129,\n -0.0074426536,\n 0.024327604,\n 0.04125404,\n 0.009848863,\n 0.036507998,\n 0.0021552166,\n -0.00775795,\n -0.002242338,\n -0.03581103,\n 0.038466156,\n 0.020212157,\n -0.01013097,\n -0.009749295,\n -0.006546548,\n -0.004994958,\n -0.017822541,\n 0.018253999,\n 0.02095891,\n 0.02062702,\n 0.0035325638,\n 0.0133835,\n 0.032691255,\n 0.009732701,\n 0.12651682,\n 0.03610973,\n -0.003526341,\n -0.0075007346,\n -0.031496447,\n 0.009906944,\n -0.006251995,\n 0.023630632,\n 0.0055508753,\n 0.01895097,\n -0.077264205,\n -0.01928286,\n -0.011757235,\n 0.023929333,\n 0.018237405,\n 0.014180039,\n -0.0014592828,\n 0.009375918,\n -0.0073513836,\n -0.047991425,\n 0.0120144505,\n -0.011765532,\n -0.033769898,\n -0.0043353247,\n 0.019697726,\n 0.012089126,\n -0.02628576,\n 0.038532533,\n 0.010628806,\n 0.0014084621,\n -0.00006456315,\n -0.007567113,\n 0.024891818,\n 0.018187622,\n -0.009525269,\n -0.013624121,\n 0.0022008514,\n 0.014038986,\n 0.0046298783,\n 0.04274755,\n 0.008160368,\n -0.006538251,\n 0.0057790503,\n -0.0121306125,\n -0.0061731706,\n -0.0099982135,\n 0.04377641,\n -0.021622693,\n -0.010330104,\n -0.035445947,\n 0.005148458,\n -0.014893604,\n -0.0020587607,\n 0.021705665,\n -0.00391009,\n -0.021191234,\n -0.040258367,\n -0.0048414585,\n -0.027497161,\n 0.018386757,\n -0.046331972,\n -0.045369487,\n 0.009118702,\n 0.0068120607,\n 0.023796577,\n -0.0029061197,\n -0.014628092,\n -0.005268768,\n 0.019100321,\n 0.022950256,\n 0.028227322,\n 0.015042955,\n 0.043278575,\n -0.008247489,\n 0.011475128,\n 0.012736313,\n -0.008027611,\n -0.034151573,\n 0.009160189,\n 0.012794394,\n 0.0018627377,\n -0.0014717288,\n -0.0032587538,\n -0.008280678,\n 0.00073534576,\n 0.01676049,\n -0.005907658,\n 0.006413792,\n 0.0003694879,\n -0.006409643,\n -0.03640843,\n -0.01861908,\n -0.0018990383,\n 0.027762674,\n 0.003395659,\n -0.02625257,\n 0.0022340408,\n 0.0052397274,\n 0.0074302074,\n 0.009093811,\n 0.026086625,\n -0.013856445,\n -0.007890706,\n 0.041718688,\n 0.0006570403,\n 0.011441939,\n -0.029820397,\n 0.021423558,\n -0.025057763,\n -0.037005834,\n -0.032989956,\n 0.037271347,\n 0.015930763,\n -0.00921827,\n -0.0041507105,\n 0.0013441582,\n -0.011234507,\n -0.025057763,\n -0.003957799,\n -0.03008591,\n -0.0071812896,\n 0.0005761419,\n 0.024311008,\n 0.017490651,\n 0.028874509,\n -0.014860415,\n 0.0027298026,\n -0.013059907,\n 0.008479812,\n -0.028774941,\n 0.0038250426,\n 0.029405534,\n -0.0027941065,\n -0.00091633,\n 0.013217555,\n -0.036308866,\n 0.0018098425,\n -0.015656954,\n 0.012097424,\n 0.008168665,\n 0.0459337,\n 0.020178966,\n -0.01168256,\n 0.023016633,\n 0.03806789,\n -0.00007033235,\n -0.012379531,\n 0.040125612,\n -0.005144309,\n 0.0121306125,\n 0.035445947,\n 0.008093989,\n 0.01213891,\n 0.030069316,\n 0.012172099,\n -0.005534281,\n 0.045369487,\n -0.03216023,\n 0.014445552,\n -0.0023419051,\n -0.03836659,\n -0.0004861683,\n -0.022684744,\n 0.035147246,\n -0.009450594,\n 0.0022485608,\n -0.027613323,\n 0.001519438,\n -0.0073638293,\n 0.017142165,\n -0.0022132974,\n -0.0060279686,\n -0.01013097,\n -0.004787526,\n 0.012752908,\n 0.028210727,\n -0.005281214,\n -0.0024476955,\n -0.026883163,\n -0.014719361,\n 0.0044307434,\n 0.030069316,\n 0.035246816,\n -0.022867283,\n 0.0035678272,\n -0.017789353,\n 0.019233078,\n 0.013491365,\n -0.0059864824,\n -0.0065175076,\n 0.011300885,\n 0.007890706,\n 0.023713605,\n 0.025671761,\n -0.0036985092,\n -0.016685816,\n 0.012279963,\n 0.020643614,\n 0.011599587,\n 0.024891818,\n -0.024510143,\n -0.012412719,\n 0.016171385,\n -0.003024356,\n -0.03221001,\n -0.000033286324,\n -0.011292588,\n -0.0037794076,\n 0.011466831,\n 0.07593664,\n 0.031778555,\n -0.03081607,\n -0.0070900195,\n 0.003182004,\n -0.027463973,\n 0.007264262,\n -0.004721148,\n -0.023265552,\n -0.009367621,\n 0.02358085,\n -0.025439437,\n -0.0014914348,\n 0.017772758,\n 0.0132258525,\n 0.0039826906,\n 0.003051322,\n -0.029521696,\n -0.049385365,\n 0.022485608,\n 0.011657668,\n 0.01150002,\n 0.0034578883,\n 0.012645043,\n 0.0021406964,\n -0.012105721,\n -0.020394696,\n 0.011259399,\n -0.015582278,\n 0.024908412,\n 0.017557029,\n -0.03793513,\n -0.006733237,\n 0.0039889137,\n -0.0038686034,\n -0.0031073287,\n -0.009525269,\n 0.008662352,\n 0.018486323,\n -0.0012549625,\n 0.0036466513,\n 0.00183266,\n 0.025057763,\n -0.008197705,\n -0.003428848,\n 0.023779983,\n 0.018386757,\n 0.03380309,\n 0.01657795,\n 0.005600659,\n -0.011508317,\n -0.019399023,\n 0.00012666306,\n 0.027596729,\n 0.030500773,\n -0.035611894,\n 0.002300419,\n -0.047659535,\n -0.013798364,\n -0.045834135,\n -0.01655306,\n 0.0022215948,\n -0.0058371313,\n 0.02972083,\n -0.008936163,\n 0.014586605,\n -0.015955655,\n 0.019598158,\n 0.009649728,\n -0.000032346397,\n -0.006148279,\n -0.033935845,\n 0.009292945,\n -0.010579023,\n -0.025539005,\n -0.004974215,\n 0.0071563977,\n 0.024028901,\n 0.014760848,\n -0.009533566,\n 0.0013078576,\n -0.0012269592,\n -0.0046049864,\n 0.042581603,\n 0.01700941,\n 0.013864743,\n -0.02026194,\n 0.043013062,\n -0.023763388,\n 0.013524555,\n 0.0029455319,\n 0.025140736,\n -0.02351447,\n -0.017208543,\n 0.0068701417,\n -0.025688356,\n -0.07082552,\n 0.008687245,\n -0.0067290883,\n -0.052704275,\n -0.024991386,\n 0.010960697,\n 0.020095995,\n -0.0002342683,\n -0.020129183,\n 0.03139688,\n 0.025140736,\n -0.042150144,\n 0.00014688766,\n 0.014254714,\n 0.005588213,\n -0.020942315,\n -0.018187622,\n 0.0017123496,\n -0.0018948896,\n -0.004088481,\n 0.014047283,\n -0.012371234,\n 0.029853586,\n -0.017391084,\n 0.013350312,\n -0.017905515,\n 0.025870897,\n 0.011168129,\n 0.012728016,\n 0.006944817,\n 0.041021716,\n -0.011491722,\n -0.0032006728,\n -0.009110405,\n -0.0038976439,\n -0.0038997182,\n -0.04115447,\n -0.0022941958,\n -0.019880265,\n 0.01049605,\n 0.012711422,\n -0.027812459,\n 0.02917321,\n 0.0010838312,\n 0.015225495,\n 0.0045095677,\n 0.0032649767,\n -0.03571146,\n -0.023016633,\n 0.0018865924,\n 0.025173925,\n 0.009425702,\n 0.019614752,\n 0.0038748262,\n 0.017075786,\n -0.015383143,\n -0.018088054,\n 0.013532852,\n 0.011342372,\n 0.004331176,\n 0.06438684,\n 0.011798722,\n -0.021406963,\n 0.0517086,\n -0.0124708,\n -0.005268768,\n -0.017507246,\n 0.01073667,\n 0.0133835,\n -0.024062091,\n -0.051774982,\n 0.02771289,\n -0.033355035,\n 0.0035906448,\n -0.027546946,\n -0.006853547,\n -0.0046215807,\n 0.0025472627,\n -0.01630414,\n 0.002178034,\n -0.018137839,\n -0.030467585,\n 0.0057997936,\n 0.027629917,\n 0.03245893,\n 0.0076625315,\n -0.0063059274,\n -0.011466831,\n 0.021191234,\n -0.007459248,\n -0.0077662473,\n 0.0007503846,\n -0.0035968677,\n -0.013897931,\n -0.0012684455,\n 0.00061503536,\n 0.010462861,\n -0.0124708,\n 0.011840208,\n 0.00949208,\n -0.0044348924,\n 0.018171027,\n 0.016752193,\n 0.0059781848,\n 0.0040055085,\n -0.004526162,\n 0.009010838,\n -0.0014426883,\n -0.06050371,\n 0.0011097603,\n 0.030899042,\n -0.047360834,\n -0.02084275,\n -0.020792965,\n 0.00011155942,\n 0.031894717,\n 0.0048829447,\n -0.0017590218,\n -0.03325547,\n 0.0322432,\n 0.040258367,\n -0.0013140806,\n -0.023481281,\n -0.0013120063,\n 0.006853547,\n 0.0237302,\n -0.004113373,\n -0.015764818,\n 0.018867997,\n 0.013756878,\n 0.012728016,\n 0.021241019,\n 0.009110405,\n -0.0033811387,\n -0.026767,\n 0.014105364,\n 0.0063474136,\n 0.014810632,\n 0.028924292,\n -0.007504883,\n 0.0072269244,\n 0.017606812,\n 0.012952043,\n -0.02734781,\n 0.019017348,\n 0.01557398,\n -0.019299457,\n -0.024875224,\n 0.0062105088,\n -0.024676088,\n -0.0109772915,\n -0.03260828,\n -0.0042689466,\n -0.00782018,\n 0.011624479,\n 0.0152420895,\n 0.008280678,\n -0.016171385,\n 0.014428957,\n -0.0097658895,\n 0.018270595,\n 0.038499344,\n 0.013275636,\n 0.021738853,\n 0.030915638,\n -0.019614752,\n 0.029671047,\n 0.03541276,\n 0.014644686,\n -0.014470443,\n 0.0060943468,\n 0.0048580533,\n -0.01876843,\n 0.025273493,\n -0.036242485,\n -0.0015049179,\n 0.025572194,\n -0.018685458,\n 0.013731986,\n -0.015441224,\n 0.01934924,\n 0.00046049862,\n 0.009906944,\n -0.0018969639,\n 0.0010267874,\n 0.0015816676,\n -0.038798045,\n 0.01296034,\n 0.0039930623,\n 0.010106078,\n 0.023979118,\n -0.026750406,\n -0.013839851,\n -0.004721148,\n -0.006579737,\n -0.0027298026,\n 0.0024331752,\n 0.05320211,\n 0.00092047866,\n -0.018005082,\n -0.046099648,\n -0.045469053,\n 0.004559351,\n 0.03157942,\n -0.009989916,\n -0.013267339,\n 0.010321807,\n 0.0020566864,\n 0.0063349674,\n 0.018021677,\n 0.0072269244,\n -0.008226746,\n 0.016694112,\n -0.01140875,\n 0.0034724085,\n 0.023497876,\n 0.002601195,\n -0.038831234,\n -0.017756164,\n 0.016586248,\n -0.027364405,\n -0.012827584,\n -0.008400989,\n 0.03793513,\n -0.019415617,\n 0.005990631,\n -0.018386757,\n -0.022253284,\n 0.007712315,\n -0.019233078,\n -0.01150002,\n -0.027447378,\n 0.080715865,\n 0.0002994797,\n 0.0012269592,\n 0.02333193,\n -0.022352852,\n -0.06136663,\n 0.019847076,\n 0.028509429,\n -0.007878261,\n 0.015648656,\n 0.012437612,\n 0.0026094923,\n 0.037437294,\n 0.029621264,\n 0.009326135,\n 0.026750406,\n -0.029671047,\n 0.0034433682,\n -0.025671761,\n -0.013159474,\n 0.02056064,\n 0.00030829554,\n 0.005849577,\n 0.011732344,\n -0.0066710073,\n -0.001303709,\n 0.006318373,\n 0.003657023,\n -0.0048995395,\n 0.0038872722,\n -0.02625257,\n 0.0072601135,\n 0.0013763101,\n 0.035114057,\n 0.028277105,\n 0.007438505,\n -0.028492834,\n -0.029803803,\n 0.021921394,\n -0.0037980767,\n -0.048588827,\n -0.03939545,\n 0.021489937,\n -0.013906229,\n 0.0087287305,\n 0.009359323,\n -0.018867997,\n 0.03547914,\n 0.0022651553,\n 0.0034744828,\n -0.0068369526,\n -0.025472626,\n -0.016378816,\n -0.011840208,\n -0.01949859,\n -0.013026718,\n -0.00015298097,\n 0.015706737,\n 0.013308825,\n -0.018735241,\n 0.031230934,\n 0.01752384,\n -0.013308825,\n -0.010628806,\n -0.0017766535,\n -0.03084926,\n -0.009143595,\n 0.0025534856,\n 0.0043519195,\n -0.009160189,\n 0.018785026,\n 0.05004915,\n 0.026700623,\n -0.027546946,\n 0.0030762139,\n 0.014312795,\n 0.006364008,\n -0.016022034,\n -0.025406249,\n -0.013267339,\n 0.0054803486,\n 0.027098892,\n -0.0154744135,\n -0.022734527,\n 0.021108262,\n -0.033504386,\n 0.015507602,\n -0.04115447,\n 0.01228826,\n 0.00030077613,\n -0.0219048,\n -0.006081901,\n -0.0034993747,\n 0.023116201,\n 0.006430386,\n -0.012429315,\n -0.049385365,\n -0.011292588,\n -0.016901545,\n -0.052737463,\n -0.0021261761,\n -0.008620867,\n 0.00088002946,\n 0.029256184,\n -0.015200604,\n 0.0058454284,\n -0.0069655604,\n -0.010247132,\n -0.004053218,\n -0.016619436,\n 0.024759062,\n 0.027480567,\n -0.040623445,\n 0.0069821547,\n -0.004484676,\n -0.00903573,\n 0.011242804,\n 0.012603557,\n -0.0118651,\n -0.0035781988,\n 0.027032515,\n -0.02117464,\n -0.0027173567,\n -0.017988486,\n -0.038598914,\n -0.020178966,\n -0.021091666,\n 0.01159129,\n -0.00045972076,\n -0.005189944,\n 0.010205645,\n 0.00047994536,\n -0.015922466,\n -0.011400453,\n -0.015491008,\n -0.042847116,\n -0.021772044,\n -0.020245345,\n 0.002014163,\n 0.023614038,\n -0.014976577,\n 0.022186907,\n 0.009409107,\n 0.010504347,\n 0.008886379,\n 0.040026043,\n 0.03015229,\n 0.009691214,\n -0.008620867,\n 0.013117988,\n -0.019996427,\n 0.00059999654,\n 0.019216483,\n -0.019316051,\n -0.0017590218,\n 0.029836992,\n 0.0005652517,\n -0.0064345347,\n 0.010645401,\n 0.020013021,\n -0.04271436,\n 0.03730454,\n 0.01934924,\n 0.012479098,\n -0.023979118,\n -0.014943388,\n 0.024410576,\n 0.01341669,\n -0.016685816,\n -0.01697622,\n 0.043477707,\n -0.00520239,\n -0.008828298,\n -0.010620509,\n -0.017424272,\n 0.006285184,\n -0.02275112,\n 0.0031052544,\n -0.03912994,\n 0.0310318,\n -0.009027433,\n 0.013001827,\n -0.0006114053,\n -0.016138196,\n -0.0011159831,\n 0.030202072,\n -0.01861908,\n 0.010695185,\n 0.0017828764,\n -0.00008874192,\n -0.014926793,\n 0.031977687,\n 0.0063847513,\n -0.007347235,\n 0.03368693,\n 0.0003954169,\n 0.0032234904,\n 0.0066544125,\n 0.018403351,\n 0.011599587,\n 0.0043602167,\n 0.0043602167,\n -0.003331355,\n 0.011143237,\n 0.03401882,\n -0.009898646,\n -0.05227282,\n -0.008936163,\n -0.050845686,\n -0.01232145,\n 0.006430386,\n -0.023348525,\n -0.027065704,\n -0.03932907,\n 0.003808448,\n 0.016412005,\n 0.012354639,\n -0.02865878,\n -0.03674032,\n 0.004903688,\n -0.0024954048,\n 0.04852245,\n 0.020394696,\n 0.024194848,\n -0.009873754,\n 0.011740641,\n -0.021108262,\n -0.011417047,\n 0.014843821,\n 0.0067581288,\n -0.008687245,\n -0.060072254,\n -0.011516615,\n -0.03856572,\n 0.0027878836,\n 0.021440152,\n 0.023431499,\n 0.009898646,\n 0.00918508,\n 0.008919568,\n -0.014370876,\n 0.0076210448,\n -0.022618365,\n -0.0025016277,\n -0.013914526,\n 0.0048912424,\n -0.0113257775,\n 0.010753266,\n 0.0025410398,\n -0.011881694,\n 0.0075712614,\n -0.008239192,\n 0.016735598,\n 0.010819644,\n -0.027596729,\n -0.0035221921,\n -0.038831234,\n 0.027845647,\n 0.004028326,\n -0.028210727,\n 0.014155147,\n 0.022286475,\n 0.0022527096,\n 0.023647226,\n 0.039528206,\n -0.01323415,\n 0.014138552,\n -0.0055384296,\n -0.0049327286,\n -0.009176783,\n 0.005745861,\n 0.042083766,\n -0.016080115,\n -0.004725297,\n -0.02260177,\n 0.02041129,\n -0.0035657529,\n -0.015549089,\n -0.008496407,\n 0.0052978084,\n -0.013117988,\n -0.0040386976,\n 0.0018897038,\n -0.010794751,\n -0.020444479,\n -0.023697011,\n -0.0024248778,\n -0.004273095,\n 0.011433641,\n 0.017540434,\n 0.036773514,\n 0.018204216,\n 0.027215054,\n 0.02175545,\n 0.022684744,\n 0.015109333,\n -0.008251637,\n -0.0056089563,\n 0.015507602,\n -0.013333717,\n -0.018917782,\n -0.007928044,\n 0.031629205,\n 0.010703482,\n -0.017722974,\n -0.0007197884,\n -0.0059698876,\n 0.05582405,\n 0.011425344,\n 0.007434356,\n -0.0027920322,\n -0.03327206,\n 0.01807146,\n -0.022717932,\n -0.015715035,\n 0.013997499,\n 0.017075786,\n -0.004113373,\n -0.014520227,\n -0.00438096,\n -0.00077735074,\n -0.024228036,\n -0.00048331614,\n 0.018403351,\n -0.003937056,\n 0.0022485608,\n 0.024028901,\n -0.020942315,\n 0.017905515,\n -0.010968994,\n 0.011217913,\n -0.00033189091,\n 0.01655306,\n 0.0036922863,\n -0.020544047,\n -0.034450278,\n 0.03428433,\n -0.012952043,\n 0.029554885,\n 0.024593117,\n -0.027414188,\n 0.02811116,\n -0.00046542514,\n 0.028874509,\n -0.0047999723,\n 0.0141468495,\n -0.0043062847,\n -0.013333717,\n 0.022834094,\n 0.018336972,\n -0.014287903,\n -0.035114057,\n 0.03312271,\n 0.011193021,\n -0.0012404423,\n 0.024078686,\n 0.034383897,\n 0.034052007,\n 0.005443011,\n -0.026302354,\n -0.017507246,\n 0.03206066,\n -0.02026194,\n -0.037404105,\n 0.0031571123,\n 0.012578665,\n 0.011300885,\n -0.02953829,\n -0.029505102,\n 0.010894319,\n 0.0028625592,\n -0.008475664,\n -0.02643511,\n -0.008927865,\n 0.0033603953,\n 0.000022509594,\n -0.012736313,\n 0.0313305,\n 0.029372346,\n -0.005534281,\n -0.026335543,\n -0.01837016,\n 0.020361507,\n -0.0130516095,\n 0.003084511,\n -0.005443011,\n 0.032259796,\n -0.005679483,\n -0.0032110445,\n 0.0003705251,\n -0.0034392194,\n 0.020361507,\n 0.0131096905,\n 0.024493549,\n -0.013939418,\n 0.0024663643,\n -0.042515226,\n -0.026783597,\n 0.042548414,\n -0.012645043,\n 0.008035908,\n 0.0058537256,\n 0.005646294,\n -0.018735241,\n 0.005281214,\n 0.013640716,\n 0.0040905555,\n 0.024476955,\n -0.0026115666,\n 0.017606812,\n 0.031795148,\n -0.005339295,\n 0.012628449,\n -0.013192664,\n -0.060769226,\n 0.004878796,\n 0.012869069,\n -0.016984517,\n -0.0056296997,\n 0.020178966,\n 0.032259796,\n -0.007948787,\n 0.012404422,\n 0.003005687,\n -0.008637461,\n 0.054330543,\n 0.009226567,\n 0.02114145,\n 0.020925721,\n -0.004177677,\n -0.015615467,\n -0.008131327\n ]\n }\n ],\n \"model\": \"text-similarity-babbage:001\",\n \"usage\": {\n \"prompt_tokens\": 8,\n \"total_tokens\": 8\n }\n}" + } + ] + } + ], + "description": "Creates a new edit for the provided input, instruction, and parameters." + }, + { + "name": "Files", + "item": [ + { + "name": "Upload file", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "file", + "description": "Name of the JSON Lines file to be uploaded.", + "type": "file", + "src": "hoOzENuhO/my-custom-model.jsonl" + }, + { + "key": "purpose", + "value": "fine-tune", + "description": "The intended purpose of the uploaded documents.", + "type": "text" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/files", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "files" + ] + }, + "description": "Upload a file that contains document(s) to be used across various endpoints/features. Currently, the size of all the files uploaded by one organization can be up to 1 GB. Please contact us if you need to increase the storage limit." + }, + "response": [ + { + "name": "Upload files", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "file", + "description": "Name of the JSON Lines file to be uploaded.", + "type": "file", + "src": "hoOzENuhO/my-custom-model.jsonl" + }, + { + "key": "purpose", + "value": "fine-tune", + "description": "The intended purpose of the uploaded documents.", + "type": "text" + } + ] + }, + "url": { + "raw": "{{baseUrl}}/files", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "files" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 22 Mar 2023 23:51:28 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "223" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-ydfxhof885ycvb52zjw5ly51" + }, + { + "key": "X-Request-ID", + "value": "f3cd86f188c8858d2a82d3c2ba8f0e5a" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "715" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"file\",\n \"id\": \"file-vGxE9KywnSUkEL6dv9qZxKAF\",\n \"purpose\": \"fine-tune\",\n \"filename\": \"my-custom-model.jsonl\",\n \"bytes\": 159,\n \"created_at\": 1679529088,\n \"status\": \"uploaded\",\n \"status_details\": null\n}" + } + ] + }, + { + "name": "List files", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/files", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "files" + ] + }, + "description": "Returns a list of files that belong to the user's organization." + }, + "response": [ + { + "name": "List files", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/files", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "files" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 22 Mar 2023 23:52:21 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "304" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-ydfxhof885ycvb52zjw5ly51" + }, + { + "key": "X-Request-ID", + "value": "741694f2b46b1a22746abf8b0ec99f5b" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "263" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"list\",\n \"data\": [\n {\n \"object\": \"file\",\n \"id\": \"file-vGxE9KywnSUkEL6dv9qZxKAF\",\n \"purpose\": \"fine-tune\",\n \"filename\": \"my-custom-model.jsonl\",\n \"bytes\": 159,\n \"created_at\": 1679529088,\n \"status\": \"processed\",\n \"status_details\": null\n }\n ]\n}" + } + ] + }, + { + "name": "Retrieve files", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/files/:file_id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "files", + ":file_id" + ], + "variable": [ + { + "key": "file_id", + "value": "file-vGxE9KywnSUkEL6dv9qZxKAF", + "description": "The ID of the file to use for this request." + } + ] + } + }, + "response": [ + { + "name": "Retrieve files", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/files/:file_id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "files", + ":file_id" + ], + "variable": [ + { + "key": "file_id", + "value": "file-vGxE9KywnSUkEL6dv9qZxKAF", + "description": "The ID of the file to use for this request." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 22 Mar 2023 23:53:04 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "224" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-ydfxhof885ycvb52zjw5ly51" + }, + { + "key": "X-Request-ID", + "value": "846c7d75ee01aa769172e9a31072c1c8" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "101" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"file\",\n \"id\": \"file-vGxE9KywnSUkEL6dv9qZxKAF\",\n \"purpose\": \"fine-tune\",\n \"filename\": \"my-custom-model.jsonl\",\n \"bytes\": 159,\n \"created_at\": 1679529088,\n \"status\": \"processed\",\n \"status_details\": null\n}" + } + ] + }, + { + "name": "Retrieve file content", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/files/:file_id/content", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "files", + ":file_id", + "content" + ], + "variable": [ + { + "key": "file_id", + "value": "file-vGxE9KywnSUkEL6dv9qZxKAF", + "description": "The ID of the file to use for this request." + } + ] + } + }, + "response": [ + { + "name": "Retrieve file content", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/files/:file_id/content", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "files", + ":file_id", + "content" + ], + "variable": [ + { + "key": "file_id", + "value": "file-vGxE9KywnSUkEL6dv9qZxKAF", + "description": "The ID of the file to use for this request." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "raw", + "header": [ + { + "key": "Date", + "value": "Wed, 22 Mar 2023 23:54:53 GMT" + }, + { + "key": "Content-Type", + "value": "application/octet-stream" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Content-Disposition", + "value": "attachment; filename=\"my-custom-model.jsonl\"" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-ydfxhof885ycvb52zjw5ly51" + }, + { + "key": "X-Request-ID", + "value": "6fa55d65ce90dc1d1e2ae923c856ece7" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "16" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\"prompt\": \"Why did the chicken cross the road?\", \"completion\": \"Why not?\"}\n{\"prompt\": \"Why did the chicken use AI?\", \"completion\": \"To get to the other side\"}" + } + ] + }, + { + "name": "Delete file", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/files/:file_id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "files", + ":file_id" + ], + "variable": [ + { + "key": "file_id", + "value": "file-a1damcA5590YJpVfifz9kLOH", + "description": "The ID of the file to use for this request." + } + ] + }, + "description": "Delete a file." + }, + "response": [ + { + "name": "Delete file", + "originalRequest": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/files/:file_id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "files", + ":file_id" + ], + "variable": [ + { + "key": "file_id", + "value": "file-a1damcA5590YJpVfifz9kLOH", + "description": "The ID of the file to use for this request." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 00:10:46 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "83" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaa" + }, + { + "key": "X-Request-ID", + "value": "8ef22e7ef5c1e6f42806f8cca69b405d" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "653" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"file\",\n \"id\": \"file-a1damcA5590YJpVfifz9kLOH\",\n \"deleted\": true\n}" + } + ] + } + ], + "description": "Creates a new edit for the provided input, instruction, and parameters.\n\n[https://platform.openai.com/docs/api-reference/files](https://platform.openai.com/docs/api-reference/files)" + }, + { + "name": "Fine-tunes", + "item": [ + { + "name": "Create fine-tune", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"training_file\": \"file-vGxE9KywnSUkEL6dv9qZxKAF\",\n \"model\": \"davinci\"\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/fine-tunes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fine-tunes" + ] + }, + "description": "Creates a job that fine-tunes a specified model from a given dataset.\n\nModels eligble for fine tuning are: `ada`, `babbage`, `curie`, or `davinci`\n\nThe dataset (training file) should be formatted like below (JSONL)\n\n```\n{\"prompt\": \"\", \"completion\": \"\"}\n{\"prompt\": \"\", \"completion\": \"\"}\n{\"prompt\": \"\", \"completion\": \"\"}\n\n```\n\n \nFor example: \n\n```\n{\"prompt\": \"Why did the chicken cross the road?\", \"completion\": \"Why not?\"}\n{\"prompt\": \"Why did the chicken use AI?\", \"completion\": \"To get to the other side\"}\n\n```\n\nNote that after a job completes it may take several minutes for your model to become ready to handle requests." + }, + "response": [ + { + "name": "Create fine-tune", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"training_file\": \"file-vGxE9KywnSUkEL6dv9qZxKAF\",\n \"model\": \"davinci\"\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/fine-tunes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fine-tunes" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 22 Mar 2023 23:56:36 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "911" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaaaaaa" + }, + { + "key": "X-Request-ID", + "value": "27119253cb968c0d6181544f994ebe0e" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "101" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"fine-tune\",\n \"id\": \"ft-MH3TkRzJrC62xWaudm1aHqC5\",\n \"hyperparams\": {\n \"n_epochs\": 4,\n \"batch_size\": null,\n \"prompt_loss_weight\": 0.01,\n \"learning_rate_multiplier\": null\n },\n \"organization_id\": \"org-6dmqkbEsO2sA55h8sMAzZdMz\",\n \"model\": \"davinci\",\n \"training_files\": [\n {\n \"object\": \"file\",\n \"id\": \"file-vGxE9KywnSUkEL6dv9qZxKAF\",\n \"purpose\": \"fine-tune\",\n \"filename\": \"my-custom-model.jsonl\",\n \"bytes\": 159,\n \"created_at\": 1679529088,\n \"status\": \"processed\",\n \"status_details\": null\n }\n ],\n \"validation_files\": [],\n \"result_files\": [],\n \"created_at\": 1679529396,\n \"updated_at\": 1679529396,\n \"status\": \"pending\",\n \"fine_tuned_model\": null,\n \"events\": [\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Created fine-tune: ft-MH3TkRzJrC62xWaudm1aHqC5\",\n \"created_at\": 1679529396\n }\n ]\n}" + } + ] + }, + { + "name": "List fine-tunes", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/fine-tunes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fine-tunes" + ] + }, + "description": "Creates a job that fine-tunes a specified model from a given dataset." + }, + "response": [ + { + "name": "List fine-tunes", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/fine-tunes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fine-tunes" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 22 Mar 2023 23:59:19 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "1719" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaaaaaa" + }, + { + "key": "X-Request-ID", + "value": "dbe51d85a66ae0ac7c56ab86c4338f15" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "75" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"list\",\n \"data\": [\n {\n \"object\": \"fine-tune\",\n \"id\": \"ft-Pb228NXaz51mx9b9yTksDcyT\",\n \"hyperparams\": {\n \"n_epochs\": 4,\n \"batch_size\": 1,\n \"prompt_loss_weight\": 0.01,\n \"learning_rate_multiplier\": 0.1\n },\n \"organization_id\": \"org-6dmqkbEsO2sA55h8sMAzZdMz\",\n \"model\": \"curie\",\n \"training_files\": [\n {\n \"object\": \"file\",\n \"id\": \"file-vGxE9KywnSUkEL6dv9qZxKAF\",\n \"purpose\": \"fine-tune\",\n \"filename\": \"my-custom-model.jsonl\",\n \"bytes\": 159,\n \"created_at\": 1679529088,\n \"status\": \"processed\",\n \"status_details\": null\n }\n ],\n \"validation_files\": [],\n \"result_files\": [],\n \"created_at\": 1679529320,\n \"updated_at\": 1679529510,\n \"status\": \"pending\",\n \"fine_tuned_model\": null\n },\n {\n \"object\": \"fine-tune\",\n \"id\": \"ft-MH3TkRzJrC62xWaudm1aHqC5\",\n \"hyperparams\": {\n \"n_epochs\": 4,\n \"batch_size\": 1,\n \"prompt_loss_weight\": 0.01,\n \"learning_rate_multiplier\": 0.1\n },\n \"organization_id\": \"org-6dmqkbEsO2sA55h8sMAzZdMz\",\n \"model\": \"davinci\",\n \"training_files\": [\n {\n \"object\": \"file\",\n \"id\": \"file-vGxE9KywnSUkEL6dv9qZxKAF\",\n \"purpose\": \"fine-tune\",\n \"filename\": \"my-custom-model.jsonl\",\n \"bytes\": 159,\n \"created_at\": 1679529088,\n \"status\": \"processed\",\n \"status_details\": null\n }\n ],\n \"validation_files\": [],\n \"result_files\": [],\n \"created_at\": 1679529396,\n \"updated_at\": 1679529510,\n \"status\": \"running\",\n \"fine_tuned_model\": null\n }\n ]\n}" + } + ] + }, + { + "name": "Retrieve fine-tune", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/fine-tunes/:fine_tune_id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fine-tunes", + ":fine_tune_id" + ], + "variable": [ + { + "key": "fine_tune_id", + "value": "ft-MH3TkRzJrC62xWaudm1aHqC5", + "description": "The ID of the fine-tune job." + } + ] + }, + "description": "Creates a job that fine-tunes a specified model from a given dataset." + }, + "response": [ + { + "name": "Retrieve fine-tune", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/fine-tunes/:fine_tune_id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fine-tunes", + ":fine_tune_id" + ], + "variable": [ + { + "key": "fine_tune_id", + "value": "ft-MH3TkRzJrC62xWaudm1aHqC5", + "description": "The ID of the fine-tune job." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 00:01:01 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "2724" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaa" + }, + { + "key": "X-Request-ID", + "value": "0cc6c544463c0731f847e78af08372a7" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "34" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"fine-tune\",\n \"id\": \"ft-MH3TkRzJrC62xWaudm1aHqC5\",\n \"hyperparams\": {\n \"n_epochs\": 4,\n \"batch_size\": 1,\n \"prompt_loss_weight\": 0.01,\n \"learning_rate_multiplier\": 0.1\n },\n \"organization_id\": \"org-6dmqkbEsO2sA55h8sMAzZdMz\",\n \"model\": \"davinci\",\n \"training_files\": [\n {\n \"object\": \"file\",\n \"id\": \"file-vGxE9KywnSUkEL6dv9qZxKAF\",\n \"purpose\": \"fine-tune\",\n \"filename\": \"my-custom-model.jsonl\",\n \"bytes\": 159,\n \"created_at\": 1679529088,\n \"status\": \"processed\",\n \"status_details\": null\n }\n ],\n \"validation_files\": [],\n \"result_files\": [\n {\n \"object\": \"file\",\n \"id\": \"file-BebmMZ8yVlJBouJpuUq3buhU\",\n \"purpose\": \"fine-tune-results\",\n \"filename\": \"compiled_results.csv\",\n \"bytes\": 550,\n \"created_at\": 1679529633,\n \"status\": \"processed\",\n \"status_details\": null\n }\n ],\n \"created_at\": 1679529396,\n \"updated_at\": 1679529633,\n \"status\": \"succeeded\",\n \"fine_tuned_model\": \"davinci:ft-personal-2023-03-23-00-00-32\",\n \"events\": [\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Created fine-tune: ft-MH3TkRzJrC62xWaudm1aHqC5\",\n \"created_at\": 1679529396\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Fine-tune costs $0.00\",\n \"created_at\": 1679529508\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Fine-tune enqueued. Queue number: 0\",\n \"created_at\": 1679529508\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Fine-tune started\",\n \"created_at\": 1679529509\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Completed epoch 1/4\",\n \"created_at\": 1679529596\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Completed epoch 2/4\",\n \"created_at\": 1679529597\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Completed epoch 3/4\",\n \"created_at\": 1679529597\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Completed epoch 4/4\",\n \"created_at\": 1679529598\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Uploaded model: davinci:ft-personal-2023-03-23-00-00-32\",\n \"created_at\": 1679529632\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Uploaded result file: file-BebmMZ8yVlJBouJpuUq3buhU\",\n \"created_at\": 1679529633\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Fine-tune succeeded\",\n \"created_at\": 1679529633\n }\n ]\n}" + } + ] + }, + { + "name": "Cancel fine-tune", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/fine-tunes/:fine_tune_id/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fine-tunes", + ":fine_tune_id", + "cancel" + ], + "variable": [ + { + "key": "fine_tune_id", + "value": "ft-tMP2cW32xmBNF29Ng0IOHkJ3", + "description": "The ID of the fine-tune job." + } + ] + }, + "description": "Creates a job that fine-tunes a specified model from a given dataset." + }, + "response": [ + { + "name": "Cancel fine-tune", + "originalRequest": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/fine-tunes/:fine_tune_id/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fine-tunes", + ":fine_tune_id", + "cancel" + ], + "variable": [ + { + "key": "fine_tune_id", + "value": "ft-tMP2cW32xmBNF29Ng0IOHkJ3", + "description": "The ID of the fine-tune job." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 00:02:35 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "1055" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaaaa" + }, + { + "key": "X-Request-ID", + "value": "c777c8b92eb83d3e4c68d202c0e8a041" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "61" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"fine-tune\",\n \"id\": \"ft-tMP2cW32xmBNF29Ng0IOHkJ3\",\n \"hyperparams\": {\n \"n_epochs\": 4,\n \"batch_size\": null,\n \"prompt_loss_weight\": 0.01,\n \"learning_rate_multiplier\": null\n },\n \"organization_id\": \"org-6dmqkbEsO2sA55h8sMAzZdMz\",\n \"model\": \"davinci\",\n \"training_files\": [\n {\n \"object\": \"file\",\n \"id\": \"file-vGxE9KywnSUkEL6dv9qZxKAF\",\n \"purpose\": \"fine-tune\",\n \"filename\": \"my-custom-model.jsonl\",\n \"bytes\": 159,\n \"created_at\": 1679529088,\n \"status\": \"processed\",\n \"status_details\": null\n }\n ],\n \"validation_files\": [],\n \"result_files\": [],\n \"created_at\": 1679529741,\n \"updated_at\": 1679529755,\n \"status\": \"cancelled\",\n \"fine_tuned_model\": null,\n \"events\": [\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Created fine-tune: ft-tMP2cW32xmBNF29Ng0IOHkJ3\",\n \"created_at\": 1679529741\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Fine-tune cancelled\",\n \"created_at\": 1679529755\n }\n ]\n}" + } + ] + }, + { + "name": "List fine-tune events", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/fine-tunes/:fine_tune_id/events", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fine-tunes", + ":fine_tune_id", + "events" + ], + "variable": [ + { + "key": "fine_tune_id", + "value": "ft-MH3TkRzJrC62xWaudm1aHqC5", + "description": "The ID of the fine-tune job." + } + ] + }, + "description": "Creates a job that fine-tunes a specified model from a given dataset." + }, + "response": [ + { + "name": "List fine-tune events", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/fine-tunes/:fine_tune_id/events", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fine-tunes", + ":fine_tune_id", + "events" + ], + "variable": [ + { + "key": "fine_tune_id", + "value": "ft-MH3TkRzJrC62xWaudm1aHqC5", + "description": "The ID of the fine-tune job." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 00:01:42 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "1712" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-ydfxhof885ycvb52zjw5ly51" + }, + { + "key": "X-Request-ID", + "value": "bcf740447b3a31787003fd3c34a76dc5" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "30" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"list\",\n \"data\": [\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Created fine-tune: ft-MH3TkRzJrC62xWaudm1aHqC5\",\n \"created_at\": 1679529396\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Fine-tune costs $0.00\",\n \"created_at\": 1679529508\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Fine-tune enqueued. Queue number: 0\",\n \"created_at\": 1679529508\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Fine-tune started\",\n \"created_at\": 1679529509\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Completed epoch 1/4\",\n \"created_at\": 1679529596\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Completed epoch 2/4\",\n \"created_at\": 1679529597\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Completed epoch 3/4\",\n \"created_at\": 1679529597\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Completed epoch 4/4\",\n \"created_at\": 1679529598\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Uploaded model: davinci:ft-personal-2023-03-23-00-00-32\",\n \"created_at\": 1679529632\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Uploaded result file: file-BebmMZ8yVlJBouJpuUq3buhU\",\n \"created_at\": 1679529633\n },\n {\n \"object\": \"fine-tune-event\",\n \"level\": \"info\",\n \"message\": \"Fine-tune succeeded\",\n \"created_at\": 1679529633\n }\n ]\n}" + } + ] + }, + { + "name": "Delete a fine-tuned model. You must have the Owner role in your organization.", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/models/:model", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "models", + ":model" + ], + "variable": [ + { + "key": "model", + "value": "curie:ft-acmeco-2021-03-03-21-44-20", + "description": "(Required) The model to delete" + } + ] + } + }, + "response": [ + { + "name": "Delete fine-tuned model", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/models/:model", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "models", + ":model" + ], + "variable": [ + { + "key": "model", + "value": "curie:ft-personal-2023-03-23-00-02-30", + "description": "(Required) The model to delete" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 00:04:46 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "92" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-ydfxhof885ycvb52zjw5ly51" + }, + { + "key": "X-Request-ID", + "value": "5da5f286ce29977636e5089f665fecdb" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "61" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"id\": \"curie:ft-personal-2023-03-23-00-02-30\",\n \"object\": \"model\",\n \"deleted\": true\n}" + } + ] + }, + { + "name": "Use fine-tuned model (completion)", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"davinci:ft-personal-2023-03-23-00-00-32\",\n \"prompt\": \"Why did the chicken use AI?\",\n \"max_tokens\": 10,\n \"temperature\": 0.7\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/completions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "completions" + ], + "query": [ + { + "key": "", + "value": "", + "disabled": true + } + ] + } + }, + "response": [ + { + "name": "Use fine-tuned model (completion)", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"davinci:ft-personal-2023-03-23-00-00-32\",\n \"prompt\": \"Why did the chicken use AI?\",\n \"max_tokens\": 10,\n \"temperature\": 0.7\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/completions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "completions" + ], + "query": [ + { + "key": "", + "value": "", + "disabled": true + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Thu, 23 Mar 2023 00:09:01 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Transfer-Encoding", + "value": "chunked" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Cache-Control", + "value": "no-cache, must-revalidate" + }, + { + "key": "Openai-Model", + "value": "davinci:ft-personal-2023-03-23-00-00-32" + }, + { + "key": "Openai-Organization", + "value": "user-aaaaaaaaa" + }, + { + "key": "Openai-Processing-Ms", + "value": "325" + }, + { + "key": "Openai-Version", + "value": "2020-10-01" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + }, + { + "key": "X-Ratelimit-Limit-Requests", + "value": "3000" + }, + { + "key": "X-Ratelimit-Limit-Tokens", + "value": "250000" + }, + { + "key": "X-Ratelimit-Remaining-Requests", + "value": "2999" + }, + { + "key": "X-Ratelimit-Remaining-Tokens", + "value": "249990" + }, + { + "key": "X-Ratelimit-Reset-Requests", + "value": "20ms" + }, + { + "key": "X-Ratelimit-Reset-Tokens", + "value": "2ms" + }, + { + "key": "X-Request-Id", + "value": "1b434aa757754898bddfd6127627b8a3" + } + ], + "cookie": [], + "body": "{\n \"id\": \"cmpl-6x2nlvwnB5tYyMOTHJ7VP60bEZYeW\",\n \"object\": \"text_completion\",\n \"created\": 1679530141,\n \"model\": \"davinci:ft-personal-2023-03-23-00-00-32\",\n \"choices\": [\n {\n \"text\": \" To get to the other side.”\\n\",\n \"index\": 0,\n \"logprobs\": null,\n \"finish_reason\": \"length\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 7,\n \"completion_tokens\": 10,\n \"total_tokens\": 17\n }\n}" + } + ] + } + ], + "description": "Manage fine-tuning jobs to tailor a model to your specific training data.\n\nThe Files endpoints in this collection can be used to upload training data files. Alternatively you can use the `openai` CLI tool to upload datasets. Read more here:\n\n[https://platform.openai.com/docs/guides/fine-tuning](https://platform.openai.com/docs/guides/fine-tuning)" + }, + { + "name": "Moderations", + "item": [ + { + "name": "Create moderation", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"input\": \"I want to kill them.\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/moderations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "moderations" + ] + }, + "description": "Creates a completion for the provided prompt and parameters." + }, + "response": [ + { + "name": "Create moderation", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"input\": \"I want to kill them.\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/moderations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "moderations" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Sat, 10 Dec 2022 21:21:05 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "719" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaaaa" + }, + { + "key": "X-Request-ID", + "value": "c1a3779b8bb1d21a7f4a06e4808fc1dc" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "228" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"id\": \"modr-6M1ZJ7xMF68OwMqizgblbzVAJXUYK\",\n \"model\": \"text-moderation-004\",\n \"results\": [\n {\n \"categories\": {\n \"hate\": false,\n \"hate/threatening\": false,\n \"self-harm\": false,\n \"sexual\": false,\n \"sexual/minors\": false,\n \"violence\": true,\n \"violence/graphic\": false\n },\n \"category_scores\": {\n \"hate\": 0.18252533674240112,\n \"hate/threatening\": 0.0032941880635917187,\n \"self-harm\": 1.9077321944394043e-9,\n \"sexual\": 9.69763732427964e-7,\n \"sexual/minors\": 1.3826513267645169e-8,\n \"violence\": 0.8871539235115051,\n \"violence/graphic\": 3.196241493697016e-8\n },\n \"flagged\": true\n }\n ]\n}" + } + ] + } + ] + }, + { + "name": "Engines", + "item": [ + { + "name": "List engines", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/engines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "engines" + ] + }, + "description": "Lists the currently available engines, and provides basic information about each one such as the owner and availability.\n\n[See More](https://beta.openai.com/docs/api-reference/engines/list)\n" + }, + "response": [ + { + "name": "List engines", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/engines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "engines" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Wed, 22 Mar 2023 22:29:57 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "9360" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaaa" + }, + { + "key": "X-Request-ID", + "value": "320fa5cef1f38a7e3aff35a0235a8d1f" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "48" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"list\",\n \"data\": [\n {\n \"object\": \"engine\",\n \"id\": \"babbage\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"davinci\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"babbage-code-search-code\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-similarity-babbage-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-davinci-001\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"ada\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"curie-instruct-beta\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"babbage-code-search-text\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"babbage-similarity\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"gpt-3.5-turbo\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"whisper-1\",\n \"ready\": true,\n \"owner\": \"openai-internal\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"code-search-babbage-text-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-curie-001\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"gpt-3.5-turbo-0301\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"code-cushman-001\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"code-search-babbage-code-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-davinci-insert-001\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-davinci-003\",\n \"ready\": true,\n \"owner\": \"openai-internal\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-ada-001\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-embedding-ada-002\",\n \"ready\": true,\n \"owner\": \"openai-internal\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-similarity-ada-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-davinci-insert-002\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"code-davinci-002\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"ada-code-search-code\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"ada-similarity\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"code-search-ada-text-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-search-ada-query-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"davinci-search-document\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"ada-code-search-text\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-search-ada-doc-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"davinci-instruct-beta\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-similarity-curie-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"code-search-ada-code-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"ada-search-query\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-search-davinci-query-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"curie-search-query\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"davinci-search-query\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"babbage-search-document\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"ada-search-document\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-search-curie-query-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-search-babbage-doc-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"curie-search-document\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-search-curie-doc-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"babbage-search-query\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-babbage-001\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"code-davinci-edit-001\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-search-davinci-doc-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-search-babbage-query-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"curie-similarity\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"curie\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-davinci-edit-001\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-similarity-davinci-001\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"text-davinci-002\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n },\n {\n \"object\": \"engine\",\n \"id\": \"davinci-similarity\",\n \"ready\": true,\n \"owner\": \"openai-dev\",\n \"permissions\": null,\n \"created\": null\n }\n ]\n}" + } + ] + }, + { + "name": "Retrieve engine", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/engines/:engineId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "engines", + ":engineId" + ], + "variable": [ + { + "key": "engineId", + "value": "babbage", + "description": "(Required) The ID of the engine to use for this request.\n" + } + ] + }, + "description": "Retrieves an engine instance, providing basic information about the engine such as the owner and availability.\n\n[See More](https://beta.openai.com/docs/api-reference/engines/retrieve)\n" + }, + "response": [ + { + "name": "Retrieve engine", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/engines/:engineId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "engines", + ":engineId" + ], + "variable": [ + { + "key": "engineId", + "value": "babbage", + "description": "(Required) (Required) The ID of the engine to use for this request.\n" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Date", + "value": "Sat, 10 Dec 2022 19:46:41 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "124" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "OpenAI-Version", + "value": "2020-10-01" + }, + { + "key": "OpenAI-Organization", + "value": "user-aaaaaa" + }, + { + "key": "X-Request-ID", + "value": "838e2df0452fed82b1ae166514edecf1" + }, + { + "key": "OpenAI-Processing-Ms", + "value": "27" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=15724800; includeSubDomains" + } + ], + "cookie": [], + "body": "{\n \"object\": \"engine\",\n \"id\": \"babbage\",\n \"ready\": true,\n \"owner\": \"openai\",\n \"permissions\": null,\n \"created\": null\n}" + } + ] + }, + { + "name": "Search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"query\": \"the president\",\n \"documents\": [\n \"mollit cillum irure\"\n ],\n \"file\": \"tempor deserunt of\",\n \"max_rerank\": 200,\n \"return_metadata\": false,\n \"user\": \"user-1234\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/engines/:engine_id/search", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "engines", + ":engine_id", + "search" + ], + "variable": [ + { + "key": "engine_id", + "value": "davinci", + "description": "(Required) The ID of the engine to use for this request. You can select one of `ada`, `babbage`, `curie`, or `davinci`." + } + ] + }, + "description": "The search endpoint computes similarity scores between provided query and documents. Documents can be passed directly to the API if there are no more than 200 of them.To go beyond the 200 document limit, documents can be processed offline and then used" + }, + "response": [ + { + "name": "OK", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"query\": \"the president\",\n \"documents\": [\n \"mollit cillum irure\"\n ],\n \"file\": \"tempor deserunt of\",\n \"max_rerank\": 200,\n \"return_metadata\": false,\n \"user\": \"user-1234\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/engines/:engine_id/search", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "engines", + ":engine_id", + "search" + ], + "variable": [ + { + "key": "engine_id", + "value": "davinci", + "description": "(Required) The ID of the engine to use for this request. You can select one of `ada`, `babbage`, `curie`, or `davinci`." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"object\": \"aliqua\",\n \"model\": \"culpa mollit\",\n \"data\": [\n {\n \"object\": \"quis ullamco\",\n \"document\": -71944099,\n \"score\": -27372955.13266051\n },\n {\n \"object\": \"nostrud\",\n \"document\": 60251307,\n \"score\": 27385981.955217436\n }\n ]\n}" + } + ] + } + ], + "description": "These endpoints describe and provide access to the various engines available in the API." + }, + { + "name": "Answers", + "item": [ + { + "name": "Answer Question", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"ipsum occaecat\",\n \"question\": \"What is the capital of Japan?\",\n \"examples\": [\n [\n \"esse\",\n \"dolo\"\n ]\n ],\n \"examples_context\": \"Ottawa, Canada's capital, is located in the east of southern Ontario, near the city of Montréal and the U.S. border.\",\n \"documents\": [\n \"est in mollit nisi elit\",\n \"consectetur exercitation quis cil\"\n ],\n \"file\": \"ipsum esse minim Lorem\",\n \"search_model\": \"ada\",\n \"max_rerank\": 200,\n \"temperature\": 0,\n \"logprobs\": null,\n \"max_tokens\": 16,\n \"stop\": \"\\n\",\n \"n\": 1,\n \"logit_bias\": null,\n \"return_metadata\": false,\n \"return_prompt\": false,\n \"user\": \"user-1234\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/answers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "answers" + ] + }, + "description": "Answers the specified question using the provided documents and examples.The endpoint first [searches](/docs/api-reference/searches) over provided documents or files to find relevant context. The relevant context is combined with the provided examples a" + }, + "response": [ + { + "name": "OK", + "originalRequest": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"model\": \"quis\",\n \"question\": \"What is the capital of Japan?\",\n \"examples\": [\n [\n \"et pariatur anim\",\n \"laboris mollit amet in\"\n ]\n ],\n \"examples_context\": \"Ottawa, Canada's capital, is located in the east of southern Ontario, near the city of Montréal and the U.S. border.\",\n \"documents\": [\n \"reprehenderit consectetur ipsum cupidatat\",\n \"voluptate sit veniam\"\n ],\n \"file\": \"nulla dolor\",\n \"search_model\": \"ada\",\n \"max_rerank\": 200,\n \"temperature\": 0,\n \"logprobs\": null,\n \"max_tokens\": 16,\n \"stop\": \"\\n\",\n \"n\": 1,\n \"logit_bias\": null,\n \"return_metadata\": false,\n \"return_prompt\": false,\n \"user\": \"user-1234\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/answers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "answers" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"object\": \"voluptate dolore aliquip ipsum\",\n \"model\": \"Duis laborum\",\n \"search_model\": \"dolor\",\n \"completion\": \"minim aute fugiat\",\n \"answers\": [\n \"et qui\",\n \"consequat nisi consectetur\"\n ],\n \"selected_documents\": [\n {\n \"document\": -31709807,\n \"text\": \"dolor consectetur\"\n },\n {\n \"document\": 65300678,\n \"text\": \"esse labore commodo\"\n }\n ]\n}" + } + ] + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{token}}", + "type": "string" + } + ] + }, + "variable": [ + { + "key": "baseUrl", + "value": "https://api.openai.com/v1" + }, + { + "key": "token", + "value": "" + } + ] +} \ No newline at end of file