[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gptel 190d1d20e2 121/273: gptel: Update header line and pa
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gptel 190d1d20e2 121/273: gptel: Update header line and package info description |
Date: |
Wed, 1 May 2024 10:02:11 -0400 (EDT) |
branch: elpa/gptel
commit 190d1d20e200352b7adce363d2fc38895cec37c2
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
gptel: Update header line and package info description
---
gptel.el | 54 ++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 44 insertions(+), 10 deletions(-)
diff --git a/gptel.el b/gptel.el
index f29a7abbac..4b121d154c 100644
--- a/gptel.el
+++ b/gptel.el
@@ -1,4 +1,4 @@
-;;; gptel.el --- A simple ChatGPT client -*- lexical-binding: t; -*-
+;;; gptel.el --- A simple multi-LLM client -*- lexical-binding: t; -*-
;; Copyright (C) 2023 Karthik Chikmagalur
@@ -27,29 +27,63 @@
;;; Commentary:
-;; A simple ChatGPT client for Emacs.
+;; gptel is a simple Large Language Model chat client, with support for
multiple models/backends.
;;
-;; Requirements:
-;; - You need an OpenAI API key. Set the variable `gptel-api-key' to the key
or to
-;; a function of no arguments that returns the key.
+;; gptel supports ChatGPT, Azure, and local models using Ollama and GPT4All.
;;
-;; - Not required but recommended: Install `markdown-mode'.
+;; Features:
+;; - It’s async and fast, streams responses.
+;; - Interact with LLMs from anywhere in Emacs (any buffer, shell, minibuffer,
+;; wherever)
+;; - LLM responses are in Markdown or Org markup.
+;; - Supports conversations and multiple independent sessions.
+;; - Save chats as regular Markdown/Org/Text files and resume them later.
+;; - You can go back and edit your previous prompts or LLM responses when
+;; continuing a conversation. These will be fed back to the model.
+;;
+;; Requirements for ChatGPT/Azure:
+;;
+;; - You need an OpenAI API key. Set the variable `gptel-api-key' to the key or
+;; to a function of no arguments that returns the key. (It tries to use
+;; `auth-source' by default)
+;;
+;; - For Azure: define a gptel-backend with `gptel-make-azure', which see.
+;;
+;; For local models using Ollama or GPT4All:
+;;
+;; - The model has to be running on an accessible address (or localhost)
+;; - Define a gptel-backend with `gptel-make-ollama' or `gptel-make-gpt4all',
+;; which see.
;;
;; Usage:
-;; gptel can be used in any buffer or in a dedicated chat buffer.
+;;
+;; gptel can be used in any buffer or in a dedicated chat buffer. The
+;; interaction model is simple: Type in a query and the response will be
+;; inserted below. You can continue the conversation by typing below the
+;; response.
;;
;; To use this in a dedicated buffer:
;; - M-x gptel: Start a ChatGPT session
;; - C-u M-x gptel: Start another session or multiple independent ChatGPT
sessions
;;
-;; - In the chat session: Press `C-c RET' (`gptel-send') to send
-;; your prompt. Use a prefix argument (`C-u C-c RET') to set chat parameters.
+;; - In the chat session: Press `C-c RET' (`gptel-send') to send your prompt.
+;; Use a prefix argument (`C-u C-c RET') to access a menu. In this menu you
+;; can set chat parameters like the system directives, active backend or
+;; model, or choose to redirect the input or output elsewhere (such as to the
+;; kill ring).
+;;
+;; - If using `org-mode': You can save this buffer to a file. When opening this
+;; file, turning on `gptel-mode' will allow resuming the conversation.
;;
;; To use this in any buffer:
;;
;; - Select a region of text and call `gptel-send'. Call with a prefix argument
-;; to set chat parameters.
+;; to access the menu. The contents of the buffer up to (point) are used
+;; if no region is selected.
;; - You can select previous prompts and responses to continue the
conversation.
+;;
+;; Finally, gptel offers a general purpose API for writing LLM ineractions
+;; that suit how you work, see `gptel-request'.
;;; Code:
(declare-function markdown-mode "markdown-mode")
- [nongnu] elpa/gptel 2c87acddd5 200/273: gptel: Add request logging (Fix #165), (continued)
- [nongnu] elpa/gptel 2c87acddd5 200/273: gptel: Add request logging (Fix #165), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel d8c604b53b 202/273: README: Update with instructions for perplexity.ai (#204), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel eb088f2f21 213/273: gptel-anthropic: support Anthropic AI's Claude 3 (#229), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 3935a6dcf8 221/273: :recycle:: Untangle Gemini model and endpoint #212 (#213), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 260be9d8d4 230/273: gptel: Consolidate HTTP request process, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 53a905dafc 253/273: gptel: Show chosen system message in header-line, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 306fe3bd8c 269/273: gptel-ollama: Fix parsing error (#179), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 97ab6cbd1e 273/273: gptel: Add .elpaignore, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 4356f6fbec 103/273: gptel: correct system message with gptel-request, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 3308449761 133/273: gptel: Fix prompt string handling in gptel-request, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 190d1d20e2 121/273: gptel: Update header line and package info description,
ELPA Syncer <=
- [nongnu] elpa/gptel f571323174 163/273: gptel-gemini: Simulate system-message for gemini, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 7c2e342f35 176/273: gptel-transient: Add prompting from kill-ring, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 1752f1d589 180/273: gptel-kagi: Add support for the Kagi summarizer, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel d0c685e501 189/273: gptel: checkdoc linting and indentation rules, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 8a25058eed 190/273: gptel-openai: default :header key to simplify config, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel f0e4889c36 196/273: gptel: Update OpenAI model list, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 95925f3571 198/273: Automatically create parent directories for gptel-crowdsourced-prompts-file (#203), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel af5444a2ea 201/273: gptel: docstrings for multi-LLM support, bump version, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 49cfc78378 203/273: gptel: Add page boundaries, restructure files, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 0d6264f268 214/273: gptel-curl: Adjust response beginning position, ELPA Syncer, 2024/05/01