markboard-io / markboard

Wysiwyg markdown whiteboard for note-taking and building team knowledge base.
https://markboard.io
MIT License
190 stars 23 forks source link

Integrate ChatGPT API into markboard #12

Open shiqimei opened 1 year ago

shiqimei commented 1 year ago

Background

Since ChatGPT API has been released these days. We need to integrate ChatGPT into our product as soon as possible to chase the audience.

Details

  1. .env.example, .env. CHATGPT_API_KEY, CHATGPT_API_SECRET; process.env.HTTPS_PROXY
  2. Investigate whether ChatGPT session. create a session for each board.
  3. ChatGPTService
    chat(boardId: string, input: string): Promise<string>
  4. main.tsx Services.get('board') global.d.ts window
     window.Services = Services
raazseth commented 1 year ago

Can you assign me this issue? I think I can Integrate ChatGPT API into markboard @shiqimei @ccbond