Emacs package for interacting with ChatGPT
Top 73.8% on sourcepulse
This Emacs package provides direct integration with ChatGPT, enabling users to send text regions or entire buffers for processing and receive formatted responses. It targets Emacs users seeking to leverage large language models for tasks like code generation, debugging, and documentation directly within their editor.
How It Works
The package utilizes the llm-workflow-engine
library, offering a flexible backend for interacting with OpenAI's models. This approach allows for customization of prompts, models, and system messages. Responses are rendered with syntax highlighting for code, enhancing readability and usability.
Quick Start & Requirements
OPENAI_API_KEY
environment variable), Python 3.x, pip
, and llm-workflow-engine
(installed via pip install git+https://github.com/llm-workflow-engine/llm-workflow-engine
).chatgpt-query
to a key (e.g., C-c q
). Select text to query specific regions.Highlighted Details
llm-workflow-engine
.Maintenance & Community
Licensing & Compatibility
llm-workflow-engine
.Limitations & Caveats
Multiline input is not yet supported. The project relies on external Python dependencies and an OpenAI API key.
1 year ago
1 day