Giter VIP home page Giter VIP logo

Comments (28)

pinuke avatar pinuke commented on May 28, 2024 2

Be sure to spell check the key.

You can also use your key anywhere that takes one, so you may find another tool that takes open AI keys and try to test it there.

Also, check you rates/limits. The free Open AI key has a pretty low limit that you can hit pretty quickly, especially if you have a large vault

from obsidian-smart-connections.

lucadanu avatar lucadanu commented on May 28, 2024 1

I got the same problem with every plugin in Obsidian that use OpenAI API key.
I actually solve it by making a new OpenAI account associated to a different phone number.. It could be because the 18$ free plan doesn't exist anymore...now it's 5$

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on May 28, 2024

Are you in a region where OpenAI is available?

from obsidian-smart-connections.

Ikealightbulb avatar Ikealightbulb commented on May 28, 2024

Hi I have this error : "API key is not working as expected".

I have access to Open AI, and ChatGPT.

from obsidian-smart-connections.

lucadanu avatar lucadanu commented on May 28, 2024

Yes OpenAI is available where I am.. I get the same issue

from obsidian-smart-connections.

lucadanu avatar lucadanu commented on May 28, 2024

Ok thank you for you advice

from obsidian-smart-connections.

jakemkc avatar jakemkc commented on May 28, 2024

Hi all,

I just tried to installed the plugin yesterday, and it works in a very random way for the first few minutes. Then it keeps saying "error getting embeddings for xxx". Smart Connections counts to around 3000 before showing me "error getting embeddings for xxx" and I believe my vault is not too large.

I tried to click the "test API key" button in plugin setting, and it said "API key is not working as expected".

Is there any solution to this?

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on May 28, 2024

The API key being expired would explain it. Can you try a new key?

from obsidian-smart-connections.

jakemkc avatar jakemkc commented on May 28, 2024

I just tried a new key, and still the same, telling me "API key is not working as expected" after clicking the "test API key".

I have the free trial usage: $0.27 / $18.00, and it will expire on April 1, 2023.

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on May 28, 2024

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on May 28, 2024

Good to know, thanks for the update @lucadanu

from obsidian-smart-connections.

lucadanu avatar lucadanu commented on May 28, 2024

You are welcome mate!

from obsidian-smart-connections.

jakemkc avatar jakemkc commented on May 28, 2024

I see... As I don't have another phone number, so going to a paid account might be the only way to fix it.

from obsidian-smart-connections.

Teighe avatar Teighe commented on May 28, 2024

Hi all,

I just tried to installed the plugin yesterday, and it works in a very random way for the first few minutes. Then it keeps saying "error getting embeddings for xxx". Smart Connections counts to around 3000 before showing me "error getting embeddings for xxx" and I believe my vault is not too large.

I tried to click the "test API key" button in plugin setting, and it said "API key is not working as expected".

Is there any solution to this?

I get this problem when it reviews my Tracker plugin code so I wonder if that's a possible hiccup.

from obsidian-smart-connections.

jakemkc avatar jakemkc commented on May 28, 2024

I didn't do anything new and left it aside (still the same account, same API), and yesterday I discovered the list of failed file is much shorter than 4 days ago. I clicked "retry failed files only" and only 2 files were still in the list.

I don't exactly sure why this happened but it seems that if you just leave it there for a few days, the problem might be solved.

Jake

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on May 28, 2024

@jakemkc thanks for the update!

from obsidian-smart-connections.

FrankNJohnson avatar FrankNJohnson commented on May 28, 2024

Hi. I'm getting the "API key is not working as expected" message when I click the Test API Key button. The Smart control panel has a message that others have mentioned: "Smart Connections: API key is not working as expected!" And there a large number of my notes that failed to process when I tried to run the initial processing. If it matters, I'm a paid ChatGPT customer and I created the API key today before copying and pasting it into the Smart Connections settings panel. Thanks in advance for any help you can offer - much appreciated!

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on May 28, 2024

@FrankNJohnson thanks for letting me know.

I think the issue is that you still need to setup billing in your OpenAI account to raise the rate-limit. This is a separate billing system from the ChatGPT Plus subscription.

Also, it may take some time for the rate limits to be lifted once you setup that billing. But it seems to usually happen within a few hours.

Thanks for trying out the plugin and let me know if that ends up helping you get started.

from obsidian-smart-connections.

FrankNJohnson avatar FrankNJohnson commented on May 28, 2024

Thanks @brianpetro - that was the problem. I have it working now. Pretty cool!

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on May 28, 2024

@FrankNJohnson great!

Also, I've been making lots of updates and will continue to, so be sure to check for updates frequently.

Thanks for using the plugin!

from obsidian-smart-connections.

freqyfreqy avatar freqyfreqy commented on May 28, 2024

I get the same error. Is there anyway to find out if I have hit the rate limit? I don't have paid access.

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on May 28, 2024

@freqyfreqy if you don't have paid access then it's almost definitely the rate limit.

from obsidian-smart-connections.

freqyfreqy avatar freqyfreqy commented on May 28, 2024

Thank you! I'll do that!

from obsidian-smart-connections.

liuling73 avatar liuling73 commented on May 28, 2024

Can you please tell me the specific steps to set up billing in my OpenAI account? Do I need to be a paying user to do this? Currently, I am using a free account with a remaining balance of $4. Thank you.

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on May 28, 2024

@liuling73 a credit needs to be added to the billing section of your account to be considered a paid account.

🌴

from obsidian-smart-connections.

liuling73 avatar liuling73 commented on May 28, 2024

@brianpetro ,I didn't find specific methods and steps for adding, could you please provide detailed instructions? Thank you.

from obsidian-smart-connections.

liuling73 avatar liuling73 commented on May 28, 2024

图片
@brianpetro

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on May 28, 2024

Go-to payment methods on the screen you shared @liuling73

from obsidian-smart-connections.

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.