Anyone else seeing this error? The pcap is small or 40KB. I am using the paid version and generated a new key for this app. Mac, Sonoma, 14.2.1, Python 3.10. Docker 4.27.2
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'}}
"/usr/local/lib/python3.10/dist-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
exec(code, module.dict)
File "/packet_buddy/packet_buddy.py", line 164, in
chat_interface()
File "/packet_buddy/packet_buddy.py", line 140, in chat_interface
st.session_state['chat_instance'] = ChatWithPCAP(json_path=json_path)
File "/packet_buddy/packet_buddy.py", line 66, in init
self.store_in_chroma()
File "/packet_buddy/packet_buddy.py", line 89, in store_in_chroma
self.vectordb = Chroma.from_documents(self.docs, embedding=embeddings)
File "/usr/local/lib/python3.10/dist-packages/langchain_community/vectorstores/chroma.py", line 778, in from_documents
return cls.from_texts(
File "/usr/local/lib/python3.10/dist-packages/langchain_community/vectorstores/chroma.py", line 736, in from_texts
chroma_collection.add_texts(
File "/usr/local/lib/python3.10/dist-packages/langchain_community/vectorstores/chroma.py", line 275, in add_texts
embeddings = self._embedding_function.embed_documents(texts)
File "/usr/local/lib/python3.10/dist-packages/langchain_openai/embeddings/base.py", line 508, in embed_documents
return self._get_len_safe_embeddings(texts, engine=engine)
File "/usr/local/lib/python3.10/dist-packages/langchain_openai/embeddings/base.py", line 324, in _get_len_safe_embeddings
response = self.client.create(
File "/usr/local/lib/python3.10/dist-packages/openai/resources/embeddings.py", line 113, in create
return self._post(
File "/usr/local/lib/python3.10/dist-packages/openai/_base_client.py", line 1200, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
File "/usr/local/lib/python3.10/dist-packages/openai/_base_client.py", line 889, in request
return self._request(
File "/usr/local/lib/python3.10/dist-packages/openai/_base_client.py", line 965, in _request
return self._retry_request(
File "/usr/local/lib/python3.10/dist-packages/openai/_base_client.py", line 1013, in _retry_request
return self._request(
File "/usr/local/lib/python3.10/dist-packages/openai/_base_client.py", line 965, in _request
return self._retry_request(
File "/usr/local/lib/python3.10/dist-packages/openai/_base_client.py", line 1013, in _retry_request
return self._request(
File "/usr/local/lib/python3.10/dist-packages/openai/_base_client.py", line 980, in _request
raise self._make_status_error_from_response(err.response) from None