bifrostlab / llm-assist-prompts

Prompts library for LLM Assist bot
1 stars 1 forks source link

Provide instruction on how to deal with maintaining memory #2

Open nqngo opened 9 months ago

nqngo commented 9 months ago

Research and provide instruction on how to maintain chat memory per user, aka ChatGPT style QA.

Asking a one-shot question is fine to start, but to improve the user experience, it is important we need to know the exact method of dealing with memory context.

dacphuc1993 commented 8 months ago

I wrote a IPython notebook to give a quickstart about OpenAI Assistant API: https://gist.github.com/dacphuc1993/0137eedf539bcabc8b14abe708aae936

This API allows developers to create a thread and maintain a conversation with user. It also have retrieval tools to parse document files (pdf, docx, ...) and let Assistant access them.

The official API docs: https://platform.openai.com/docs/assistants/overview