Fix running fulltext and rag in parallel from async#3
Conversation
|
Hi Alexandros, as far as I understand your change, you run the embedding of an entry right after adding it to the fulltext index (by commenting out the continue and using a different variable $ft_extra instead of $extra). This should not change anything, but the order things are run. What it does change is the condition if an index is outdated is now checked just for fulltext and then both index are updated. So the embeddings are potentially updated more then needed, while outdated or not existing embeddings are still checked in the 2nd iteration of the outer I think we need to go back to the problem you wanted to fix: I understood embeddings were not calculated for your, just the fulltext index (or synchronious changes). Do I remember that correct? Given what you observe is correct, it could be caused by a couple of things: So I think you need to dig e.g. with the debugger into the above and find the real cause:
Ralf |
No description provided.