askorama / orama

🌌 Fast, dependency-free, full-text and vector search engine with typo tolerance, filters, facets, stemming, and more. Works with any JavaScript runtime, browser, server, service!
https://docs.orama.com
Other
8.53k stars 285 forks source link

Cannot add OpenAI API Key #655

Closed hckhanh closed 6 months ago

hckhanh commented 7 months ago

Describe the bug

I cannot input the OpenAI API Key on my dashboard.

image

To Reproduce

  1. Open Orama Cloud account
  2. Enter the OpenAI API Key

Expected behavior

I can add the key

Environment Info

OS: MacOS 14.3.1

Affected areas

Initialization, Data Insertion, Search

Additional context

Oram Cloud

hckhanh commented 7 months ago

Additionally, I want to set the restriction key, not all permission key. Which necessary permissions do I need to create the key?

micheleriva commented 7 months ago

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)

hckhanh commented 7 months ago

Thank you @micheleriva.

I can add the key right now, I figured out the least permissions for the key to work

image

allevo commented 6 months ago

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?

hckhanh commented 6 months ago

Model: Read Embeddings: Write

Can I set it to readonly key? @allevo

allevo commented 6 months ago

We use: