increasing max tokens
All checks were successful
Recommender Build and Deploy (internal) / Build Recommender Image (push) Successful in 4m4s
Recommender Build and Deploy (internal) / Deploy Recommender (internal) (push) Successful in 18s

This commit is contained in:
2026-04-02 21:31:34 -03:00
parent 98860835d9
commit 0c704cf2f6
4 changed files with 4 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ export async function runRanking(
const response = await openai.responses.parse({
model: defaultModel,
temperature: 0.2,
max_completion_tokens: 16384,
...serviceOptions,
text: { format: zodTextFormat(RankingSchema, "ranking") },
instructions: `You are a ${mediaLabel} ranking critic. Assign each ${mediaLabel} to exactly one of five confidence tags based on how well it matches the user's preferences.