SchnapsterDog/nuxt-chatgpt

It may need a global agent

evanlong0803 opened this issue · 2 comments

It may need a global agent

I agree.

We need to establish some context for the bot. We need a system role so we can keep the bot between its bounds (guardrails) and then a user and assistant role to help fine-tune the responses.

See this for an example: https://github.com/vueschool/ai-chatbot-course/blob/boilerplate/agents/customerSupportAgent.ts

@dosstx Now this is available through chatCompletion function.