Giter VIP home page Giter VIP logo

Comments (9)

brianpetro avatar brianpetro commented on August 24, 2024 2

@joandervieira OpenAI is requiring pre-paying for credits now. Doing so will solve the API key issue.

Those embedding models are a good start for local models. Since you're using OpenAI, you could try their models, too, and that will make the embedding process faster but will send your content to the OpenAI servers. So it just depends on your priorities, speed vs privacy.

from obsidian-smart-connections.

strandbygaard avatar strandbygaard commented on August 24, 2024 1

@brianpetro I cannot get it to work with OpenAI project keys. The legacy user keys seem to work fine.

from obsidian-smart-connections.

hardchor avatar hardchor commented on August 24, 2024 1

Updating the OpenAI API Key under "Smart Chat" with the new project-based API keys worked fine for me, but when I update the API key for embeddings, I'm getting this on the console:

saving setting: api_key
plugin:smart-connections:9178 rerendering view
plugin:smart-connections:6463 saved settings
plugin:smart-connections:6464 
{new_user: false, chat_folder: 'smart chat', smart_notes_embed_model: 'text-embedding-3-small', smart_blocks_embed_model: 'text-embedding-3-small', smart_connections_folder: '.smart-connections', …}
plugin:smart-connections:8251 Smart Connections: Error testing OpenAI API key TypeError: this.changed_smart_chat_model is not a function
    at SmartEmbedSettings.test_api_key_openai_embeddings (plugin:smart-connections:8245:24)
    at async ScSettings.test_api_key_openai_embeddings (plugin:smart-connections:8775:9)
test_api_key_openai_embeddings	@	plugin:smart-connections:8251
await in test_api_key_openai_embeddings (async)		
test_api_key_openai_embeddings	@	plugin:smart-connections:8775
handle_on_change	@	plugin:smart-connections:6542
await in handle_on_change (async)		
eval	@	plugin:smart-connections:6482
(anonymous)	@	app.js:1

from obsidian-smart-connections.

mdmd-10 avatar mdmd-10 commented on August 24, 2024

error
image

I'm having a similar issue.

from obsidian-smart-connections.

huachuman avatar huachuman commented on August 24, 2024

I had the same issue. I really dislike that OpenAI are requiring pre-pay for credits now.

from obsidian-smart-connections.

mdmd-10 avatar mdmd-10 commented on August 24, 2024

I even paid the $5 dolars... but it didn't work anyways. Any more tips?

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on August 24, 2024

@mdmd-10 that screenshot doesn't look like Smart Connections plugin.

from obsidian-smart-connections.

brianpetro avatar brianpetro commented on August 24, 2024

@strandbygaard I'm not sure what you mean by that 🌴

from obsidian-smart-connections.

jmiba avatar jmiba commented on August 24, 2024

@brianpetro I cannot get it to work with OpenAI project keys. The legacy user keys seem to work fine.

Same here. I created a new project and a project key and Smart Connections keeps complaining about an invalid API key.

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.