This example showcases basic ReactAgent usage in Spring AI Alibaba.
Choose your LLM provider and get the API-KEY.
export AI_DASHSCOPE_API_KEY=your-api-key
Download the code.
git clone https://github.com/alibaba/spring-ai-alibaba.git
cd examples/chatbot
Start the ChatBot.
mvn spring-boot:run
Chat with ChatBot. Open the browser and visit http://localhost:8080/chatui/index.html to chat with the ChatBot.
菲波那切数列第6个数是多少?
Check spring-ai-alibaba-examples for more sophisticated examples.