Skip to content

Commit 363a0d3

Browse files
committed
Raised version
1 parent bb27160 commit 363a0d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/sqlite-ai.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ void llm_set_model_options (struct llama_model_params *model_params, llm_options
206206

207207
void llm_set_context_options (struct llama_context_params *llama_context, llm_options *options) {
208208
if (options->generate_embedding) {
209+
// https://github.com/ggml-org/llama.cpp/discussions/15093
209210
llama_context->embeddings = true;
210211
llama_context->pooling_type = LLAMA_POOLING_TYPE_LAST;
211212
}

src/sqlite-ai.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
extern "C" {
2525
#endif
2626

27-
#define SQLITE_AI_VERSION "0.5.7"
27+
#define SQLITE_AI_VERSION "0.5.8"
2828

2929
SQLITE_AI_API int sqlite3_ai_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
3030

0 commit comments

Comments
 (0)