Open austintlee opened 8 months ago
Can you get what you need by using the search connectors API? I'd prefer for RPS to be as close to a black box to opensearch as I can - so the processor plugin has minimal app logic
I guess you can't get the credentials out of opensearch. (I think). But then you shouldn't be able to pass that out of opensearch either, right? Or do you want to route all your openai requests through ml-commons?
It would be nice if I can just pass the connector-id to a remote search processor and have it grab the JSON definition from the ml-plugin index. Basically, I want to be able to share it across the Sycamore stack.
Ref: https://opensearch.org/docs/latest/ml-commons-plugin/remote-models/connectors/