-
Notifications
You must be signed in to change notification settings - Fork 7
/
test.sql
37 lines (31 loc) · 1.1 KB
/
test.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.load dist/debug/rembed0
.bail on
.mode box
.header on
.timer on
.echo on
INSERT INTO temp.rembed_clients(name, options) VALUES
('text-embedding-3-small','openai'),
('jina-embeddings-v2-base-en','jina'),
('mixedbread-ai/mxbai-embed-large-v1','mixedbread'),
('nomic-embed-text-v1.5', 'nomic'),
('embed-english-v3.0', 'cohere'),
('snowflake-arctic-embed:s', 'ollama'),
('llamafile', 'llamafile'),
(
'mxbai-embed-large-v1-f16',
rembed_client_options(
'format', 'llamafile',
--'url', 'http://mm1:8080/v1/embeddings'
'url', 'http://mm1:8080/embedding'
)
);
select length(rembed('mixedbread-ai/mxbai-embed-large-v1', 'obama the person'));
.exit
select length(rembed('jina-embeddings-v2-base-en', 'obama the person'));
.exit
select length(rembed('text-embedding-3-small', 'obama the person'));
select length(rembed('llamafile', 'obama the person'));
select length(rembed('snowflake-arctic-embed:s', 'obama the person'));
select length(rembed('embed-english-v3.0', 'obama the person', 'search_document'));
select length(rembed('mxbai-embed-large-v1-f16', 'obama the person'));