Skip to content

Conversation

anunayajoshi
Copy link

No description provided.

This commit adds the ChatSidebar component to the frontend codebase. The ChatSidebar component is responsible for displaying a chat interface with messages and user input. It includes features such as message rendering, code block detection, and interaction with the OpenAI API for generating responses. This component enhances the user experience by providing a chat-based interface for interacting with the AI assistant.

Co-authored-by: [Author Name]
@SeeuSim
Copy link

SeeuSim commented Oct 29, 2024

May want to think of these implementation details:

  • Which service should be responsible for proxying the request to OpenAI? We should not store or reference API keys in the frontend

    • Which existing service, or should a new microservice be added?
  • May need to implement some form of prompt engineering as well, to meet the requirements. Requirements are as follows:

    • Incorporate generative AI to assist during the preparation. For example, users can seek
      help from ChatGPT, Copilot (or such other services) to seek explanation of code written by the
      other participant. Users can seek help from gen AI to solve the puzzle by providing prompts
      from within the interface.
      • Use Case 1: Interviewee needs to be able to prompt Copilot for assistance to solve, but Copilot cannot give the code as an answer.
      • Use Case 2: Interviewer needs to be able to prompt 'Explain the code to me' and it should be able to use the code and question as context.
  • Use Case for Copilot in-editor assistance not needed, as it can give too much assistance - would be cool to have if time permits

  • Also may want to update the branch w the latest configs from main

@SeeuSim SeeuSim changed the title Anun/ass PEER-226: Generative AI Code Assistance Oct 29, 2024
@SeeuSim SeeuSim marked this pull request as draft October 29, 2024 16:43
@SeeuSim SeeuSim closed this Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants