update google colab to provide easy toggle option to use openai api extension#4399
Closed
teddybear082 wants to merge 4 commits intooobabooga:mainfrom
teddybear082:openai-colab-changes
Closed
update google colab to provide easy toggle option to use openai api extension#4399teddybear082 wants to merge 4 commits intooobabooga:mainfrom teddybear082:openai-colab-changes
teddybear082 wants to merge 4 commits intooobabooga:mainfrom
teddybear082:openai-colab-changes
Conversation
-This is useful for people using textgenwebui for openai API calls
-fix spacing
oobabooga
reviewed
Oct 27, 2023
Author
|
This looks good to me is there anything else you need from me? Should I look more into trying to provide a easy colab link at the top? |
-prevent installing requirements unnecessarily depending on whether openai api or api is selected -finish fixing easy open in google colab link
Author
|
I think I fixed the easy open link to google colab now, and also moved the parameters up so that the requirements could be chosen based on the parameters to avoid installing unnecessary openai api or api requirements if the user is not using the modules |
Owner
|
This PR made me realize that it doesn't make sense to have 2 APIs in this project, so I started #4430. If all goes well, it should make this PR unnecessary. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
-This is useful for people who want to use textgenwebui's google colab for openai API calls as easily as possible without needing to open the GUI
-also add direct google colab link
Checklist: