This commit is contained in:
hailin 2025-05-28 10:51:54 +08:00
parent 4e9122a657
commit 41dc3ca5fa
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
async function generateBgeM3Embedding(text: string): Promise<number[] | null> {
export async function generateBgeM3Embedding(text: string): Promise<number[] | null> {
try {
const response = await fetch("http://localhost:8000/embedding", {
method: "POST",