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
Logseq Copilot automatically indexes all your Logseq notes and includes relevant context in the
ChatGPT prompt. It doesn't matter which page you're currently on, this plugin will pull relevant
information from all of your notes.
Using a chat-like interface, you'll be able to discuss your notes with a Copilot and easily insert
note suggestions into Logseq.
Usage
Be sure to add your OpenAI API key to the settings page. Without it, this plugin is not
going to work.
Use ctrl-P to bring up the Copilot interface and type in a question about your notes.
Settings
OpenAI API Key: If you don't have one already, create it
here
OpenAI Base URL: If you have a proxy you'd like your OpenAI API calls to go through. If you
don't know what that is, then you can leave this blank.
OpenAI Model: The actual model the plugin will contact.
Chat Dialog Shortcut: The keyboard shortcut to bring up the chat dialog screen.
Vector Similarity Top K: (Advanced) The number of vector search results that can be included
in your prompt context.
Support
Create an issue here. Even better,
create a pull request!
FAQ
Can this plugin work with locally hosted LLMs?
Sure! As long as you can expose an OpenAI compatible API. For example, to work with
Ollama, you'll need to change the OpenAI Base URL setting to
https://localhost:11434/v1. You'll also need to
adjust
the OLLAMA_ORIGINS environment
variable.
You'll need to allow the origin logseq.io or just set it to a wildcard * if it's appropriate.