Skip to content

Commit 0ceb9dc

Browse files
committed
Now using RC embedding model
1 parent 81ad00e commit 0ceb9dc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ai-assistant/src/core/services/embeddings/minilml6.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,11 @@ export class MiniLML6 implements IEmbeddingModel {
3131
if (!res || res.statusCode !== 200) return null;
3232

3333
const data = res.data[0] as number[];
34-
console.log(data);
35-
3634
return data;
3735
}
3836

3937
async generate(text: string): Promise<number[] | null> {
40-
return await this.fromHuggingFace(text);
38+
// return await this.fromHuggingFace(text);
4139

4240
const res = await this.http.post(this.baseURL, {
4341
headers: {

0 commit comments

Comments
 (0)