Skip to content

OpenAI Assistant: Sync #271

@AkhileshNegi

Description

@AkhileshNegi

Is your feature request related to a problem? Please describe.
We’ve added a temporary table called openai_assistant to help Glific orgs that use the assistant and threads endpoints. This table stores things like the system prompt and temperature in one place so the response API can use them.

As we migrate these NGOs, we also need to make sure the system prompt and other settings stay up-to-date with the latest changes from OpenAI. These changes can currently be configured from either Glific or OpenAI, which makes it harder to keep them in sync

Describe the solution you'd like
Add a cron job to sync these assistants automatically.

Alternate
Expose a CRUD API so we can manage assistants directly in Glific and revoke their OpenAI access. That way there’s only one place to update the assistants.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions