runtime error
s/openai/api_requestor.py", line 700, in _interpret_response self._interpret_response_line( File "/home/user/.local/lib/python3.10/site-packages/openai/api_requestor.py", line 763, in _interpret_response_line raise self.handle_error_response( openai.error.AuthenticationError: Incorrect API key provided: sk-icrhf***************************************1lr1. You can find your API key at https://platform.openai.com/account/api-keys. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 23, in <module> texto_emb = embed_text("/home/user/app/Embedding.csv") File "/home/user/app/app.py", line 13, in embed_text conocimiento_df['Embedding'] = conocimiento_df['Texto'].apply(lambda x: get_embedding(x, engine='text-embedding-ada-002')) File "/home/user/.local/lib/python3.10/site-packages/pandas/core/series.py", line 4630, in apply return SeriesApply(self, func, convert_dtype, args, kwargs).apply() File "/home/user/.local/lib/python3.10/site-packages/pandas/core/apply.py", line 1025, in apply return self.apply_standard() File "/home/user/.local/lib/python3.10/site-packages/pandas/core/apply.py", line 1076, in apply_standard mapped = lib.map_infer( File "pandas/_libs/lib.pyx", line 2834, in pandas._libs.lib.map_infer File "/home/user/app/app.py", line 13, in <lambda> conocimiento_df['Embedding'] = conocimiento_df['Texto'].apply(lambda x: get_embedding(x, engine='text-embedding-ada-002')) File "/home/user/.local/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f return self(f, *args, **kw) File "/home/user/.local/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__ do = self.iter(retry_state=retry_state) File "/home/user/.local/lib/python3.10/site-packages/tenacity/__init__.py", line 326, in iter raise retry_exc from fut.exception() tenacity.RetryError: RetryError[<Future at 0x7f9346ead990 state=finished raised AuthenticationError>]
Container logs:
Fetching error logs...