- Issue created by @marcus_johansson
- 🇬🇧United Kingdom scott_euser
It seems sensible and moving the configuration around should be fine, but maybe some challenges:
- Upgrade path probably not simplest thing, but should be doable; I think we should do upgrade even though AI Search is experimental, as I expect many leverage it
- There are quite substantial differences in VDB providers; e.g. Milvus you largely do via Drupal, Pinecone you largely do via Pinecone UI and select it. How do Recipes work? Can each VDB provider provide customised prompts for the recipe configuration in terminal/UI versions? Worried if we loose all the instruction/helptext it'll be more problematic than the status quo
- Should maybe also consult with @seogow since this rework may result in conflicts in the work he's doing around extra long content hitting the 10+ chunks timeouts
- 🇩🇪Germany marcus_johansson
Thanks, maybe we should split it up in two issues actually.
1. Is setting default VDB providers and being able to setup a server/index via recipes when this exists.
2. Is using recipe to setup the VDB Provider itself.For your question on #2 - this would have to be in the recipe, you can have help texts and other information in there for both console and form. But that is defined by whoever creates the recipe. Check here for the AI recipe for instance: https://git.drupalcode.org/project/drupal_cms/-/blob/1.x/recipes/drupal_....
That's why if we can solve this in the Key module, I don't think the AI module needs to do anything for this to work.
#3 - will talk to seogow.
- 🇩🇪Germany marcus_johansson
I just started looking at this and setting up so you can set a default provider in the form, makes litte if any sense. The idea with default providers is that you can switch them out when you feel like something else is better/cheaper/more secure etc, but this is not true for the vdb providers.
If you index with one vdb provider, and change the default value, the new one will not be able to do lookups against the vdb provider unless they happen to have the same dimensions.
So for recipe instead, it makes more sense to have a custom plugin to install a server, but this plugin sets the default embeddings provider and its dimensions as fixed values in the configuration.
- 🇩🇪Germany marcus_johansson
Changed some in the description and made it a two step process.
- 🇬🇧United Kingdom scott_euser
I haven't tried recipe's myself yet but that looks very simple in comparison! Seems fine to merge :)
-
marcus_johansson →
committed 26736ad3 on 1.1.x
Resolve #3509315 "Make vector databases"
-
marcus_johansson →
committed 26736ad3 on 1.1.x
Automatically closed - issue fixed for 2 weeks with no activity.