Description
The Kyma Companion frontend needs to make API calls to the POST /conversations endpoint in the Kyma Companion backend. This endpoint initializes a conversation by:
- Receiving information about the currently opened resource.
- Returning a list of suggestions for initial questions to start the conversation.
- Providing a session ID for subsequent interactions.
The POC version already includes a similar API call in the file KymaCompanion/api/getPromptSuggestions.js. However, since the development of the POC, the API structure and requirements have been updated. This API call must be adjusted accordingly to reflect the latest backend implementation.
For detailed information on the updated API structure, refer to the API documentation.
Tasks:
The necessary adjustments include, but may not be limited to
Description
The Kyma Companion frontend needs to make API calls to the POST /conversations endpoint in the Kyma Companion backend. This endpoint initializes a conversation by:
The POC version already includes a similar API call in the file
KymaCompanion/api/getPromptSuggestions.js. However, since the development of the POC, the API structure and requirements have been updated. This API call must be adjusted accordingly to reflect the latest backend implementation.For detailed information on the updated API structure, refer to the API documentation.
Tasks:
The necessary adjustments include, but may not be limited to