Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Assistant OpenAi API #506

Open
KaisNeffati opened this issue Mar 24, 2024 · 18 comments
Open

Add support for Assistant OpenAi API #506

KaisNeffati opened this issue Mar 24, 2024 · 18 comments

Comments

@KaisNeffati
Copy link

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.

@cikichen
Copy link

+1, urgent and necessary.

@jochenchrist
Copy link

Also applies to Azure OpenAI

@bharatproductexpert
Copy link

+1, urgent and necessary.

@meletis
Copy link

meletis commented Jun 27, 2024

+1

@andresssantos
Copy link

+1, urgent and necessary.

@Ashakibp
Copy link

Ashakibp commented Jul 2, 2024

+1 urgent

@evelzi
Copy link

evelzi commented Jul 3, 2024

+1, urgent and necessary.

1 similar comment
@Mr-LiuDC
Copy link

Mr-LiuDC commented Jul 9, 2024

+1, urgent and necessary.

@markpollack
Copy link
Member

Thanks for the votes. Will prioritize

@markpollack markpollack added this to the 1.0.0-RC1 milestone Jul 22, 2024
@Alio-Kh
Copy link

Alio-Kh commented Aug 8, 2024

+1, urgent and necessary.

@mettbest
Copy link

mettbest commented Aug 9, 2024

very urgent, is there any ETA for final release of 1.0.0-RC1 ?

@ThomasVitale
Copy link
Contributor

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!

@hedaoming
Copy link

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

@csterwa csterwa removed this from the 1.0.0-RC1 milestone Sep 10, 2024
@olixva
Copy link

olixva commented Sep 23, 2024

+1 urgent, any news?

@donnior
Copy link

donnior commented Oct 9, 2024

+1, urgent and necessary.

@cblume
Copy link

cblume commented Oct 18, 2024

+1, urgent and necessary

@humanry
Copy link

humanry commented Oct 18, 2024

+1

1 similar comment
@hb12devtn
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests