https://github.com/memgraph/odin Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Customer Stories + White papers, Ebooks, Webinars + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} memgraph / odin Public * Notifications * Fork 2 * Star 206 License MIT license 206 stars 2 forks Activity Star Notifications * Code * Issues 2 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights memgraph/odin This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/m] Use Git or checkout with SVN using the web URL. [gh repo clone memgra] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @AlexIchenskiy AlexIchenskiy fix: add missing dependencies to docs ... 323336f Sep 6, 2023 fix: add missing dependencies to docs 323336f Git stats * 34 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time src chore: restore init_local_repo September 4, 2023 11:54 .editorconfig feat: initial plugin implementation August 23, 2023 14:35 .eslintignore feat: initial plugin implementation August 23, 2023 14:35 .eslintrc feat: initial plugin implementation August 23, 2023 14:35 .gitignore feat: initial plugin implementation August 23, 2023 14:35 .npmrc feat: initial plugin implementation August 23, 2023 14:35 Dockerfile new installation procedure August 30, 2023 12:59 LICENSE chore: change license August 28, 2023 10:40 README.md fix: add missing dependencies to docs September 6, 2023 14:29 docker-compose.yml new installation procedure August 30, 2023 12:59 docs.md docs.md August 30, 2023 13:10 esbuild.config.mjs feat: initial plugin implementation August 23, 2023 14:35 manifest.json feat: add DEV docs August 24, 2023 15:37 package-lock.json fix: restore missing code August 30, 2023 12:18 package.json fix: restore missing code August 30, 2023 12:18 tsconfig.json feat: initial plugin implementation August 23, 2023 14:35 version-bump.mjs feat: initial plugin implementation August 23, 2023 14:35 versions.json feat: initial plugin implementation August 23, 2023 14:35 View code ODIN - Obsidian Driven Information Network Disclaimer Prerequisites Installation Docker installation Manual installation Features README.md react typescript styledcomponents obsidian docker ODIN - Obsidian Driven Information Network Disclaimer Warning It is recommended that you have access to GPT-4 via the OpenAI API. GPT-3.5 will probably fail to make correct knowledge graphs from your data. Since we still don't have access to GPT-4 OpenAI API, although we made our account a month ago and generated >1$ in billing a week ago, the init_repo, update_file and add_file endpoints are still untested. We initialized knowledge graphs manually, through ChatGPT. Here be dragons. Prerequisites Before you begin, make sure you have the following: * Obsidian installed on your system. * An active Obsidian vault. Installation 1. Download the Plugin: + Clone the repository inside the plugins folder (your_vault /.obsidian/plugins) using Git: git clone https://github.com/memgraph/odin.git 2. Install Dependencies and Start the Plugin: + Open your terminal or command prompt. + Navigate to the plugin's root directory: cd odin + You have the option to install ODIN using Docker, which will automatically install, set up and run the Memgraph database, the backend, and frontend components, or you can manually run the project locally for a more customized setup or if you already have Memgraph up and running. Docker installation Before you start, make sure you have a running Docker instance and Docker compose installed. 1. You will need to create a .env file inside the ODIN folder with your OpenAI API key to access the app features. It should look like this: OPENAI_API_KEY=YOUR_API_KEY Where YOUR_API_KEY is a key you can get here. 2. Run: docker compose up It will take up to ten minutes to download and run all dependencies. Now, that you have ODIN successfully installed, you can go to the next step. Manual installation Make sure you have Node.js version 14 or above and npm installed. 1. Install the required Node.js dependencies: npm install 2. Start the development build: npm run dev You now have the app frontend up and running. 3. You will also need to run the Memgraph database and the application backend by following the installation steps for BOR - backend for Obsidian and Rune. 3. Disable Restricted Mode: + In the Obsidian settings, navigate to "Options." + Click on the "Community plugins" tab. + Click the "Turn on community plugins" button. 4. Enable the Plugin: + If you don't see ODIN in the list, try reloading Obsidian. + Navigate back to the "Community plugins" section in the Obsidian settings. + Find "ODIN" in the list of plugins. + Toggle the switch next to the plugin name to enable it. 5. Plugin Usage: + The ODIN plugin is now installed and active. You can access its features through the Obsidian interface. Features Most features are accessible through the Graph Prompt view button in the menu opened by clicking the Expand button in the right upper corner of Obsidian. 1. Prompt Bar for LLM Queries * ODIN integrates Large Language Models (LLMs) into Obsidian using LangChain, allowing you to ask questions about the data stored in your knowledge graph right from the prompt bar. 2. Graph Visualization * Vault view will give you a comprehensive understanding of your notes and knowledge by visualizing your entire Obsidian vault as a dynamic knowledge graph. * Switch between Vault view and File view to get a detailed visualization of specific files. * By clicking nodes in the File view you will get highlighted sentences thematically connected to that node in your editor. 3. Dropdown Menu Functions Right click on the highlighted text in the editor to access the following features: * Generate questions: Extract thought-provoking questions from your markdown files, encouraging deeper contemplation and critical thinking. * Link prediction: Automatically generate links to other markdown files in your vault that are thematically connected to the highlighted text, enriching your notes with relevant references. * Node suggestion: Access thematically connected nodes related to the highlighted text, fostering meaningful connections and comprehensive understanding of your information. About No description, website, or topics provided. Resources Readme License MIT license Activity Stars 206 stars Watchers 4 watching Forks 2 forks Report repository Releases No releases published Packages 0 No packages published Contributors 3 * @AlexIchenskiy AlexIchenskiy Oleksandr Ichenskyi * @pkukic pkukic Patrik Kukic * @katarinasupe katarinasupe Katarina Supe Languages * TypeScript 96.0% * JavaScript 3.7% * Dockerfile 0.3% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.