increasing max tokens
This commit is contained in:
@@ -40,6 +40,7 @@ export async function runCurator(
|
||||
const response = await openai.responses.parse({
|
||||
model: defaultModel,
|
||||
temperature: 0.5,
|
||||
max_completion_tokens: 16384,
|
||||
...serviceOptions,
|
||||
...(canSearch ? { tools: [{ type: 'web_search' as const }] } : {}),
|
||||
text: { format: zodTextFormat(CuratorSchema, "shows") },
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -25,6 +25,7 @@ export async function runRetrieval(
|
||||
const response = await openai.responses.parse({
|
||||
model: defaultModel,
|
||||
temperature: 0.9,
|
||||
max_completion_tokens: 16384,
|
||||
...serviceOptions,
|
||||
...(canSearch ? { tools: [{ type: 'web_search' as const }] } : {}),
|
||||
text: { format: zodTextFormat(RetrievalSchema, "candidates") },
|
||||
|
||||
@@ -30,6 +30,7 @@ async function runValidatorChunk(
|
||||
const response = await openai.responses.parse({
|
||||
model: defaultModel,
|
||||
temperature: 0.1,
|
||||
max_completion_tokens: 16384,
|
||||
...serviceOptions,
|
||||
...(supportsWebSearch ? { tools: [{ type: 'web_search' as const }] } : {}),
|
||||
text: { format: zodTextFormat(ValidatorSchema, 'validation') },
|
||||
|
||||
Reference in New Issue
Block a user