From e521a831ec8842213be8590af7f2d4a385165c2d Mon Sep 17 00:00:00 2001 From: platform-endpoints Date: Mon, 20 Jan 2025 21:21:24 +0000 Subject: [PATCH 1/5] Add spec changes Co-authored-by: Daniel <133696562+daniel-cohere@users.noreply.github.com> --- cohere-openapi.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cohere-openapi.yaml b/cohere-openapi.yaml index 0297e4ff..cfb17e34 100644 --- a/cohere-openapi.yaml +++ b/cohere-openapi.yaml @@ -22880,6 +22880,9 @@ components: function: type: object description: The function to be executed. + required: + - name + - parameters properties: name: type: string From f371606eb6c59321e1d04dd1d5b4147e49732901 Mon Sep 17 00:00:00 2001 From: Fern Support <126544928+fern-support@users.noreply.github.com> Date: Tue, 21 Jan 2025 09:08:33 -0500 Subject: [PATCH 2/5] suggested styling update (#366) Signed-off-by: Fern Support <126544928+fern-support@users.noreply.github.com> --- fern/assets/input.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fern/assets/input.css b/fern/assets/input.css index c92ee00d..b12851ae 100644 --- a/fern/assets/input.css +++ b/fern/assets/input.css @@ -641,3 +641,7 @@ button[class^="Sidebar-link-buttonWrapper"] { .code-block-line-content span[style*="color: rgb(194, 195, 197)"] { color: rgb(155, 156, 158) !important; } + +:is(.dark) .simple-card-container { + --divider-border-color: #2c2c2c; +} From a0705e0ac3b06b554aa19ff25ad5e4e3046dcb7e Mon Sep 17 00:00:00 2001 From: cohere-advait Date: Tue, 21 Jan 2025 09:19:11 -0500 Subject: [PATCH 3/5] [bugfix] Add missing comma in creating-and-deploying-a-connector.mdx (#130) Add missing comma to Example Response JSON after "url" key. Signed-off-by: cohere-advait --- .../connectors/creating-and-deploying-a-connector.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fern/pages/text-generation/connectors/creating-and-deploying-a-connector.mdx b/fern/pages/text-generation/connectors/creating-and-deploying-a-connector.mdx index 6d700442..51578dd5 100644 --- a/fern/pages/text-generation/connectors/creating-and-deploying-a-connector.mdx +++ b/fern/pages/text-generation/connectors/creating-and-deploying-a-connector.mdx @@ -80,7 +80,7 @@ The response from the connector should be a JSON object with a list of documents "id": "expense_doc_1", "title": "Expense Policies for external travel", "text": "You can expense any work-related...", - "url": "https://internal-site.com/expensing" + "url": "https://internal-site.com/expensing", "created_at": "2023-11-25T20:09:31Z", }, { From d55016655253c2f47aebda75377072bb87f02fec Mon Sep 17 00:00:00 2001 From: billytrend-cohere <144115527+billytrend-cohere@users.noreply.github.com> Date: Tue, 21 Jan 2025 14:22:17 +0000 Subject: [PATCH 4/5] Add 500 error (#190) --- fern/pages/cohere-api/errors.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fern/pages/cohere-api/errors.mdx b/fern/pages/cohere-api/errors.mdx index 30d4da40..525df599 100644 --- a/fern/pages/cohere-api/errors.mdx +++ b/fern/pages/cohere-api/errors.mdx @@ -154,3 +154,7 @@ To resolve this error, consult [the API spec](https://docs.cohere.com/reference/ |failed to get rerank inference: request cancelled| |request cancelled by user| + +## 500 - Server Error + +500 responses are sent when there is an unexpected internal server error. To resolve these errors, please contact support via [email](mailto:support@cohere.com) or [discord](https://discord.gg/XW44jPfYJu) with details about your request and use case. From 1bb414960242c65e20cf68c484dab00ff922adce Mon Sep 17 00:00:00 2001 From: Andrew Jiang Date: Tue, 21 Jan 2025 09:28:36 -0500 Subject: [PATCH 5/5] Remove font color on fern-mdx-link (#94) Signed-off-by: Andrew Jiang