From 7be029a26f4f2236b8826e3bc263464abce23c7a Mon Sep 17 00:00:00 2001 From: Dev Khant Date: Wed, 15 Jan 2025 07:51:16 +0530 Subject: [PATCH] Doc: Custom instructions/Categories (#2147) --- .../project/get-instructions-and-categories.mdx | 4 ---- .../project/update-instructions-and-categories.mdx | 6 ------ docs/features/custom-instructions.mdx | 2 +- 3 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 docs/api-reference/project/get-instructions-and-categories.mdx delete mode 100644 docs/api-reference/project/update-instructions-and-categories.mdx diff --git a/docs/api-reference/project/get-instructions-and-categories.mdx b/docs/api-reference/project/get-instructions-and-categories.mdx deleted file mode 100644 index 94d1fd11..00000000 --- a/docs/api-reference/project/get-instructions-and-categories.mdx +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: 'Get Custom Instructions and Categories' -openapi: get /api/v1/orgs/organizations/{org_id}/projects/{project_id}/custom-instructions-and-categories/ ---- diff --git a/docs/api-reference/project/update-instructions-and-categories.mdx b/docs/api-reference/project/update-instructions-and-categories.mdx deleted file mode 100644 index c801db6d..00000000 --- a/docs/api-reference/project/update-instructions-and-categories.mdx +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: 'Update Custom Instructions and Categories' -openapi: post /api/v1/orgs/organizations/{org_id}/projects/{project_id}/custom-instructions-and-categories/ ---- - -Please refer to the [how to use custom instructions/categories](/features/custom-instructions) for more information. diff --git a/docs/features/custom-instructions.mdx b/docs/features/custom-instructions.mdx index 74c900c8..8a4fa45b 100644 --- a/docs/features/custom-instructions.mdx +++ b/docs/features/custom-instructions.mdx @@ -62,7 +62,7 @@ You can also retrieve the current custom instructions: ```python Code # Retrieve current custom instructions -response = client.update_project(fields=["custom_instructions"]) +response = client.get_project(fields=["custom_instructions"]) print(response) ```