Skip to content

Commit 59a2671

Browse files
committed
Minor changes
1 parent bbe52ae commit 59a2671

File tree

1 file changed

+0
-1
lines changed
  • rocket-chatter-ingestion-server/src/core

1 file changed

+0
-1
lines changed

rocket-chatter-ingestion-server/src/core/llm.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const openai = new OpenAI({ apiKey: OPENAI_KEY })
55

66
export namespace LLM {
77
export async function generateEmbeddings(data: string): Promise<number[]> {
8-
return [1, 2, 3]
98
try {
109
const content = await openai.embeddings.create({
1110
input: data,

0 commit comments

Comments
 (0)