-
-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
Some providers like TeachAnything or Pizzagpt aren't returning responses anymore #2392
Comments
@unical1988 Hi, provide more information please. Old model not used for most main providers and can be remove later on site. Its not g4f bug. |
Hi, I confirm I can't use PizzaGPT anymore. your avatar test |
@TheFirstNoob can you provide an exhaustive list of associations between the providers and the models they use? |
@unical1988 You can use this full list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py#L83 |
@TheFirstNoob How to use these for text completion, I used: is the list of providers (obtained by g4f.Provider.providers) different from version to other? |
@unical1988 Try to |
@TheFirstNoob which method to use to use claude-3.5-sonnet with Blackbox provider? The error I got is: Can't use claude-3.5-sonnet with Completion.create() g4f.Completion.create()? |
@unical1988
|
@TheFirstNoob I don't want chat I just want text completion, what is the method to use? |
This example code above is text completion https://github.com/xtekky/gpt4free/blob/main/docs/client.md#text-completions |
@TheFirstNoob it doesn't show all necessary parameters/attributes; how to specify the provider I want to select ? |
Please read docs full. |
@TheFirstNoob No I can't find the answer in the link you sent, I just need one example of text completion with specified params of model and provider. Thanks |
@TheFirstNoob also how to excluse certain providers when using RetryProvider |
The example above uses the providers and models exactly as you require. You can put them in arrays and RetryProvider will only work with the providers you specify. It will not work with those you do NOT specify. Example array:
Example full base code:
|
How to make RetryProvider work with all possible providers ? how to exclude certain from those? |
|
I don't want to specify the model name, I just want the model to try out all possible providers except certain ones that a specifically remove, how to do that? |
is
an exhaustive list, is there any other model/provider I can use for chat.completion? Thanks. |
You can create array for unused providers with IterListProvider class on excluded list But I still recommend the option above because it has more control over the required models and providers. |
I have already written about models and providers above, directing you to The file list always indicates the models and providers available to them. Please create your own list that you need based on the example above and do not forget to update it if the library is updated. |
I have first tested TeachAnything with test-ada-001 model and it worked 2 months ago, but now it doesn't, same for Pizzagpt.
many other providers return errors
is this accounted for / documented somewhere? how to fix these so that a seemless use of g4f can be possible?
The text was updated successfully, but these errors were encountered: