diff options
| -rw-r--r-- | README.md | 31 |
1 files changed, 2 insertions, 29 deletions
@@ -1,31 +1,4 @@ -## Reddit Hot News Sample +## ollama-logseq -This is a sample that show you how to manipulate blocks :) +A plugin to utilize LLMS provided by [ollama](https://github.com/jmorganca/ollama) in logseq -### Demo - - - -### API - -[](https://badge.fury.io/js/%40logseq%2Flibs) - -##### [Logseq.Editor](https://logseq.github.io/plugins/interfaces/ieditorproxy.html) - -- `insertBlock: ( - srcBlock: BlockIdentity, content: string, opts?: Partial<{ before: boolean; sibling: boolean; properties: {} }> - ) => Promise<BlockEntity | null>` -- `insertBatchBlock: ( - srcBlock: BlockIdentity, batch: IBatchBlock | Array<IBatchBlock>, opts?: Partial<{ before: boolean, sibling: boolean }> - ) => Promise<Array<BlockEntity> | null>` -- `updateBlock: ( - srcBlock: BlockIdentity, content: string, opts?: Partial<{ properties: {} }> - ) => Promise<void>` -- `removeBlock: ( - srcBlock: BlockIdentity - )` - -### Running the Sample - -- `npm install && npm run build` in terminal to install dependencies. -- `Load unpacked plugin` in Logseq Desktop client. |
