Skip to content

Commit

Permalink
Adds file purpose (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfarrell76 authored Dec 11, 2023
1 parent 5601af8 commit 8f72e05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 8 additions & 0 deletions src/prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}

0 comments on commit 8f72e05

Please sign in to comment.