Skip to content
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

Integrate and adjust POST /conversations/{conversation_id}/messages endpoint #3605

Open
5 tasks
chriskari opened this issue Jan 17, 2025 · 0 comments
Open
5 tasks
Labels
kind/feature Categorizes issue or PR as related to a new feature. kyma companion Related to all activities around the Kyma Companion

Comments

@chriskari
Copy link
Contributor

chriskari commented Jan 17, 2025

Description
The Kyma Companion frontend needs to make API calls to the POST /conversations/{conversation_id}/messages endpoint in the Kyma Companion backend, to send a question and receive a streamed response.

The POC version already includes a similar API call in the file KymaCompanion/api/getChatResponse.ts. 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

  • Endpoint and URL have changed
  • Cluster authorization should already be properly added to the headers, but take a second look
  • Format of request body has changed
  • Format of response body has changed
  • Check if the streaming of responses still works and perhaps adjust it
@chriskari chriskari added kind/feature Categorizes issue or PR as related to a new feature. kyma companion Related to all activities around the Kyma Companion labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. kyma companion Related to all activities around the Kyma Companion
Projects
None yet
Development

No branches or pull requests

1 participant