Giter VIP home page Giter VIP logo

louis030195 / obsidian-ava Goto Github PK

View Code? Open in Web Editor NEW
638.0 17.0 21.0 2.51 MB

Quickly format your notes with ChatGPT in Obsidian

Home Page: https://app.anotherai.co

License: MIT License

Makefile 1.10% TypeScript 90.09% JavaScript 8.51% CSS 0.30%
ai deep-learning language-model machine-learning natural-language-processing nlp computer-vision knowledge-management personal-knowledge-management second-brain

obsidian-ava's Introduction

❗️ not maintained anymore

AVA - AI assistant for Obsidian

Unlock the full potential of Obsidian Notes and take your productivity to the next level.

Stack

What can you do with AVA?

Library._.Loom.-.5.January.2023.mp4

Generate meaningful text from your notes.

Get out of a writing slump. AVA helps you generate content for your next article. From a small paragraph to an entire blog post - we've got you covered.

  1. Press: cmd + P
  2. Type: Write Paragraph

paragraph

Write. Rewrite.

Get your unfiltered thoughts down on paper and use our rewrite tool before putting to fit your audience.

  1. Press: cmd + P
  2. Type: Rewrite Selection

rewrite

Connect the dots. Leverage your knowledge.

Automatically link your notes in seconds.  Use the "link" shortcut to automatically connect a note to existing content.

Installation

  1. Go to settings and check "Use Links"

Usage

  1. Press: cmd + P
  2. Type: Link Notes

New Recording Mar 19 2023 1003 AM (1)

Create images from selected text

Create images and visualizations to illustrate your thoughts and help you and the reader understand what you are saying.

  1. Press: cmd + P
  2. Type: Generate Image

images

Ask questions

Ask questions to a ChatGPT that knows you better than you know yourself.

  1. Press: cmd + P
  2. Type: Ask

How does it work? We feed ChatGPT the context of your question searched through your vault and ask it to answer.

Getting started

  1. Install Ava from Obsidian's community plugins list

We recommend you to try Ava's tutorial that you can find here:

image

It doesn't work help!

Reach out to [email protected]. We'll personally help you install it.

How does it work?

Ava is powered by Embedbase, the open-source API to easily create, store, and retrieve embeddings.

Data privacy

Your notes content are not stored in our database. The code is open-source.

Technical Limitations

Don't lag behind the crowd. Augment your learning with AI today.

obsidian-ava's People

Contributors

ashgansh avatar louis030195 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obsidian-ava's Issues

Error with Stable Diffusion Image Generation

Following is the detail. Unable to generate images
I have a valid API key and able to test @ https://beta.dreamstudio.ai/

Prompt Selection used

A man is playing chess against a robot, the robot is winning and the man is getting frustrated, the robot is taunting the man and the man is getting angry, the man is about to lose the game, 8k resolution, post processing, detailed, robot, chess, man, game, losing, frustrated, angry, taunting, red eyes, grinning face, plans, announcement, dismal, 8k

From command Palette, Select

Obsidian ava: Generate an image based on selected text
Using Hotkeys: Ctrl + Alt + S

Error

Error while generating image
TypeError: Cannot read properties of undefined (reading filePath)

Status bar warning

image

On hover message
image

Versions

OS: Windows 10
Obsidian ava Version: 1.0.8
Obsidian version: v1.O.3

steps to run under windows?

Has anyone successfully run the ava api server under windows? I was getting various errors under python 3.9 when trying to start the server. After installing dependencies, trying to start the server yields

File "[PATH]\my-vault\.obsidian\plugins\ava\semantic\env\lib\site-packages\obsidiantools\md_utils.py", line 273, in _get_md_front_matter_and_content
    return {}, file_string
UnboundLocalError: local variable 'file_string' referenced before assignment

Anyone managed to get it to start up?

FR: Show related links in side pane

I would really like to be able to see notes related to the current note in a side panel! Then decide if I want to drag them into the note as links or not. Thanks!

Simplify first time use

We are currently facing difficulty installing our plugin due to the need of running a Python API on install. This is done through a Node.js file that initiates 'pip install' commands, but we require Virtualenv to be installed in order for it to work. We desire a better solution as there are several issues with relying solely on Virtualenv (since it is not always installed on the host computer, which leads to installation failures.)

We would highly appreciate any suggestions on how to improve the current installation process.

Settings UI is Broken + Type Error and Semantic Search Error

On a fresh install, the Ava program has failed to load properly and all features are broken. I'm running the latest plugin version and I have disabled all other community plugins, my custom css, and created an entirely new vault

Console Log:

app.js:1 Total plugin setup: 753ms
ava: 753ms
plugin:ava:346 Object
plugin:ava:346 e
plugin:ava:346 Ava - Indexing vault with Array(1)
obsidian-ai-c6txy76x2q-uc.a.run.app/v1/search/refresh:1          Failed to load resource: the server responded with a status of 401 ()
plugin:ava:346 Error: Error refreshing semantic search: 
    at Sq (plugin:ava:316:662)
    at async DUt.indexWholeVault (plugin:ava:346:6634)
J3 @ plugin:ava:346
indexWholeVault @ plugin:ava:346
plugin:ava:346 Ava - Unlistening to note events

image

Generate Tags Function

