spring-ai
spring-ai copied to clipboard
Add support for Assistant OpenAi API
Expected Behavior
The feature should enable Spring AI to manage interactions with OpenAI's Assistant :
-
Managing Assistants: Provide API endpoints for creating, configuring, and managing instances of Assistants, allowing developers to tailor the behavior of these Assistants for specific tasks or user groups.
-
Threads Handling: Introduce functionality to manage conversation threads, enabling the application to handle ongoing dialogs, track conversation history, and maintain context across multiple interactions.
-
Messages Management: Offer methods to send and receive messages within a thread, including support for various message types such as text, images, and potentially complex interactive elements.
-
Files Processing: Enable the Assistant to process files submitted by users, such as documents for content extraction or images for analysis, and respond appropriately based on the content of these files.
-
Tools Integration:
- Code Interpreter
- Information Retrieval
- Function Calling
Current Behavior
Currently, there's no built-in support within Spring AI for Assistant open AI API. Developers are required to build custom solutions for handling threads, managing messages, and processing files, which increases complexity and development time
Context
The need for such features arises from the growing demand for sophisticated AI-powered interactions within applications. By providing developers with the tools to manage Assistants, threads, messages, files, and integrating advanced functionalities directly, Spring AI can significantly reduce the development complexity and enable more powerful and interactive applications.
+1, urgent and necessary.
Also applies to Azure OpenAI
+1, urgent and necessary.
+1
+1, urgent and necessary.
+1 urgent
+1, urgent and necessary.
+1, urgent and necessary.
Thanks for the votes. Will prioritize
+1, urgent and necessary.
very urgent, is there any ETA for final release of 1.0.0-RC1 ?
For people interested in this feature, I would recommend adding a "thumb up" to the issue description instead of commenting with "+1", reserving comments to discuss the feature implementation ideas and details. Thanks!
Currently, there is no access method for Assistant API provided in spring ai. So how do you implement multi-round dialogue? I plan to use ChatMemory to achieve