Created
November 1, 2024 08:15
-
-
Save ajeetraina/43edff9e25f852f904d2280bd2781a27 to your computer and use it in GitHub Desktop.
Error message related to permission issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2024-11-01 13:43:43 database-1 | 2024-11-01 08:13:43.027+0000 INFO Anonymous Usage Data is being sent to Neo4j, see https://neo4j.com/docs/usage-data/ | |
2024-11-01 13:43:51 loader-1 | | |
2024-11-01 13:43:51 loader-1 | Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False. | |
2024-11-01 13:43:51 loader-1 | | |
2024-11-01 13:43:51 loader-1 | | |
2024-11-01 13:43:51 loader-1 | You can now view your Streamlit app in your browser. | |
2024-11-01 13:43:46 database-1 | 2024-11-01 08:13:46.304+0000 INFO Bolt enabled on 0.0.0.0:7687. | |
2024-11-01 13:43:47 database-1 | 2024-11-01 08:13:47.206+0000 INFO HTTP enabled on 0.0.0.0:7474. | |
2024-11-01 13:43:47 database-1 | 2024-11-01 08:13:47.209+0000 INFO Remote interface available at http://localhost:7474/ | |
2024-11-01 13:43:47 database-1 | 2024-11-01 08:13:47.215+0000 INFO id: 8940A76F218A70ADEA1575BE68E5D5D6D84D8A18625A537FF8AC58203EBE9FB4 | |
2024-11-01 13:43:51 pdf_bot-1 | | |
2024-11-01 13:43:51 bot-1 | | |
2024-11-01 13:43:51 pdf_bot-1 | Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False. | |
2024-11-01 13:43:51 pdf_bot-1 | | |
2024-11-01 13:43:51 bot-1 | Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False. | |
2024-11-01 13:43:51 pdf_bot-1 | | |
2024-11-01 13:43:51 bot-1 | | |
2024-11-01 13:43:51 pdf_bot-1 | You can now view your Streamlit app in your browser. | |
2024-11-01 13:43:51 loader-1 | | |
2024-11-01 13:43:51 pdf_bot-1 | | |
2024-11-01 13:43:51 loader-1 | URL: http://0.0.0.0:8502 | |
2024-11-01 13:43:51 bot-1 | | |
2024-11-01 13:43:51 loader-1 | | |
2024-11-01 13:43:51 bot-1 | You can now view your Streamlit app in your browser. | |
2024-11-01 13:43:51 pdf_bot-1 | URL: http://0.0.0.0:8503 | |
2024-11-01 13:43:51 pdf_bot-1 | | |
2024-11-01 13:43:47 database-1 | 2024-11-01 08:13:47.215+0000 INFO name: system | |
2024-11-01 13:43:47 database-1 | 2024-11-01 08:13:47.216+0000 INFO creationDate: 2024-10-31T13:57:43.557Z | |
2024-11-01 13:43:47 database-1 | 2024-11-01 08:13:47.216+0000 INFO Started. | |
2024-11-01 13:43:51 bot-1 | | |
2024-11-01 13:43:51 bot-1 | URL: http://0.0.0.0:8501 | |
2024-11-01 13:43:51 bot-1 | | |
2024-11-01 13:43:54 api-1 | See also the following migration guides for replacements based on `chain_type`: | |
2024-11-01 13:43:54 api-1 | stuff: https://python.langchain.com/docs/versions/migrating_chains/stuff_docs_chain | |
2024-11-01 13:43:54 api-1 | map_reduce: https://python.langchain.com/docs/versions/migrating_chains/map_reduce_chain | |
2024-11-01 13:43:54 api-1 | refine: https://python.langchain.com/docs/versions/migrating_chains/refine_chain | |
2024-11-01 13:43:54 api-1 | map_rerank: https://python.langchain.com/docs/versions/migrating_chains/map_rerank_docs_chain | |
2024-11-01 13:43:54 api-1 | | |
2024-11-01 13:43:54 api-1 | qa_chain = load_qa_with_sources_chain( | |
2024-11-01 13:43:55 api-1 | ERROR:root:Error raised by inference endpoint: An error occurred (AccessDeniedException) when calling the InvokeModel operation: You don't have access to the model with the specified model ID. | |
2024-11-01 13:43:55 api-1 | Embedding: Using AWS | |
2024-11-01 13:43:55 api-1 | LLM: ClaudeV2 | |
2024-11-01 13:43:55 api-1 | Traceback (most recent call last): | |
2024-11-01 13:43:55 api-1 | File "/usr/local/bin/uvicorn", line 8, in <module> | |
2024-11-01 13:43:55 api-1 | sys.exit(main()) | |
2024-11-01 13:43:55 api-1 | ^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ | |
2024-11-01 13:43:55 api-1 | return self.main(*args, **kwargs) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main | |
2024-11-01 13:43:55 api-1 | rv = self.invoke(ctx) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke | |
2024-11-01 13:43:55 api-1 | return ctx.invoke(self.callback, **ctx.params) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke | |
2024-11-01 13:43:55 api-1 | return __callback(*args, **kwargs) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 412, in main | |
2024-11-01 13:43:55 api-1 | run( | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 579, in run | |
2024-11-01 13:43:55 api-1 | server.run() | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run | |
2024-11-01 13:43:55 api-1 | return asyncio.run(self.serve(sockets=sockets)) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run | |
2024-11-01 13:43:55 api-1 | return runner.run(main) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run | |
2024-11-01 13:43:55 api-1 | return self._loop.run_until_complete(task) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete | |
2024-11-01 13:43:55 api-1 | return future.result() | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve | |
2024-11-01 13:43:55 api-1 | await self._serve(sockets) | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve | |
2024-11-01 13:43:55 api-1 | config.load() | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load | |
2024-11-01 13:43:55 api-1 | self.loaded_app = import_from_string(self.app) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string | |
2024-11-01 13:43:55 api-1 | module = importlib.import_module(module_str) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module | |
2024-11-01 13:43:55 api-1 | return _bootstrap._gcd_import(name[level:], package, level) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import | |
2024-11-01 13:43:55 api-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load | |
2024-11-01 13:43:55 api-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked | |
2024-11-01 13:43:55 api-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked | |
2024-11-01 13:43:55 api-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module | |
2024-11-01 13:43:55 api-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed | |
2024-11-01 13:43:55 api-1 | File "/app/api.py", line 54, in <module> | |
2024-11-01 13:43:55 api-1 | rag_chain = configure_qa_rag_chain( | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/app/chains.py", line 146, in configure_qa_rag_chain | |
2024-11-01 13:43:55 api-1 | kg = Neo4jVector.from_existing_index( | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/langchain_community/vectorstores/neo4j_vector.py", line 1282, in from_existing_index | |
2024-11-01 13:43:55 api-1 | store = cls( | |
2024-11-01 13:43:55 api-1 | ^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/langchain_community/vectorstores/neo4j_vector.py", line 588, in __init__ | |
2024-11-01 13:43:55 api-1 | self.embedding_dimension = len(embedding.embed_query("foo")) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/langchain_aws/embeddings/bedrock.py", line 196, in embed_query | |
2024-11-01 13:43:55 api-1 | embedding = self._embedding_func(text) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/langchain_aws/embeddings/bedrock.py", line 159, in _embedding_func | |
2024-11-01 13:43:55 api-1 | raise e | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/langchain_aws/embeddings/bedrock.py", line 144, in _embedding_func | |
2024-11-01 13:43:55 api-1 | response = self.client.invoke_model( | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/botocore/client.py", line 569, in _api_call | |
2024-11-01 13:43:55 api-1 | return self._make_api_call(operation_name, kwargs) | |
2024-11-01 13:43:55 api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
2024-11-01 13:43:55 api-1 | File "/usr/local/lib/python3.11/site-packages/botocore/client.py", line 1023, in _make_api_call | |
2024-11-01 13:43:55 api-1 | raise error_class(parsed_response, operation_name) | |
2024-11-01 13:43:55 api-1 | botocore.errorfactory.AccessDeniedException: An error occurred (AccessDeniedException) when calling the InvokeModel operation: You don't have access to the model with the specified model ID. | |
2032-01-01 00:00:00 | |
2001-01-01 00:00:00 xited with code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment