From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Barbier Newsgroups: gmane.emacs.help Subject: Re: Including AI into Emacs Date: Sat, 07 Dec 2024 10:32:22 +0100 Message-ID: <67541628.050a0220.1c50f6.91ff@mx.google.com> References: <61ffb7417fcfe6fc0c1291aa53d1398b.support1@rcdrun.com> <67533f62.5d0a0220.74bfb.65e6@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33488"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 07 10:33:07 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tJrBS-0008Ry-7r for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 Dec 2024 10:33:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJrAs-0005qE-0r; Sat, 07 Dec 2024 04:32:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJrAq-0005q2-90 for help-gnu-emacs@gnu.org; Sat, 07 Dec 2024 04:32:28 -0500 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJrAo-0006l5-FX for help-gnu-emacs@gnu.org; Sat, 07 Dec 2024 04:32:27 -0500 Original-Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4349e1467fbso18517305e9.1 for ; Sat, 07 Dec 2024 01:32:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733563945; x=1734168745; darn=gnu.org; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=d1BWDuUVXbXNhMrleXZeAYcjxDVGtLPDEgFm8IyFDUI=; b=YqJsAPM+8ZJqNaBQ03bBogJVS1HifEQmZ/sus3TR1nnKBkUc85InxrnO+5Q7/Kuj6J ekA2rac83BeJbge/IIsB2oJAWiutgguDLEgB/qvnT0WQhG5KjLeTuiPFuu3LTF7X5+jA gUfUDPdlKFHNGaoS7RCaXG89uX8B04QFlFp5TVu/t+Koi80Kt7vdo1uQr9tXROXGHR1R lcvcmq9uDXIcJ4qkiLkA+hYVHGabpRMwj7+1rn2/8xbIiA7HnSjA4G3SeY50klw0aw1o dtO+l19dhuInAx8uK5Bh2uX1rYsXumr/lS/JygY6ynmP/6ekW60nktRSU9CjvM9BxaRb ryEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733563945; x=1734168745; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=d1BWDuUVXbXNhMrleXZeAYcjxDVGtLPDEgFm8IyFDUI=; b=Y9+9ufiFTsczG9M7HVzgfpCZESGgfT2T0NtIxhkz81Pji5sP4C3AEu8EFe5dcnStpY G6IOH7ckCkQAWARUyheqHaTH+eaeIcS1sd02X7NKKjQ7gT7APKPVhWwLWrOxUqAclHbO Y5SALIc5LPKNRAflpbPHCg7QI7kptOCckNm6z225SNjznmeI9NI0c9ZDj9e6/grbDdP9 GZI+1NRZoWDGVLmZIlG3o6/a/e3iwG68gFQCO/XBDYBxKgU46y3ntHFrvoavO3lm4Cla yVSp3qg+zPRzvYlBJHf2h9040hwjFsTJFdBVzEQMJTGj9kN1UeqwrN3JDnm8yG3Orsx+ xz+Q== X-Gm-Message-State: AOJu0YxQERv/7RSAd4r3hcOlS0wgW4Wiol+YRlSAd+88eB3W+ZXMTD4R suoKyUuhLl4C8se5cCnl39ivl8dVO1SNNbFEkW1AKfwJSmrMyuJNQN2Cew== X-Gm-Gg: ASbGncuHOkb2/BWqFuW3UlldeMLMLRS8U/ZdGy64R4qBM10RPsxeasrRTSYWSri/EBg X0LEmIxB6nP1V3rpLWAwde0pZyWCgbjCYLkhfB6jY6myIgZYvF1DaRRijjrhAKnvZ+GdFcxrp67 L1eDQNWZJqyQ8TMpEz2EQj92fixi2+k5SgiU/zFG03S3ubkihHJoSLwyTH6rT/B5JwFIB9PNQjj 1XUWUhzKtXpCGh9rnqLzIvOqNJas3GmycPF+4Z6M1+9V1vR X-Google-Smtp-Source: AGHT+IFEI/OsSskS2OqFWhbVbef3KMQszRfpZZdgSjE98jR7iEYyaSEJYc1MdkJKZpljH82zwgn18g== X-Received: by 2002:a05:600c:3b15:b0:431:44fe:fd9a with SMTP id 5b1f17b1804b1-434ddeb08damr47218505e9.19.1733563944580; Sat, 07 Dec 2024 01:32:24 -0800 (PST) Original-Received: from localhost ([2a01:e0a:505:3460:1c18:688d:ece4:372e]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434da119a96sm82782535e9.40.2024.12.07.01.32.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2024 01:32:24 -0800 (PST) Original-Received: by localhost (sSMTP sendmail emulation); Sat, 07 Dec 2024 10:32:22 +0100 In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=brubar.cs@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148647 Archived-At: Jean Louis writes: > * Bruno Barbier [2024-12-06 21:16]: >> >> Jean Louis writes: >> >> Are you aware of the gptel package ? >> https://github.com/karthink/gptel > > I was using in invalidated manner the emacs-chatgpt but in general I > can do myself Curl and http requests. My usage is totally specific, I > have memories, various memories that I select from Dynamic Knowledge > Repository, then I can replace region with the information, or add new > information into buffer. > > I could not try gptel, it doesn't work. But will try in future. I'm not sure why it doesn't work for you: when I tried it, it just worked. As far as I understand, it does exactly what you need: it uses curl to make asynchronous http requests and to replace or add information in any buffer, even the minibuffer. > Soon I will buy Nvidia RTX 4xxx and then I will be using it offline > exclusively. gptel probably already has a backend for this too ;) Best, Bruno