From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: Including AI into Emacs Date: Tue, 10 Dec 2024 00:06:04 +0300 Message-ID: References: <61ffb7417fcfe6fc0c1291aa53d1398b.support1@rcdrun.com> <67533f62.5d0a0220.74bfb.65e6@mx.google.com> <67541628.050a0220.1c50f6.91ff@mx.google.com> <6754318e.df0a0220.314e38.6466@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3888"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.12 (2023-09-09) Cc: help-gnu-emacs@gnu.org To: Bruno Barbier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 09 22:06:52 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 1tKkxw-0000vO-Jk for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Dec 2024 22:06:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKkxL-0002bN-Qe; Mon, 09 Dec 2024 16:06:15 -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 1tKkxL-0002bE-5T for help-gnu-emacs@gnu.org; Mon, 09 Dec 2024 16:06:15 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKkxJ-000684-JO for help-gnu-emacs@gnu.org; Mon, 09 Dec 2024 16:06:14 -0500 Original-Received: from localhost ([::ffff:41.75.176.172]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000081F8A.0000000067575BC1.00013F75; Mon, 09 Dec 2024 14:06:08 -0700 Mail-Followup-To: Bruno Barbier , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <6754318e.df0a0220.314e38.6466@mx.google.com> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-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:148725 Archived-At: * Bruno Barbier [2024-12-07 14:29]: > IIUC, all you would need is to use the documented API ('gptel-request') > and use its callback. I am still using my own function, it works well for me. My workflow is that I press C-F5 to invoke the prompt, and prompt takes whatever is in the region and it is added to it. It is of course possible to interpolate the response in any text, like in Org, I can of course enter it, just that I don't use Org too often. From meta level I may generate Org or just use snippets, I am using all kinds of markups which can be converted to each other. But I am curious how do you use AI with integration in Org? How do you use it in conversations? I can mark region of what customer said, I can say use 123 memory and answer to customer, and I get pretty good answer based on my previous AI memory. Is that what you mean? Or do you mean some kind of automatic conversation? > But, if you don't need integration with org, conversations, multiple > backends, etc. , or just for fun, it makes sense to roll your own > solution. Multiple backends I have and it works well. But which other uses do you have? -- Jean Louis