Earn 135,000 ($1,350.00)
Create an open source UI SDK for OpenAI Assistants API
Bounty Description
Problem Description
The UI SDK should simplify the process of integrating OpenAI Assistants API into applications, enabling developers to create intelligent, personalized assistants with ease. This kit would make it easy for a developer to drop in an Assistant within an existing application.
Acceptance Criteria
The UI kit should provide a set of reusable components and templates for building chat interfaces, input fields, buttons, and other elements required for creating AI-powered assistants. It's likely best to reuse Shadcn for the underlying UI kit, but then build patterns specific to the Assistant.
Technical Details
Should be React/Nextjs
Should support edge functionality
Should be easily used on Vercel
Should support streaming
An Assistant, in this context, represents a purpose-built AI that uses OpenAI's models, can access files, maintain persistent threads, and call tools.
Thread management: The SDK should facilitate creating and managing threads for user conversations, allowing developers to easily initiate and maintain separate threads for different users
Message handling: The SDK should support adding user messages to threads and displaying assistant responses. Assistant and user messages should be visually differentiated. This includes handling text input, displaying conversation history, and updating the UI with new messages from the assistant.
Run management: The SDK should provide a simple way to create and manage runs, allowing developers to trigger assistant responses and monitor the status of ongoing runs. Display UI states for thinking/retrieving/function calling.