Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Add File purposes as constants (sashabaranov#577)
Browse files Browse the repository at this point in the history
* Add purposes.

* Formatting.
  • Loading branch information
revett authored and maerlyn5 committed Nov 22, 2023
1 parent cc777e8 commit a9362ac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions files.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ type FileRequest struct {
type PurposeType string

const (
PurposeFineTune PurposeType = "fine-tune"
PurposeAssistants PurposeType = "assistants"
PurposeFineTune PurposeType = "fine-tune"
PurposeFineTuneResults PurposeType = "fine-tune-results"
PurposeAssistants PurposeType = "assistants"
PurposeAssistantsOutput PurposeType = "assistants_output"
)

// FileBytesRequest represents a file upload request.
Expand Down

0 comments on commit a9362ac

Please sign in to comment.