We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbe52ae commit 59a2671Copy full SHA for 59a2671
rocket-chatter-ingestion-server/src/core/llm.ts
@@ -5,7 +5,6 @@ const openai = new OpenAI({ apiKey: OPENAI_KEY })
5
6
export namespace LLM {
7
export async function generateEmbeddings(data: string): Promise<number[]> {
8
- return [1, 2, 3]
9
try {
10
const content = await openai.embeddings.create({
11
input: data,
0 commit comments