Add note en embed vectors

This commit is contained in:
Jorge Manrubia
2025-05-13 15:21:59 +02:00
parent b7b89541c6
commit ad734e36d7
+7
View File
@@ -22,6 +22,13 @@ To work on AI features you need the OpenAI API key stored in the development's c
you need to create a file named `development.key` in `config/credentials`. You can copy the file from One Password in you need to create a file named `development.key` in `config/credentials`. You can copy the file from One Password in
"Fizzy - development.key". "Fizzy - development.key".
To get semantic searches working for existing data you need to calculate all the vector embeds:
```ruby
Card.find_each(&:refresh_search_embedding)
Comment.find_each(&:refresh_search_embedding)
```
## Running tests ## Running tests
For fast feedback loops, unit tests can be run with: For fast feedback loops, unit tests can be run with: