Marqo 1.5.1 or 2.2.1? #109
Replies: 3 comments 6 replies
-
was trying with 1.5.1 but not that simple...... only 2.0+ moved away the privileged mode. 1.5.1 still needs docker privileged mode. In case of Kubernetes 1.5.1, that will be messy...... so, options might be
|
Beta Was this translation helpful? Give feedback.
-
really got confused after playing around for a few hours........ Since marqo is now running in k8s, my first try was going with marqo 2. I also assumed pip in all services will use marqo (i.e. API v2.x instead of marqo1) Then I got problems with create index.
I shell into the container of activitysakhi, marqo pip is 2.1.0.... that means I am at risk. Will it compatible with marqo 2.x, I am really not sure.
just finished the doc indexing..... did a search and seems activitysakhi can do the search in marqo as well as query openai. But there is another error which is off topic from this post. For this thread, let's focus
(once I have things tested and working, I will shared the required changes for using marqo 2.x) |
Beta Was this translation helpful? Give feedback.
-
@heungheung And in cluster when you will login to a Pod other than marqo try to curl with URL http://marqo:8883 |
Beta Was this translation helpful? Give feedback.
-
In AWS Installer
https://github.com/Sunbird-AIAssistant/ai-bot-installer/blob/main/helmcharts/databases/charts/marqo/values.yaml#L8
The marqo tag is 2.2.1
However, in the readme
https://github.com/Sunbird-AIAssistant/ai-bot-installer/blob/main/README.md
When index documents
https://github.com/Sunbird-AIAssistant/sakhi-api-service/blob/main/index_documents.py#L112-L123
create index is using index_defaults
From Marqo doc
https://docs.marqo.ai/2.2.0/API-Reference/Indexes/create_index/
when create index, index_defaults is no longer a param, vs 1.5.1
https://docs.marqo.ai/1.5.1/API-Reference/Indexes/create_index/
Which path shall we go?
Side track....
Beta Was this translation helpful? Give feedback.
All reactions