Skip to content

Junie Implement ChatAI #2

@AlexanderPrendota

Description

@AlexanderPrendota

I want to add a page where the user can communicate with the AI assistant and ask their questions.

  1. Add a new page /chat-helper
  2. No auth required, all messages are public and allowed for everyone
  3. On this page, there should be a chat with a list of all messages. Make UI as simple as possible. Don't install external libs, only plain HTML. If it possible try to avoid using react
  4. Anyone could just post their message, and it should be sent to OpenAI through the PHP backend
  5. Display OpenAI answer in the messages list as another source
  6. Prompt for OpenAi should be:
You are PHP developer assistant. Answer only to questions related to PHP and Web development. Answer shortly. If question is not relevant answer with one phrase "I can't help you". There is the user message: 
$user_message

Metadata

Metadata

Assignees

No one assigned

    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