Open YrrepNoj opened 4 months ago
When a POST https://api.openai.com/v1/threads/{thread_id}/runs request is made, a {RUN_OBJECT} is created and stored in our database.
POST https://api.openai.com/v1/threads/{thread_id}/runs
{RUN_OBJECT}
We need to have Business Logic that executes the {RUN_OBJECT}.
It make sense to have a queue manage the new {RUN_OBJECT}
It might make sense to just spawn off a thread in the API pod that performs the {RUN_OBJECT} business logic on the spot.
[ ] Investigate if https://supabase.com/docs/guides/realtime can solve this for us.
Might be able to use Supabase Realtime to address this: https://supabase.com/docs/guides/realtime
Blocked by #968
User Story
When a
POST https://api.openai.com/v1/threads/{thread_id}/runs
request is made, a{RUN_OBJECT}
is created and stored in our database.We need to have Business Logic that executes the
{RUN_OBJECT}
.It make sense to have a queue manage the new
{RUN_OBJECT}
It might make sense to just spawn off a thread in the API pod that performs the
{RUN_OBJECT}
business logic on the spot.[ ] Investigate if https://supabase.com/docs/guides/realtime can solve this for us.