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

module not supported #1

Open
divyansh-verma-PI opened this issue May 29, 2024 · 0 comments
Open

module not supported #1

divyansh-verma-PI opened this issue May 29, 2024 · 0 comments

Comments

@divyansh-verma-PI
Copy link

from gptcache.adapter import openai

class ChatCompletion(openai.ChatCompletion, BaseCacheLLM):

raise APIRemovedInV1(symbol=self._symbol)

openai.lib._old_api.APIRemovedInV1:

You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.

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

No branches or pull requests

1 participant