-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9fe4291
commit 66d3855
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/models/async/NlpModel.ts → src/models/async/SummarizationModel.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* eslint-disable no-shadow */ | ||
/** Supported model types for summarization. */ | ||
export enum NlpModel { | ||
export enum SummarizationModel { | ||
STANDARD = 'standard', | ||
PREMIUM = 'premium' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { NlpModel } from './NlpModel'; | ||
import { SummarizationModel } from './SummarizationModel'; | ||
import { SummarizationFormattingOptions } from './SummarizationFormattingOptions'; | ||
|
||
export interface SummarizationOptions { | ||
prompt?: string; | ||
model?: NlpModel; | ||
model?: SummarizationModel; | ||
type?: SummarizationFormattingOptions; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters