Comments (4)
@minad Hi!
I'm almost done with org support, I should be adding it in 30 minutes or so.
For the last couple of days I was trying to get ChatGPT to reply with org-formatted responses by using a prompt, but the results were inconsistent and non-reproducible. I guess this element of randomness is expected with LLMs.
So I wrote a basic converter for the responses instead. (Suggested markdown
-> org
solutions all seemed to involve pandoc, so I wrote a very basic parser in elisp.)
BTW the readme doesn't mention this yet, but you can use gptel in any buffer by selecting a region and calling gptel-send
, the special buffer is not needed. You can then select a region that includes your prompt and its response and call gptel-send
again to continue the conversation. (Responses are tracked using a text property.)
from gptel.
Org support added in 9db679d.
You can enable it with
(setq gptel-default-mode 'org-mode
gptel-prompt-string "*** ") ;<-- or anything you'd like
Alternatively, you can directly call gptel-send
from an org-mode buffer (with a region of text selected) and it should work correctly.
from gptel.
Great, I will try this now!
from gptel.
(Suggested markdown -> org solutions all seemed to involve pandoc, so I wrote a very basic parser in elisp.)
Why avoid pandoc
? IMO reuse of a much more complete and robust implementation seems like too enormous of a benefit.
from gptel.
Related Issues (20)
- gptel-org-branching-context requires Org 9.7 (unreleased) HOT 6
- Watermarking / inline annotation of LLM generated content vs prompt content HOT 2
- Org mode response formatting HOT 8
- Ollama as default backend HOT 1
- Perplexity: citations HOT 14
- Different results between gptel+ChatGPT and chat.openai.com HOT 2
- Auto Fill mode should be respected HOT 4
- Wrong language in the source block header HOT 4
- Help using local backends HOT 2
- Interacting with privateGPT (specifically for RAG) HOT 10
- Is it possible to interact with LLMs provided by an Open WebUI? HOT 1
- Error with the local LLM scripts in init file HOT 5
- How to disable the highlight after its done generating HOT 9
- How to register additional backends in doom emacs? HOT 4
- Enhance `gptel` to allow selecting from list of existing gptel buffers, when called interactively HOT 1
- [enhancement] Provide information about the different models HOT 1
- Updating `DoomEmacs`/`gptel` and chaing lightly configuration => only garbage generated now... HOT 8
- (gptel-menu) Truncated width of system message is wrong
- Better prefix-arg behavior for M-x gptel
- gptel-request wrong type argument HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gptel.