simonw / simonw/llm

Enhancement idea: implement a self help

Open
#484 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12.5k
Forks
991
Avg merge
3d 13h
Merged PRs (30d)
10

Description

Hi!

Thanks for your amazing tool!

By the way: since it has so many features - how about implementing a kind of self help where you can ask the tool a question about it's usage, by feeding the help texts it has stored anyway and the users question to an LLM?

Not quite sure how that would best be done for llm, but I just implemented that for my AIGenPipeline https://aigenpipeline.stoerr.net/ in a couple of minutes by embedding the raw markdown files for the website into the command line client and feeding those to the backend LLM the tool uses (https://github.com/stoerr/AIGenPipeline/pull/24) : e.g.

    aigenpipeline --helpai "Make a command line where I can overwrite the file out.txt by executing prompt.txt on input.txt , no version comment."

gives you

    To overwrite the file `out.txt` by executing `prompt.txt` on `input.txt` without adding a version comment, you can use the following command line:
    
    ```
    aigenpipeline -wo -o out.txt -p prompt.txt input.txt
    ```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name specific files or tests. Start by reviewing the command-line help entry point and the help texts the tool already stores, then determine how a user question would reach the configured LLM. Done would require an agreed design for feeding that help content to the model and a documented command-line interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.