update embeddings for vector search
This commit is contained in:
1
src/lib/utils/embeddings.json
Normal file
1
src/lib/utils/embeddings.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
|||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
import * as tf from '@tensorflow/tfjs-node';
|
import * as tf from '@tensorflow/tfjs-node';
|
||||||
import postEmbeddings from '$lib/utils/poetry/embeddings.json';
|
import postEmbeddings from '$lib/utils/embeddings.json';
|
||||||
import { error, json } from '@sveltejs/kit';
|
import { error, json } from '@sveltejs/kit';
|
||||||
import { getModel, type Embedding, type SearchResult } from '$lib/utils/search';
|
import { getModel, type Embedding, type SearchResult } from '$lib/utils/search';
|
||||||
import { fetchMarkdownPosts } from '$lib/utils';
|
import { fetchMarkdownPosts } from '$lib/utils';
|
||||||
|
Reference in New Issue
Block a user