From 189d9e8173049aac2cb9f0aea923e339bfc76de7 Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Fri, 3 Nov 2023 01:52:50 +0200 Subject: Updated README --- README.md | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 5d17030..c7bb20d 100644 --- a/README.md +++ b/README.md @@ -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 - -![demo](./demo.gif) - -### API - -[![npm version](https://badge.fury.io/js/%40logseq%2Flibs.svg)](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` -- `insertBatchBlock: ( - srcBlock: BlockIdentity, batch: IBatchBlock | Array, opts?: Partial<{ before: boolean, sibling: boolean }> - ) => Promise | null>` -- `updateBlock: ( - srcBlock: BlockIdentity, content: string, opts?: Partial<{ properties: {} }> - ) => Promise` -- `removeBlock: ( - srcBlock: BlockIdentity - )` - -### Running the Sample - -- `npm install && npm run build` in terminal to install dependencies. -- `Load unpacked plugin` in Logseq Desktop client. -- cgit v1.2.3