I wanted to express my appreciation for the Obsidian Plugin you created.
The Generate Link function has been extremely useful for me, and I've found myself using it extensively. However, I couldn't help but think how even more productive and efficient my workflow could be if there was a similar function for generating tags as well. I believe it would be a valuable addition and I would greatly appreciate it if you could consider adding it.
Thank you again for your hard work and dedication in creating such a useful tool.

Automatic linking in editor

Automatically link notes after some delay (languagetool/grammarly plugin UX like).

Example:

I have a note "Dog"

In a new note called "Animals" I start writing "Dogs are nice animals", when I start typing "are" it will automatically put [[]] around Dogs (i.e. "[[Dogs]] are nice animals" at the end)

Issue with Rewrite and Write Paragraph

When I select text and run rewrite, nothing happens. Ditto with write paragraph.

I got the search API and link functionality working, so this does not seem to be an issue with my OpenAI API key or anything like that.

When I look in the console when hitting rewrite, this is what I get:

POST https://obsidian-ai-c6txy76x2q-uc.a.run.app/v1/text/create net::ERR_CONNECTION_REFUSED

stream | @ | plugin:ava:13
-- | -- | --
  | s | @ | plugin:ava:556
  | await in s (async) |   |  
  | search | @ | plugin:ava:552
  | (anonymous) | @ | app.js:1

When I look in the network tab, the response section says: "Failed to load response data: No data found for resource with given identifier."

Basically the same thing happens with Write Paragraph.

I'd be happy to provide you with any additional information that you need.

Expand sign in options

There is only a Sign in with Google option. Can we add email or something that doesn't link to a third party service?

Move PostHog data collection to the backend

Hi @louis030195 and @hotkartoffel. We (the Obsidian team) noticed that AVA has client-side telemetry code posting user data to PostHog from directly within Obsidian. We are still drafting a privacy and data collection policy for plugins, but there are a few guidelines we have already agreed on. Mainly, plugins should not submit user data to third-party telemetry services from directly within Obsidian, even if the data collection is opt-in.

Client-side libraries like PostHog's make it too easy for user data unrelated to your plugin to get collected. Instead, we ask that you move that data collection to your backend service; you should still be able to collect the same relevant usage information without risking user privacy.

API key is not recognize

Even though I copied it from openai.com, it does not recognize my key:
Not sure, do I need to regard something else?

image

Stable Diffusion not working. Error in console

Hi,

I added these values to Settings:
image

When I press "Save", I noticed this error in the console:
image

When I select a text and use "Generate an image based on selected text" nothing happens.

Any ideas?

Feature Request: Tags prefix

Would be good to have prefix settings for suggested tags

For example:

aka my prefix setting is ss\
all suggested tags would be ss\blah1 ss\blah2

Bug - Ava does not create the semantic directory

When trying to start the search API, it would silently fail. When I looked at the console, it was giving this error:

node:fs:1536 Uncaught (in promise) Error: ENOENT: no such file or directory, stat '/Users/danthompson/Obsidian/Synced Vault/.obsidian/plugins/ava/semantic'

I figured that this error was due to it not automatically creating the right directory. I double checked that the issue wasn't due to an old install (I am always searching for obsidian AI plugins so I installed Ava back when it first hit the store). I uninstalled and reinstalled, but it did not help.

Then I manually created the directory semantic at ~/Obsidian/Synced Vault/.obsidian/plugins/ava and running start search API worked.

So I think you need to add a mkdir step, at least when the plugin is installed through the Community Plugin interface.

Customization of insertions behavior

Some users requested the ability to customize the behavior on inserting links. For example with a template.

Example: comma separated list instead of bullet list.

Generate images and insert directly to canvas

The new canvas feature is pretty amazing. It would be cool if you could right-click on any card and click convert-to-image and it would convert the text description to a stable diffusion, dall-e or midjourney image.

Add the ability to Stop Search API

If I'm not actively using Ava, it would be nice to be able to stop the search API so that it is not running all the time in the background. Especially since it generates a ton of notifications. But also because I assume it is updating the embeddings constantly, which has a cost.

Of course, it's possible to simply disable Ava, but that is more time consuming than a simple command to disable the search API.

Wikipedia Links Howto?

Hi,
the "Get Wikipedia Suggestions" is an interesting feature.
But:

  • a new Side Panel is created for the links. Wouldnt it be better to add the links at the position of the cursor in the current document?
  • Also I can't mark the links to copy them for later use.
  • You mention "Press F1", It's not working on macos (its Command + P there)

Maybe I miss a point here. Please advice or fix.

Nice work so far & BR Günther

image

Improve documentation

It seems the documentation is not good enough because I see people struggling to install the plugin, suggesting a Loom end-to-end, especially Templater configuration is difficult to understand at first.

Privacy

Hi, I have tried the plugin and I like it, but I have some concerns about privacy.
When you rewrite the text or activate the indexing of the notes to link them.

What happens to the data?

Thanks

Inability to save API key

The settings interface of the plugin will not accept OpenAI API keys:

image

Is there some kind of workaround? Or a way of understanding what the plugin is expecting of the API key?

Ava search & fine-tuning

TODOs:

  • metrics / evaluation to know if fine-tuning is worthwhile
  • check if there is an easy way to fine-tune with supervised data collected through user interaction

This is important information that would influence whether we try to implement inference in JS directly (ONNX, TFJS, etc.) which makes it more difficult to fine-tune.

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.