From 8f72e052340d437ca523e18f3cfba001ebb717dc Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Sun, 10 Dec 2023 19:47:46 -0800 Subject: [PATCH] Adds file purpose (#138) --- package.json | 2 +- src/prompt.ts | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6826bdf..151b558 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Transcend Inc.", "name": "@transcend-io/privacy-types", "description": "Core enums and types that can be useful when interacting with Transcend's public APIs.", - "version": "4.60.0", + "version": "4.61.0", "homepage": "https://github.com/transcend-io/privacy-types", "repository": { "type": "git", diff --git a/src/prompt.ts b/src/prompt.ts index 52662e5..4956677 100644 --- a/src/prompt.ts +++ b/src/prompt.ts @@ -26,3 +26,11 @@ export enum PromptResponseFormat { Text = 'text', JsonObject = 'json_object', } + +/** + * The purpose for uploading a file to a prompt or agent + */ +export enum PromptFilePurpose { + Assistants = 'ASSISTANTS', + FineTune = 'FINE_TUNE', +}