Skip to content

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#4399
teddybear082 wants to merge 4 commits intooobabooga:mainfrom
teddybear082:openai-colab-changes

Conversation

@teddybear082
Copy link
Copy Markdown

@teddybear082 teddybear082 commented Oct 27, 2023

-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:

-This is useful for people using textgenwebui for openai API calls
Comment thread Colab-TextGen-GPU.ipynb Outdated
@teddybear082
Copy link
Copy Markdown
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
@teddybear082
Copy link
Copy Markdown
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

@oobabooga
Copy link
Copy Markdown
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.

@teddybear082 teddybear082 closed this by deleting the head repository Nov 4, 2023
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

Successfully merging this pull request may close these issues.

2 participants