Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Offer an API with configurable arguments #434

Open
HPRIOR opened this issue Apr 27, 2024 · 0 comments
Open

[Feature request]: Offer an API with configurable arguments #434

HPRIOR opened this issue Apr 27, 2024 · 0 comments

Comments

@HPRIOR
Copy link

HPRIOR commented Apr 27, 2024

It would be nice to have a lua API exposed to the user which could be called with various arguments, such as the model type. This would allow for greater control and interoperability with other plugins. as well as opening the door for more flexibility if other LLMs are introduced.

For my particular use case, I am using a telescope extension which provides a picker over various chat gpt functions, such as chat and interactive modes. I would like to be able to declare options in the extension, like: chat-cheap, or chat-expensive that offer an easy way to switch between gpt3 and gpt4 models.

Another useful feature of the proposed API would be the ability to specify visual selections.

Ideally this would be available for most the functionality provided by the plugin: ChatGPT, ChatGPTEditWithInstruction, ChatGPTRun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant