-
Notifications
You must be signed in to change notification settings - Fork 143
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
http connector with hugging face: enabling rag pipeline #2325
Comments
Not quite get you, the connector you shared is a text embedding model. Are you using it as LLM in RAG pipeline ? Can you share the RAG pipeline configuration? |
Yes, I am using it as an LLM in the RAG pipeline. I put the following request body into the
The connector I shared is for the Is this model not suitable for the rag pipeline? |
@MiaNCSU , |
@MiaNCSU , will close this issue since no reply after 2 weeks. Feel free to reply and open if you still have question. |
Hello,
Are OpenAI GPT, Anthropic Claude 3 the only possible options? Is the
opensearch rag pipeline not compatible with any open source LLM models?
…On Wed, May 22, 2024 at 11:58 PM Yaliang Wu ***@***.***> wrote:
@MiaNCSU <https://github.com/MiaNCSU> , will close this issue since no
reply after 2 weeks. Feel free to reply and open if you still have question.
—
Reply to this email directly, view it on GitHub
<#2325 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZHWVFO3TSQWYXD3EN24NOLZDVSNXAVCNFSM6AAAAABGILTBDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWGE4DIOJQHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I am trying to implement a rag pipeline using the pretrained HuggingFace model. I am having trouble building a custom blueprint for the HuggingFace model. I have adopted this connector, with modifications, from a previous issue #1468:
I have set up the cluster settings, registered and deployed the model using this connector, and have set up the rag pipeline.
I have set up the index to use rag by default like this:
I try to make a search this way:
And I get the following error:
opensearchpy.exceptions.TransportError: TransportError(500, 'null_pointer_exception', 'Cannot invoke "java.util.Map.get(Object)" because "error" is null')
I think this is an error with the connector, specifically with HuggingFace's Inference API endpoints. How do I configure the connector to correctly interact with HuggingFace API? The request body contains all parameters needed to make a request, according to the HF documentation. What should I fix?
The text was updated successfully, but these errors were encountered: