ppipada / vscode-flexigpt Goto Github PK
View Code? Open in Web Editor NEWFlexiGPT plugin for VSCode. Interact with AI models as a power user
Home Page: https://pankajpipada.com/flexigpt/#/
License: MIT License
FlexiGPT plugin for VSCode. Interact with AI models as a power user
Home Page: https://pankajpipada.com/flexigpt/#/
License: MIT License
Want to run claude-3-opus, but I can't find any VSCode Plugin that currently supports it
Is your feature request related to a problem? Please describe.
At present, users do not have the flexibility to manage their conversation histories efficiently. The inability to delete either a single conversation or all conversations from the history can lead to cluttered and unmanageable conversation spaces. This enhancement seeks to address this limitation, offering a cleaner and more organized user experience.
Describe the solution you'd like
I propose the development of a feature that allows users to selectively delete either a single conversation or clear the entire conversation history from their account. This feature should encompass the following functionalities:
Selective Deletion: Users can choose a particular conversation and delete it from their history, helping in removing any unnecessary or unwanted conversations.
Bulk Deletion: An option where users can clear their entire conversation history, beneficial for those looking to start afresh or declutter their conversation space comprehensively.
Confirmation Dialog: Before deletion, a confirmation dialog should appear, confirming the user's action and preventing accidental deletions.
Additional context
Adding this feature would significantly augment the user experience, granting greater control over the management and organization of their conversation histories. Moreover, it aligns with the best practices of data management and user privacy, ensuring users have full control over their conversation data.
Thank you!
Eg., the following prompt does not pick up and honor the frequencyPenalty nor the presencePenalty being 0:
module.exports = {
commands: [
{
name: "Test cmd",
template: Explain following code. code: {system.selection}
,
description: "Explain the code",
requestparams: {
temperature: 0.6,
maxTokens: 256,
topP: 1,
frequencyPenalty: 0, // THIS FAILS TO GET USED SINCE IT'S ZERO!
presencePenalty: 0 // --ditto--
},
}
],
}
I think the problem is in openaiapi.ts checkAndPopulateCompletionParams() in these lines (actually the presencePenalty will work since it's default value is 0.0 but it would fail if the default value where anything else; and frequencyPenalty line does fail):
presencePenalty: (inputParams?.presencePenalty as number) || 0.0,
frequencyPenalty: (inputParams?.frequencyPenalty as number) || 0.5,
I also think there are quite a few other uses of the TS ? operator in this function (and elsewhere) that would fail if the inputParams property is zero.
this is the extension marketplace for VSCodium, which is the
binary releases of VS Code without MS branding/telemetry/licensing
Nice work on this code.
It would also be nice to see this offered as a standalone GPT+others API in an npm package. Similar to the (now tired) https://github.com/transitive-bullshit/chatgpt-api.
HEy,
it might be because FlexiGPT is a bit older now, last update a year ago. So things might have changed in vscode. But I still like the simplicity of FlexiGPT and love to use it.
Issue is that the UI of the chat input is to large and there is no way to resize it. Guess that can be simple fixed by set a max-height.
Thanks for eventually looking into it.
Wow just found this incredible project. This looks super cool!
The only thing I am missing currently is the possibility of using local Huggingface models. Currently it looks to me, that the you can just configure the name of the model and the URL is automatically being build (e.g. prepending the huggingface url)
Would it be possible to also allow for a generic URL?
Thanks in advance and cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.