microsoft / kernel-memory

RAG architecture: index and query any data using LLM and natural language, track sources, show citations, asynchronous memory patterns.
https://microsoft.github.io/kernel-memory
MIT License
1.52k stars 293 forks source link

[Question] Regarding Hard-coded Elastic index vector dimension size #492

Closed xdave closed 4 months ago

xdave commented 4 months ago

Context / Scenario

In trying to setup a custom LLM and also use the Elasticsearch integration, it's constantly complaining about the dimension size being different than the index mapping when ingesting documents.

Question

Is there a roadmap item or timeline on when this will be implemented?

https://github.com/microsoft/kernel-memory/blob/a1f280c42c4df9a60d1d5cecf0633d07ff927b1b/extensions/Elasticsearch/Elasticsearch/ElasticsearchMemory.cs#L78

Took me at least a whole day to figure out that this was hard-coded while trying to setup a custom LLM.

dluc commented 4 months ago

/cc @afederici75 FYI