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

Add capability for Switching between LLM Models #89

Open
shivaypiece opened this issue Feb 23, 2024 · 3 comments · May be fixed by #99
Open

Add capability for Switching between LLM Models #89

shivaypiece opened this issue Feb 23, 2024 · 3 comments · May be fixed by #99
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers in the OSP Community.

Comments

@shivaypiece
Copy link
Contributor

LLM Model Switch: Let users switch to GPT 3.5 or other models when interacting with Copilot.

Leverage the models.Snapshot() endpoint to fetch all of the different models.

this.models = new Pieces.ModelsApi().modelsSnapshot();

This is an iterable list with several models to choose from. You should write logic to choose between the different models.

So add a drop down in the Pieces Copilot Component, to choose which model the user wishes to interact with.

@shivaypiece shivaypiece added good first issue Good for newcomers in the OSP Community. enhancement New feature or request labels Feb 23, 2024
@Arindam200
Copy link
Contributor

I want to work on this

@jwafu
Copy link
Contributor

jwafu commented Feb 26, 2024

@Arindam200 sounds good! if you want to quickly get a PR up for your bug issue before diving into this that would be great 👍

@Arindam200
Copy link
Contributor

@jordan-pieces
I've almost implemented this.

Just one question:

After selecting the model from the front end how to set that to the copilot?

@Arindam200 Arindam200 linked a pull request Feb 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers in the OSP Community.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants