README.md 952 B

ReAct Agent Example

This example showcases basic ReactAgent usage in Spring AI Alibaba.

Quick Start

Prerequisites

  • Requires JDK 17+.
  • Choose your LLM provider and get the API-KEY.

    export AI_DASHSCOPE_API_KEY=your-api-key
    

Run the ChatBot

  1. Download the code.

    git clone https://github.com/alibaba/spring-ai-alibaba.git
    cd examples/chatbot
    
  2. Start the ChatBot.

    mvn spring-boot:run
    
  3. Chat with ChatBot. Open the browser and visit http://localhost:8080/chatui/index.html to chat with the ChatBot.

  4. 菲波那切数列第6个数是多少?

chatbot-ui

More Examples

Check spring-ai-alibaba-examples for more sophisticated examples.