runtime error

Exit code: 1. Reason: announced January 2025.', 'pdf_url': 'https://arxiv.org/pdf/2501.18588'} -------------------- Created a chunk of size 4890, which is longer than the specified 2000 Created a chunk of size 2231, which is longer than the specified 2000 Created a chunk of size 5461, which is longer than the specified 2000 Created a chunk of size 2489, which is longer than the specified 2000 Created a chunk of size 2030, which is longer than the specified 2000 Created a chunk of size 2537, which is longer than the specified 2000 Traceback (most recent call last): File "/home/user/app/app.py", line 107, in <module> vectorstore = FAISS.from_documents(chunks, embedding=embeddings) File "/usr/local/lib/python3.10/site-packages/langchain_core/vectorstores/base.py", line 848, in from_documents return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs) File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/faiss.py", line 1043, in from_texts embeddings = embedding.embed_documents(texts) File "/usr/local/lib/python3.10/site-packages/langchain_openai/embeddings/base.py", line 576, in embed_documents return self._get_len_safe_embeddings(texts, engine=engine) File "/usr/local/lib/python3.10/site-packages/langchain_openai/embeddings/base.py", line 471, in _get_len_safe_embeddings response = self.client.create( File "/usr/local/lib/python3.10/site-packages/openai/resources/embeddings.py", line 128, in create return self._post( File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1239, in post return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)) File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1034, in request raise self._make_status_error_from_response(err.response) from None openai.BadRequestError: Error code: 400 - {'error': {'message': 'Requested 485430 tokens, max 300000 tokens per request', 'type': 'max_tokens_per_request', 'param': None, 'code': 'max_tokens_per_request'}}

Container logs:

Fetching error logs...