Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
multilingual
Browse files
semantic_search/all_search_execute.py
CHANGED
|
@@ -164,6 +164,7 @@ def handler(input_,session_id):
|
|
| 164 |
path = "_search/pipeline/ml_inference_for_vector_search_and_language_translation"
|
| 165 |
url = host + path
|
| 166 |
opensearch_translation_pipeline["phase_results_processors"] = hybrid_search_processor
|
|
|
|
| 167 |
r = requests.put(url, auth=awsauth, json=opensearch_translation_pipeline, headers=headers)
|
| 168 |
print("translation hybrid Search Pipeline updated: "+str(r.status_code))
|
| 169 |
|
|
|
|
| 164 |
path = "_search/pipeline/ml_inference_for_vector_search_and_language_translation"
|
| 165 |
url = host + path
|
| 166 |
opensearch_translation_pipeline["phase_results_processors"] = hybrid_search_processor
|
| 167 |
+
print(opensearch_translation_pipeline)
|
| 168 |
r = requests.put(url, auth=awsauth, json=opensearch_translation_pipeline, headers=headers)
|
| 169 |
print("translation hybrid Search Pipeline updated: "+str(r.status_code))
|
| 170 |
|