# function-call **Repository Path**: no_pop/function-call ## Basic Information - **Project Name**: function-call - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-06 - **Last Updated**: 2025-09-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AIChatAgent AIChatAgent is a Spring Boot application that demonstrates a simple chat functionality with function calling capabilities using the SiliconFlow API. ## Prerequisites - Java 11 or higher - Maven ## Setup 1. Clone the repository: ```bash git clone ``` 2. Navigate to the project directory: ```bash cd AIChatAgent ``` 3. Build the project using Maven: ```bash mvn clean install ``` ## Running the Application 1. Start the Spring Boot application: ```bash mvn spring-boot:run ``` 2. Access the chat endpoint: Open your browser and go to `http://localhost:8080/chat?message=YourMessageHere` ## Function Calling The application includes a basic logic to determine when to call an external function. For example, if the message contains the word "weather", it simulates a function call to retrieve weather information. ## Future Enhancements - Integrate the SiliconFlow API for actual function calling. - Enhance the logic to support more complex function calling scenarios. ## License This project is licensed under the MIT License.