Vector search and RAG feature#2233
Open
KinyaElGrande wants to merge 17 commits into
Open
Conversation
tjerman
requested changes
Nov 10, 2025
5b84272 to
c9e6986
Compare
tjerman
approved these changes
Nov 19, 2025
| @@ -73,12 +75,19 @@ func (app *CortezaDiscoveryApp) InitServices(ctx context.Context) (err error) { | |||
| return fmt.Errorf("could not set token verifier") | |||
| } | |||
|
|
|||
| //initialize Elastic search client | |||
| esClient, err := es.Connect(app.Opt.ES) | |||
Member
There was a problem hiding this comment.
Do we need to make this optional or is this ES parameter now required?
|
a72cc53 to
f1e4062
Compare
e4b2d07 to
d870756
Compare
|
|
Stale pull request message |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




This PR introduces vector search and RAG (Retrieval-Augmented Generation) capabilities to Corteza discovery.
Feature overview
For these features to work, the following environment variables must be configured.
Embeddings generation
EMBEDDINGS_API_URLandEMBEDDINGS_API_KEYconfigs for the embeddings API server which is required for converting text into vector embeddings for semantic searchRAG
LLM_BASE_URL,LLM_MODEL(the default model is mistral-medium-latest) andLLM_API_KEYfor the LLM access which is required for the AI assistant to generate natural language responses