fix ki modell
This commit is contained in:
@@ -21,8 +21,12 @@ export async function extractRecipe(description) {
|
|||||||
system: SYSTEM_PROMPT,
|
system: SYSTEM_PROMPT,
|
||||||
prompt: `Extrahiere ein Rezept aus dieser TikTok-Videobeschreibung:\n\n${description}`,
|
prompt: `Extrahiere ein Rezept aus dieser TikTok-Videobeschreibung:\n\n${description}`,
|
||||||
stream: false,
|
stream: false,
|
||||||
|
options: {
|
||||||
|
num_ctx: 2048,
|
||||||
|
temperature: 0.1,
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
signal: AbortSignal.timeout(120000),
|
signal: AbortSignal.timeout(240000),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
|
|||||||
Reference in New Issue
Block a user