3 weeks ago - last edited 3 weeks ago
Hello Experts
I'm encountering an issue while setting up my SAP RAG Quickstart sample application for hybrid testing. I've configured the destination service (rag-quick-start-app-destination-service) and my server module (rag-quick-start-app-srv) in my MTA deployment descriptor.
I've ensured the destination binding is correctly configured, leveraging the service key information of my AI Core instance. My cds configuration in package.json is also set up to use this destination (named aicore-destination for the GenAI Hub).
However, during local testing (hybrid scenario), my application seems unable to read or resolve the destination information.
***********************************************************************************************
Received the request to split the document test.pdf and store it into SAP HANA Cloud!
Temporary PDF File restored and saved to: /home/user/projects/rag-quickstart-app/srv/test.pdf
Splitting the document into text chunks.
Documents split into 2 chunks.
Leveraging the CAP LLM plugin to generate the vector embeddings for the text chunks.
Error while generating and storing vector embeddings: Error: No configuration found for 'cds.requires.destination'
at _required (/home/user/projects/rag-quickstart-app/node_modules/@sap/cds/lib/srv/factory.js:34:80)
at new ServiceFactory (/home/user/projects/rag-quickstart-app/node_modules/@sap/cds/lib/srv/factory.js:20:16)
at connect.to (/home/user/projects/rag-quickstart-app/node_modules/@sap/cds/lib/srv/cds-connect.js:48:17)
at async CAPLLMPlugin.getEmbeddingWithConfig (/home/user/projects/rag-quickstart-app/node_modules/cap-llm-plugin/srv/cap-llm-plugin.js:153:27)
at async ApplicationService.<anonymous> (/home/user/projects/rag-quickstart-app/srv/embedding-storage.js:129:33)
at async next (/home/user/projects/rag-quickstart-app/node_modules/@sap/cds/lib/srv/srv-dispatch.js:68:17)
at async ApplicationService.handle (/home/user/projects/rag-quickstart-app/node_modules/@sap/cds/lib/srv/srv-dispatch.js:66:10)
at async ApplicationService.handle (/home/user/projects/rag-quickstart-app/node_modules/@sap/cds/libx/_runtime/common/Service.js:106:16)
at async /home/user/projects/rag-quickstart-app/node_modules/@sap/cds/libx/_runtime/cds-services/adapter/odata-v4/handlers/action.js:53:16
could anyone provide insights or suggestions on how to further troubleshoot this issue?
Request clarification before answering.
User | Count |
---|---|
72 | |
19 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.