Error: You exceeded your current quota, please check your plan and billing details. #6717
ajaytaneja-learner
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have just started experiemnnting with OpenAI API as well as LangChain. I get the error of You exceeded your current quota, please check your plan and billing details.
Here is my simple code
`
!pip install openai
!pip install --upgrade langchain
import openai
import os
import langchain
openai_api_key='MY_KEY'
from langchain.chat_models import ChatOpenAI
from langchain.schema import HumanMessage, SystemMessage, AIMessage
chat = ChatOpenAI(temperature=.7, openai_api_key=openai_api_key, request_timeout=120)
chat(
)
`
That is all. I get the error of Rate limit. Its the first time i am using LangChain
Beta Was this translation helpful? Give feedback.
All reactions