StampyAI / stampy-chat

Conversational chatbot to answer questions about AI Safety & Alignment based on information retrieved from the Alignment Research Dataset
https://chat.stampy.ai
MIT License
12 stars 5 forks source link

Suggest Human-Authored Follow-Up Questions #16

Closed FraserLee closed 1 year ago

FraserLee commented 1 year ago

As mentioned on the call, if there's a good follow-up question in the Stampy database, we should suggest the user ask it.

-- Things that need to be decided --

Format of the question:

Format of the answer:

Etc:

plexish commented 1 year ago

quick takes on some of these:

do we suggest one follow-up? multiple?

weak probably, when they fit?

do we rephrase existing database questions to sound more appropriate as a followup?

probably no?

do we always suggest something, or only when it feels right in conversation?

test and see whether it feels jarring more than very rarely

do we link externally to stampy, or reply with the answer in-chat?

in chat, for sure.

how do we visually differentiate chatbot and authored content?

maybe at the bottom have some little note, or have a slight colour difference or something?

FraserLee commented 1 year ago

I'm going to work on this next. If anyone has a better place to look lmk, otherwise I'm just going to start at https://github.com/StampyAI/stampy-ui/blob/master/app/routes/questions/add.tsx#LL7C1-L14C2 and use the stampy codebase as a reference.

FraserLee commented 1 year ago
Screenshot_2023-06-02_at_12 28 17_AM
FraserLee commented 1 year ago

I feel like https://github.com/StampyAI/stampy-ui/blob/master/app/server-utils/stampy.ts#L243-L252 is the function we need to expose via an API.

ccstan99 commented 1 year ago

I feel like https://github.com/StampyAI/stampy-ui/blob/master/app/server-utils/stampy.ts#L243-L252 is the function we need to expose via an API.

@Aprillion @mruwnik Thoughts on how you like to respond to the comment above?

Aprillion commented 1 year ago

@FraserLee luckily, that one is exposed via API, using page id -> e.g. https://aisafety.info/questions/8486

endpoint source code in https://github.com/StampyAI/stampy-ui/blob/master/app/routes/questions/%24question.tsx#L15-L39