Hi All,
I am not able to enable the RAG feature. I have run this below API successfully
PUT /_cluster/settings
{
"persistent": {"plugins.ml_commons.rag_pipeline_feature_enabled": "true"}
}
After deploying my remote LLM model successfully ( I am using hugging face model inference endpoints). Which is working well with _predict API and giving successful response
I am getting below error
{
"error": {
"root_cause": [
{
"type": "m_l_exception",
"reason": "plugins.ml_commons.rag_pipeline_feature_enabled is not enabled."
}
],
"type": "m_l_exception",
"reason": "plugins.ml_commons.rag_pipeline_feature_enabled is not enabled."
},
"status": 500
}
Below is my request
PUT /_search/pipeline/rag_pipeline
{
"response_processors": [
{
"retrieval_augmented_generation": {
"tag": "movie bot",
"description": "Demo pipeline Using HF",
"model_id": "Pbh0p4wB9_MXHuOCuY",
"context_field_list": ["text"],
"system_prompt": "You are a helpful assistant",
"user_instructions": "Generate a concise and informative answer in less than 100 words for the given question"
}
}
]
}
Thanks
Ram Da