Skip to content

Commit 8a36948

Browse files
authored
feat: update descriptions
feat: update descriptions
2 parents 9d287fe + e212e7b commit 8a36948

2 files changed

Lines changed: 15 additions & 9 deletions

File tree

packages/openapi/descriptions/chat-completion.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,4 +473,10 @@ export default {
473473
last_updated_before_filter: {
474474
desc: `Filters search results to only include content last updated before this date. Format should be %m/%d/%Y (e.g. 3/1/2025)`,
475475
},
476+
safety_model: {
477+
desc: `The name of the moderation model used to validate tokens.`
478+
},
479+
prompt: {
480+
desc: `A string providing context for the model to complete.`
481+
},
476482
};

packages/openapi/descriptions/ocr.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ export default {
4141
},
4242
image_base64: {
4343
desc: `Base64 string of the extracted image`,
44-
dpi: {
45-
desc: `Dots per inch of the page-image.`,
46-
},
47-
height: {
48-
desc: `Height of the image in pixels.`,
49-
},
50-
width: {
51-
desc: `Width of the image in pixels.`,
52-
},
5344
},
5445
},
5546
dimensions: {
5647
desc: `The dimensions of the PDF page's screenshot image`,
48+
dpi: {
49+
desc: `Dots per inch of the page-image.`,
50+
},
51+
height: {
52+
desc: `Height of the image in pixels.`,
53+
},
54+
width: {
55+
desc: `Width of the image in pixels.`,
56+
},
5757
},
5858
},
5959
include_image_base64: {

0 commit comments

Comments
 (0)