forked from elizaOS/eliza
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Changed `array_length(query_embedding, 1)` to `vector_dims(query_embedding)` in search_knowledge function - array_length doesn't work with pgvector's vector type - vector_dims is the correct function for getting vector dimensions - Added proper text casting for JSONB comparisons in search_knowledge_table - Added `::text` casts to fix JSONB comparison operators - Fixed ILIKE operations on JSONB fields - Changed function delimiters from `$$` to `$func$` for better readability - Added CASCADE to function drops to ensure clean recreation
- Loading branch information
Showing
1 changed file
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters