diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2023-11-03 01:52:50 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2023-11-03 01:52:50 +0200 |
| commit | 189d9e8173049aac2cb9f0aea923e339bfc76de7 (patch) | |
| tree | 38f31d8de62a104c59844cdb7af31ccd2708a05a | |
| parent | 8b3afbfdcbf237866be2ace896ffa6646313b20f (diff) | |
| download | ollama-logseq-189d9e8173049aac2cb9f0aea923e339bfc76de7.tar.xz ollama-logseq-189d9e8173049aac2cb9f0aea923e339bfc76de7.zip | |
Updated README
| -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. |
