prompt-toolkit / prompt-toolkit/python-prompt-toolkit

Does anyone want an LLM-based autosuggester?

Open
#1,993 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.6k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

I've written an AutoSuggest class which suggests prompt completions using a locally-installed or remotely-hosted large language model. It can be customized to produce different types of completions depending on the writing task (coding, fiction, documentation) and is (optionally) aware of the context in which the prompt is being written.

Is there any interest in my contributing this to the repo as a pull request?

Image

For further information, the class will introduce a number of package dependencies:

  • langchain
  • langchain_core
  • PyEnchant

I haven't done this yet, but I'm planning to try an AutoCompleter as well which will provide a pop-up menu of next tokens, ordered by their probabilities. I'm not sure how useful this will be, however.

Contributor guide

No contributing guide indexed for this repository

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

No repository file, test, or entry point is named. Start by reviewing the proposed AutoSuggest class and its langchain, langchain_core, and PyEnchant dependencies, then check whether the project wants this feature; done requires an accepted scope and implementation plan.

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.