runtime error
Traceback (most recent call last): File "/home/user/.local/bin/chainlit", line 8, in <module> sys.exit(cli()) File "/home/user/.local/lib/python3.9/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "/home/user/.local/lib/python3.9/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/home/user/.local/lib/python3.9/site-packages/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/user/.local/lib/python3.9/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/user/.local/lib/python3.9/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) File "/home/user/.local/lib/python3.9/site-packages/chainlit/cli/__init__.py", line 154, in chainlit_run run_chainlit(target) File "/home/user/.local/lib/python3.9/site-packages/chainlit/cli/__init__.py", line 55, in run_chainlit load_module(config.run.module_name) File "/home/user/.local/lib/python3.9/site-packages/chainlit/config.py", line 282, in load_module spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "app.py", line 16, in <module> from aimakerspace.rag_utils.raqa import RetrievalAugmentedQAPipeline File "/home/user/app/aimakerspace/rag_utils/raqa.py", line 34, in <module> class RetrievalAugmentedQAPipeline: File "/home/user/app/aimakerspace/rag_utils/raqa.py", line 35, in RetrievalAugmentedQAPipeline def __init__(self, llm: ChatOpenAI(), vector_db_retriever: VectorDatabase) -> None: File "/home/user/app/aimakerspace/openai_utils/chatmodel.py", line 13, in __init__ raise ValueError("OPENAI_API_KEY is not set") ValueError: OPENAI_API_KEY is not set
Container logs:
Fetching error logs...