-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while consuming AICore SDK for deployment and embedding generation #319
Comments
Unfortunately you didn't track the exception message (and potential suppressed exceptions). It's difficult to tell what exactly went wrong. However I can tell the following:
From the service bindings, it looks like your first bound instance results in an incorrect service binding payload. Therefore my suggestion would be to either remove the first service biding with the certificate, or provide full exception details, e.g. by catching and logging/printing it. |
I checked back with the AI Core team, they will likely add the missing |
Thanks a lot for the update. As we are delivering this feature for GA in productive landscape we choose to go with certificate-based authentication for security reason. could you please share the approximate timeline for this to be supported? Additionally, as part of a POC, we attempted to consume the SDK using client credentials. However, we encountered an issue where the deployment API initialisation does not return any response—there is neither an exception nor further execution. Compete log: Updated env Could you please provide any insights into this behavior? Also, let me know if any additional information is required. If needed, we can arrange a short call to go through the issue in detail. Thanks |
It seems you resolved the original issue. I hope this helps |
Thanks for the input. we are more interested in consuming sdk with "credential-type" :x509 with certificate for security reasons. since our delivery would be dependent on that would you be able to comment on the approximate timeline for this to be available? |
The |
Ask the Question
Issue Description
We are migrating to SDK from AI Client for one of our existing GenAI feature and facing the issue w.r.t deployment creation and embedding generation Endpoint via service instance binding.(similar issue when tried via destination also). Followed all the steps as per documentation.
Would like to verify if its a bug from SDK.
We follow multi-tenancy and we have custom ResourceGroup, configs and deployments for each tenant.
POM & Service Env Variable
https://github.tools.sap/Cloud4RM/Skill/blob/dev/aiSDK/srv/pom.xml#L145
https://github.tools.sap/Cloud4RM/Skill/blob/dev/aiSDK/srv/logs/EnvoirmentofBoundService.txt
Issue with deployment creation.
Implementation .
https://github.tools.sap/Cloud4RM/Skill/blob/dev/aiSDK/srv/src/main/java/com/sap/c4p/rm/skill/aicore/service/AIClient.java#L600
Error
https://github.tools.sap/Cloud4RM/Skill/blob/dev/aiSDK/srv/logs/logDeploymentCreation.png
cloud log.
https://github.tools.sap/Cloud4RM/Skill/blob/dev/aiSDK/srv/logs/skill-srv%20ceateDeployment.txt
Issue with Embedding generation.
Implementation.
https://github.tools.sap/Cloud4RM/Skill/blob/dev/aiSDK/srv/src/main/java/com/sap/c4p/rm/skill/aicore/service/AIClient.java#L248
Error
https://github.tools.sap/Cloud4RM/Skill/blob/dev/aiSDK/srv/logs/logEmbCreation.png
cloud log
https://github.tools.sap/Cloud4RM/Skill/blob/dev/aiSDK/srv/logs/skill-srv%20createEmbeddings.txt
Impact
Blocked development
Both Destination instance and AICore service instance are bound to the service, please feel free if any further input required.
The text was updated successfully, but these errors were encountered: