openai / openai-assistants-quickstart

OpenAI Assistants API quickstart with Next.js.

Home Page:https://platform.openai.com/docs/assistants

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use mutliple assistant ids?

Unlok-Simon opened this issue · comments

This is more of a question than an issue.

Would it be possible to configure multiple Assistants IDs that could then be used by different chat components?

The use case we are looking at would replace the current landing page with the different examples with chats with different assistants.

We were thinking we could change the current assistant-config code to have an array of IDs which we then import into chat components

e.g. The assistant config array would contain (marketing, sales, support). The Marketing chat component would import the array and set the current assistantid = marketing etc....

Just wanted to check that this could work?

Thanks!