GithubHelp home page GithubHelp logo

Cannot add OpenAI API Key about orama HOT 6 CLOSED

hckhanh avatar hckhanh commented on May 29, 2024
Cannot add OpenAI API Key

from orama.

Comments (6)

hckhanh avatar hckhanh commented on May 29, 2024

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

from orama.

micheleriva avatar micheleriva commented on May 29, 2024

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)

from orama.

hckhanh avatar hckhanh commented on May 29, 2024

Thank you @micheleriva.

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

image

from orama.

allevo avatar allevo commented on May 29, 2024

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?

from orama.

hckhanh avatar hckhanh commented on May 29, 2024

Model: Read
Embeddings: Write

Can I set it to readonly key? @allevo

from orama.

allevo avatar allevo commented on May 29, 2024

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.

from orama.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.