add chart.js
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { queryOne, execute } from '../../../utils/db'
|
||||
import { requireAuth } from '../../../utils/session'
|
||||
import { chatCompletion } from '../../../utils/openai'
|
||||
import { callOpenAI } from '../../../utils/openai'
|
||||
|
||||
/**
|
||||
* 회의록 AI 분석
|
||||
@@ -71,10 +71,10 @@ export default defineEventHandler(async (event) => {
|
||||
${meeting.raw_content}`
|
||||
|
||||
try {
|
||||
const result = await chatCompletion([
|
||||
const result = await callOpenAI([
|
||||
{ role: 'system', content: systemPrompt },
|
||||
{ role: 'user', content: userPrompt }
|
||||
], { model: 'gpt-4o-mini', temperature: 0.3 })
|
||||
], true, 'gpt-4o-mini')
|
||||
|
||||
// JSON 파싱
|
||||
let aiResult: any
|
||||
|
||||
Reference in New Issue
Block a user