0
respostas

estou tentando fazer conexão na Api da OpenAI para fazer a aula e não estou conseguindo alguem sabe oque pode ser, ja troquei a Api_key e a conta mas continua falando a mesma coisa

RateLimitError Traceback (most recent call last)
/tmp/ipykernel_725/2048063328.py in <cell line: 0>()
6
7 # Cria o banco vetorial
----> 8 vectorstore = Chroma.from_documents(
9 documents=chunks,
10 embedding=embeddings,

7 frames
/usr/local/lib/python3.12/dist-packages/openai/_base_client.py in request(self, cast_to, options, stream, stream_cls)
1045
1046 log.debug("Re-raising status error")
-> 1047 raise self._make_status_error_from_response(err.response) from None
1048
1049 break

RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}