diff --git a/README.org b/README.org index 03575e6..8c31191 100644 --- a/README.org +++ b/README.org @@ -16,7 +16,7 @@ Both functions are accessed through an [[https://help.kagi.com/kagi/api/overview 2. In [[https://kagi.com/settings?p=billing_api][your account settings]], put a balance for the API part (note that this is a separate balance than the subscription). The recommendation is to start with a one-time charge of $5. A single query ranges from 1 to 5 cents typically, depending on the amount of tokens processed. 3. In [[https://kagi.com/settings?p=api][the API portal]], create an API token. Put the result in ~kagi-api-token~. -* Commands +* Commands and functions ** FastGPT @@ -27,6 +27,7 @@ The FastGPT functionality has only one command: =kagi-fastgpt-shell=. This opens - =kagi-summarize-buffer= :: Summarizes the content of a buffer and displays it in a separate buffer. - =kagi-summarize-region= :: Similarly, the text inside the region is summarized and shown in a separate buffer. - =kagi-summarize-url= :: Prompts for a URL of which a summary is composed and displayed. +- =kagi-summarize= :: Function to retrieve a summary from a text or URL, to be used from Lisp code. Note that texts submitted to Kagi are subject to their [[https://kagi.com/privacy#Summarizer][Privacy Policy]].