Cannot add OpenAI API Key
hckhanh opened this issue · comments
Additionally, I want to set the restriction key, not all permission key. Which necessary permissions do I need to create the key?
Hi @hckhanh, we'll dig into that. Let me add my colleagues @allevo and @g-francesca to the conversation. Just in case, I'd recommend you to join our Slack support channel at https://orama.to/slack in case we need to ask for your email for triaging this (and keep it private)
Thank you @micheleriva.
I can add the key right now, I figured out the least permissions for the key to work
Hi! thanks for opening this issue.
If I understood correctly the problem is to set the correct permission for the OpenAI api key. Orama should require only read to model + embeddings. We probably omitted from the documentation, we have to fix it!
If the issue is resolved, can I close this issue?
Model: Read
Embeddings: Write
Can I set it to readonly key? @allevo
We use:
- the /v1/models API to check if the APIKEY is correct. This is made during the insertion
- the /v1/embeddings API to calculate the embeddings. This is made during the deployment
So, both are required.