Skip to content

Commit

Permalink
feat: set GPT-4o-mini as default PPR scraper model
Browse files Browse the repository at this point in the history
  • Loading branch information
Patai5 committed Jul 30, 2024
1 parent 39612f8 commit 8fb3c78
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions code/src/models/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,18 @@ const OPEN_AI_MODELS: { [modelKey: string]: ModelConfig } = {
output: 0.0006,
},
},
/**
* Default scraper model that we use for the PPR scraper.
* - We limit the max tokens here so the price is capped.
*/
DEFAULT_PPR_SCRAPER: {
modelName: 'gpt-4o-mini',
limitGenerationTokens: true,
maxTokens: 10_000,
interface: 'chat',
cost: {
input: 0.00015,
output: 0.0006,
},
},
} as const;

0 comments on commit 8fb3c78

Please sign in to comment.