Update
This commit is contained in:
@ -39,7 +39,7 @@ export async function openAI_ClassifyFeed(title: string): Promise<string> {
|
|||||||
const response = await openai.chat.completions.create({
|
const response = await openai.chat.completions.create({
|
||||||
model: config.openai.modelName,
|
model: config.openai.modelName,
|
||||||
messages: [{ role: "user", content: prompt.trim() }],
|
messages: [{ role: "user", content: prompt.trim() }],
|
||||||
temperature: 0.3,
|
temperature: 0.2,
|
||||||
});
|
});
|
||||||
|
|
||||||
const category = response.choices[0]?.message?.content?.trim();
|
const category = response.choices[0]?.message?.content?.trim();
|
||||||
|
Reference in New Issue
Block a user