-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change quickstart to enable neural and hybrid search #127
base: main
Are you sure you want to change the base?
Conversation
… add knn parts to schema
… when switching between keyword, neural, hybrid. Add search pipelines to quickstart.sh for neural and hybrid
waiting for PR #119 to be merged into main. Then main needs to be merged into this branch and it's ready for review. |
Signed-off-by: wrigleyDan <[email protected]>
}') | ||
|
||
# Extract the model_group_id from the JSON response | ||
model_group_id=$(echo "$response" | jq -r '.model_group_id') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow! Good job.
echo -e "${MAJOR}Registering a model in the model group.${RESET}" | ||
response=$(curl -s -X POST "http://localhost:9200/_plugins/_ml/models/_register" \ | ||
-H 'Content-Type: application/json' \ | ||
--data-binary "{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think we need all the \
characters.. We don't have that in other examples... where the --data-binary
uses a '
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at first, collapsing down to a single index didn't sit right, and yet, now it does, beuae hybrid is just "search". we don't need to segrategate our indexes by how we parse and index the data!
okay, we definitly need to make it run faster... Maybe we have an option "--full-data-set" and other wise only load two of the files??? Whyd oesn't it index faster, is it all the embeddings being generated? |
I tried to clean things up, but started getting errors in running opensearch, not sure if it's the patch: |
This PR makes Chorus neural and hybrid search ready by default.
This includes: