You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #137 [Store][Meilisearch] Remove id, score and vectors from metadata (chr-hertel)
This PR was merged into the main branch.
Discussion
----------
[Store][Meilisearch] Remove id, score and vectors from metadata
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Docs? | no
| Issues |
| License | MIT
Metadata should only include additional but relevant information. It is handed over by the SimilaritySearch to the LLM and too much unnecessary information hurt the context size and token consumption.
On top, score was not set.
Commits
-------
0ace629 Remove id, score and vectors from metadata
['title' => 'Inception', 'description' => 'A skilled thief is given a chance at redemption if he can successfully perform inception, the act of planting an idea in someone\'s subconscious.', 'director' => 'Christopher Nolan'],
43
-
['title' => 'The Matrix', 'description' => 'A hacker discovers the world he lives in is a simulated reality and joins a rebellion to overthrow its controllers.', 'director' => 'The Wachowskis'],
44
-
['title' => 'The Godfather', 'description' => 'The aging patriarch of an organized crime dynasty transfers control of his empire to his reluctant son.', 'director' => 'Francis Ford Coppola'],
0 commit comments