Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-10412

implement backend plugin with basic API to query chat response

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • None
    • DEVAI Sprint 3262

      Story (Required)

      the most basic function. API to allow UI to create chat session

       

      _with the work done in https://issues.redhat.com/browse/DEVAI-132_

      move the working backend code and create a new backend plugin for it.

      the code will need to be converted to routing API, which follow design doc for /v1/query: https://docs.google.com/document/d/1nzW-crxBZoayWDWlZbtk0q6bmWFPy9qJ8Yun_zNOvRk/edit#heading=h.25xpl866izc8

       

      the work for this issue also involves introduce test code for route.js

      and also manual testing with frontend. investigate & changes need to be made on frontend code to ensure backend API can be called with no issues.

      Background (Required)

      <Describes the context or background related to this story>

       

      current frontend with basic implementation, which already contain the chat prompt: https://github.com/janus-idp/backstage-plugins/pull/1889/files

       

      a draft backend PR: https://github.com/janus-idp/backstage-plugins/pull/1988/files

       

       

       

      Out of scope

      <Defines what is not included in this story>

      Approach (Required)

      <Description of the general technical path on how to achieve the goal of the story. Include details like json schema, class definitions>

      Dependencies

      <Describes what this story depends on. Dependent Stories and EPICs should be linked to the story.>

      Acceptance Criteria (Required)

      <Describe edge cases to consider when implementing the story and defining tests>

      <Provides a required and minimum list of acceptance tests for this story. More is expected as the engineer implements this story>

      documentation updates (design docs, release notes etc)
      demo needed
      SOP required
      education module update (Filled by DEVHAS team only)
      R&D label required (Filled by DEVHAS team only)

      Done Checklist

      Code is completed, reviewed, documented and checked in
      Unit and integration test automation have been delivered and running cleanly in continuous integration/staging/canary environment
      Continuous Delivery pipeline(s) is able to proceed with new code included
      Customer facing documentation, API docs, design docs etc. are produced/updated, reviewed and published
      Acceptance criteria are met
      If the Grafana dashboard is updated, ensure the corresponding SOP is updated as well

              yangcao Stephanie Cao
              yangcao Stephanie Cao
              RHDH AI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: