Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Create a documentation page about how to build a discord bot against our inference backend

Open yk opened this issue 1 year ago • 11 comments

  • analyze what the web-frontend is doing at the /chat route
  • translate that into instructions on how to potentially set up a discord bot

yk avatar Apr 05 '23 18:04 yk

can I work on this issue

shreesha345 avatar Apr 07 '23 03:04 shreesha345

@shreesha345 Sure! I have assigned you

olliestanley avatar Apr 08 '23 10:04 olliestanley

thank you I will do that

shreesha345 avatar Apr 08 '23 12:04 shreesha345

Now I am confused with some things like where is the Chat response coming from or is there any api?

shreesha345 avatar Apr 08 '23 12:04 shreesha345

The inference backend code (Python/FastAPI) being called by the frontend can be found here. I'm not sure if we have API docs deployed anywhere at the moment

olliestanley avatar Apr 08 '23 12:04 olliestanley

ok let me check that out

shreesha345 avatar Apr 08 '23 14:04 shreesha345

hi @shreesha345 do you have updates on this?

yk avatar Apr 23 '23 16:04 yk

Yes I am working on the api provides by huggingface so that it will be easy to integrate to discord

shreesha345 avatar Apr 24 '23 04:04 shreesha345

Because I have no clue of the api infrastructure which you provided me so I am using huggingface

shreesha345 avatar Apr 24 '23 04:04 shreesha345

I'm going to try get inference api docs extracted into docs at some stage in next couple of days in case might help. Need to do it anyway.

andrewm4894 avatar Apr 24 '23 08:04 andrewm4894

Ok will try to understand the code routes of fastapi which he as provided and I will try to make that changes to the discord bot

shreesha345 avatar Apr 24 '23 08:04 shreesha345

Hi,

@shreesha345 I found the hosted API description here: https://projects.laion.ai/Open-Assistant/api

wirthual avatar Jun 01 '23 22:06 wirthual

@wirthual thanks man I really wanted this one

shreesha345 avatar Jun 03 '23 01:06 shreesha345