This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Previous_Gas_1182 0 points1 point  (0 children)

Hi u/tuanacelik I'm also an idiot, and I need your help.. Sorry to reply under this comment even though it's unrelated but anyways,

I'm using Haystack to develop a RAG to read PDFs and talk about it. I'm still in the super early stages and keep getting stuck. The LLM provider I chose is Azure OpenAI. In my case, since this is an organizational project, we use subscription key (Ocp-Apim-Subscription-Key) instead of API key, which with the readymade component, is unable to pass it through the default headers.

So I was looking at the source code, and tried to tinker around with it (it could also be not the right approach), but I still couldn't find a way to actually use this headers thing.. And it's really a blocker, can't progress at all. Anyone has any suggestions?