Skip to content

Show AI endpoint response in modal window on the admin companies page #94

@maximgorbatyuk

Description

@maximgorbatyuk

Within Techinterview-space/web-api#135 a new endpoint appeared: /api/companies/{companyIdentifier}/open-ai-analysis. Response class is OpenAiChatResult. So on the frontend side a new button should appear for showing the response as JSON within modal dialog.

Acceptance criteria:

  • new Endpoint /api/companies/{companyIdentifier}/open-ai-analysis to be added to proper service. Response model should be copied from the backend class OpenAiChatResult
  • the endpoint should be called by clicking on button on the companies page which is available only for admins
  • The result JSON should be shown within modal dialog as JSON format. Use developed components like and etc
  • Tests should be green
  • Build pipeline should be green as well

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions