├── spring-ai-ollama-prompt ├── src │ ├── test │ │ ├── resources │ │ │ └── prompts │ │ │ │ ├── prompt_2.txt │ │ │ │ └── kuakua-prompt.st │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-ai-sensenova ├── README.md ├── .mvn │ └── wrapper │ │ └── maven-wrapper.properties └── src │ ├── test │ └── java │ │ └── com │ │ └── github │ │ └── hiwepy │ │ └── zhipuai │ │ └── SpringAiZhipuAiApplicationTests.java │ └── main │ └── java │ └── com │ └── github │ └── hiwepy │ └── zhipuai │ └── SpringAiZhipuAiApplication.java ├── .qoderignore ├── spring-ai-ollama-audio-edgetts ├── src │ ├── test │ │ ├── resources │ │ │ └── prompts │ │ │ │ └── prompt_2.txt │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ ├── api │ │ └── common │ │ │ └── OllamaApiException.java │ │ ├── WebConfig.java │ │ └── metadata │ │ └── audio │ │ └── EdgeTtsAudioSpeechMetadata.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-ai-qianfan ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── baidu │ │ │ └── qianfan │ │ │ ├── agent │ │ │ └── Todo.java │ │ │ ├── rag │ │ │ └── Todo.java │ │ │ └── finetune │ │ │ └── Todo.java │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── baidu │ │ └── qianfan │ │ └── SpringAiBaiduAiQianfanApplicationTests.java ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-ai-huaweiai-gallery ├── src │ ├── main │ │ └── resources │ │ │ └── application.properties │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ └── SpringAiGemmaApplicationTests.java ├── README.md ├── 华为-AI应用开发SDK使用指南.docx ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-ai-ollama-chat ├── models.png ├── ollama_chat_api.png ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ ├── mapper │ │ │ └── ChatMessageMapper.java │ │ │ ├── service │ │ │ ├── IChatMessageService.java │ │ │ └── impl │ │ │ │ └── ChatMessageServiceImpl.java │ │ │ ├── SpringAiOllamaApplication.java │ │ │ └── config │ │ │ └── WebConfig.java │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ └── SpringAiOllamaApplicationTests.java └── .gitignore ├── spring-ai-ollama-vision ├── models.png ├── phi-4.png ├── deepseek-r1.png ├── ollama_chat_api.png ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── config │ │ └── WebConfig.java └── .gitignore ├── spring-ai-qwen ├── README.md ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── qwen │ │ │ ├── rag │ │ │ └── Todo.java │ │ │ ├── agent │ │ │ └── Todo.java │ │ │ ├── finetune │ │ │ └── Todo.java │ │ │ └── SpringAiQwenApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── qwen │ │ └── SpringAiQwenApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-ai-mistralai ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ └── resources │ │ │ └── application.properties │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ └── SpringAiOllamaApplicationTests.java └── .gitignore ├── spring-ai-ollama-embedding ├── models.png ├── src │ ├── test │ │ ├── resources │ │ │ └── llama2.pdf │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-ai-ollama-generation ├── models.png ├── phi-4.png ├── deepseek-r1.png ├── ollama_chat_api.png ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── run-tests.sh ├── .gitignore └── src │ ├── main │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── config │ │ └── WebConfig.java │ └── test │ └── resources │ └── application-test.properties ├── spring-ai-openai ├── README.md ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── openai │ │ │ ├── agent │ │ │ └── Todo.java │ │ │ ├── rag │ │ │ └── Todo.java │ │ │ ├── finetune │ │ │ └── Todo.java │ │ │ ├── controller │ │ │ └── ImageGenRequest.java │ │ │ ├── SpringAiOpenAiApplication.java │ │ │ ├── service │ │ │ └── MockWeatherService.java │ │ │ └── config │ │ │ └── Config.java │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ └── SpringAiGemmaApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-ai-amazon-bedrock ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── amazon │ │ │ └── bedrock │ │ │ ├── rag │ │ │ └── Todo.java │ │ │ ├── agent │ │ │ └── Todo.java │ │ │ ├── finetune │ │ │ └── Todo.java │ │ │ └── SpringAiAmazonBedrockApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── azure │ │ └── openai │ │ └── SpringAiAzureOpenaiApplicationTests.java └── .gitignore ├── spring-ai-azure-openai ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── azure │ │ │ └── openai │ │ │ ├── rag │ │ │ └── Todo.java │ │ │ ├── agent │ │ │ └── Todo.java │ │ │ └── finetune │ │ │ └── Todo.java │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── azure │ │ └── openai │ │ └── SpringAiAzureOpenaiApplicationTests.java └── .gitignore ├── spring-ai-coze ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── qwen │ │ │ ├── rag │ │ │ └── Todo.java │ │ │ ├── agent │ │ │ └── Todo.java │ │ │ ├── finetune │ │ │ └── Todo.java │ │ │ └── SpringAiQwenApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── qwen │ │ └── SpringAiQwenApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-ai-huaweiai-pangu ├── README.md ├── 华为-AI应用开发SDK使用指南.docx ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── hiwepy │ │ │ └── huaweiai │ │ │ └── pangu │ │ │ └── SpringAiHuaweiAiPanguApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiGemmaApplicationTests.java │ │ └── SpringAiHuaweiAiPanguApplicationTests.java └── .gitignore ├── spring-ai-huggingface ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ └── resources │ │ │ └── application.properties │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── hiwepy │ │ └── huggingface │ │ └── SpringAiHuggingfaceApplicationTests.java └── .gitignore ├── spring-ai-moonshotai ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── moonshotai │ │ │ └── SpringAiMoonshotAiApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── moonshotai │ │ └── SpringAiMoonshotAiApplicationTests.java └── .gitignore ├── spring-ai-stabilityai ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ └── resources │ │ │ └── application.properties │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── stabilityai │ │ └── SpringAiStabilityAiApplicationTests.java └── .gitignore ├── spring-ai-oci-genai-cohere ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── hiwepy │ │ │ └── ocigenai │ │ │ ├── aisql │ │ │ └── Answer.java │ │ │ ├── exception │ │ │ ├── SqlGenerationException.java │ │ │ └── SqlGenerationExceptionHandler.java │ │ │ └── SpringAiVertexAiApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ └── SpringAiZhipuAiApplicationTests.java └── .gitignore ├── spring-ai-ollama-audio-emoti ├── ChatTTS-ui.png ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ ├── api │ │ ├── common │ │ │ └── OllamaApiException.java │ │ └── ApiUtils.java │ │ ├── WebConfig.java │ │ └── audio │ │ └── transcription │ │ └── AudioTranscriptionMetadata.java └── .gitignore ├── spring-ai-ollama-rag-chroma ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-gemfire ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-mariadb ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-milvus ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-mongodb ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-neo4j ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-oracle ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-pgvector ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-pinecone ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-qdrant ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-redis ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-weaviate ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-tools ├── function_calling.png ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-sql ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── github │ │ │ │ └── teachingai │ │ │ │ └── aisql │ │ │ │ ├── exception │ │ │ │ ├── SqlGenerationException.java │ │ │ │ └── SqlGenerationExceptionHandler.java │ │ │ │ └── AiSqlApplication.java │ │ └── resources │ │ │ ├── application.properties │ │ │ ├── sql-prompt-template.st │ │ │ └── schema.sql │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── aisql │ │ └── AiSqlApplicationTests.java └── .gitignore ├── spring-ai-vertexai-gemini ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── hiwepy │ │ │ └── vertexai │ │ │ ├── aisql │ │ │ └── Answer.java │ │ │ └── exception │ │ │ ├── SqlGenerationException.java │ │ │ └── SqlGenerationExceptionHandler.java │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ └── SpringAiZhipuAiApplicationTests.java └── .gitignore ├── spring-ai-ollama-audio-chattts ├── ChatTTS-ui.png ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ ├── api │ │ └── common │ │ │ └── OllamaApiException.java │ │ ├── WebConfig.java │ │ └── metadata │ │ └── audio │ │ └── ChatTtsAudioSpeechMetadata.java └── .gitignore ├── spring-ai-ollama-rag-couchbase ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-elasticsearch ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-opensearch ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-rag-typesense ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-deepseek ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── zhipuai │ │ │ └── SpringAiDeepSeekApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── deepseek │ │ └── SpringAiDeepSeekApplication.java └── .gitignore ├── spring-ai-minimax ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── zhipuai │ │ │ ├── ZhipuAIPrompt1.java │ │ │ └── SpringAiZhipuAiApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── zhipuai │ │ └── SpringAiZhipuAiApplication.java └── .gitignore ├── spring-ai-ollama-audio-unifiedtts ├── unifiedtts.png ├── .mvn │ └── wrapper │ │ └── maven-wrapper.properties └── src │ ├── test │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ ├── resources │ └── application.properties │ └── java │ └── com │ └── github │ └── teachingai │ └── ollama │ ├── SpringAiOllamaApplication.java │ └── audio │ └── UnifiedTtsAudioSpeechMetadata.java ├── spring-ai-ollama-observation-langfuse ├── README.md ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-zhipuai ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── zhipuai │ │ │ ├── ZhipuAIPrompt1.java │ │ │ └── SpringAiZhipuAiApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── zhipuai │ │ └── SpringAiZhipuAiApplication.java └── .gitignore ├── spring-ai-anthropic ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── anthropic │ │ │ └── SpringAiAnthropicApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── anthropic │ │ └── SpringAiAnthropicApplication.java └── .gitignore ├── spring-ai-postgresml ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── postgresml │ │ └── SpringAiPostgresMLApplication.java └── .gitignore ├── spring-ai-watsonxai ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── hiwepy │ │ │ └── zhipuai │ │ │ └── SpringAiZhipuAiApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── hiwepy │ │ └── zhipuai │ │ └── SpringAiZhipuAiApplication.java └── .gitignore ├── spring-ai-llmsfreeapi ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── hiwepy │ │ │ └── llmsfreeapi │ │ │ └── SpringAiLlmsFreeApiApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── hiwepy │ │ └── llmsfreeapi │ │ └── SpringAiLlmsFreeApiApplication.java └── .gitignore ├── spring-ai-ollama-agents ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-audio-mars5tts ├── MARS5_Architecture.png ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ ├── api │ │ └── common │ │ │ └── OllamaApiException.java │ │ ├── WebConfig.java │ │ └── metadata │ │ └── audio │ │ └── ChatTtsAudioSpeechMetadata.java └── .gitignore ├── spring-ai-ollama-fine-tuning ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-audio-whisper ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ ├── api │ │ ├── common │ │ │ └── OllamaApiException.java │ │ └── ApiUtils.java │ │ ├── WebConfig.java │ │ └── audio │ │ ├── ChatTtsAudioSpeechMetadata.java │ │ └── transcription │ │ └── AudioTranscriptionMetadata.java └── .gitignore ├── spring-ai-ollama-rag-cassandra ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-ollama-mcp-webflux-client ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── zhipuai │ │ │ ├── ZhipuAIPrompt1.java │ │ │ └── SpringAiZhipuAiApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── zhipuai │ │ └── SpringAiZhipuAiApplication.java └── .gitignore ├── spring-ai-ollama-mcp-webflux-server ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── zhipuai │ │ │ ├── ZhipuAIPrompt1.java │ │ │ └── SpringAiZhipuAiApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── zhipuai │ │ └── SpringAiZhipuAiApplication.java └── .gitignore ├── spring-ai-ollama-mcp-webmvc-client ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── zhipuai │ │ │ ├── ZhipuAIPrompt1.java │ │ │ └── SpringAiZhipuAiApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── zhipuai │ │ └── SpringAiZhipuAiApplication.java └── .gitignore ├── spring-ai-ollama-mcp-webmvc-server ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── zhipuai │ │ │ ├── ZhipuAIPrompt1.java │ │ │ └── SpringAiZhipuAiApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── zhipuai │ │ └── SpringAiZhipuAiApplication.java └── .gitignore ├── spring-ai-ollama-observation-prometheus ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── teachingai │ │ │ └── ollama │ │ │ └── SpringAiOllamaApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── github │ │ └── teachingai │ │ └── ollama │ │ ├── SpringAiOllamaApplication.java │ │ └── WebConfig.java └── .gitignore ├── spring-ai-stepfun └── src │ └── main │ └── java │ └── com │ └── github │ └── hiwepy │ └── stepfun │ └── SpringStepFunAiApplication.java └── .gitignore /spring-ai-ollama-prompt/src/test/resources/prompts/prompt_2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-ai-sensenova/README.md: -------------------------------------------------------------------------------- 1 | ## 商汤日日新系列大模型 与 Spring AI 整合示例 2 | -------------------------------------------------------------------------------- /.qoderignore: -------------------------------------------------------------------------------- 1 | # 指定在索引时要忽略的文件或文件夹。请使用逗号分隔条目,支持 my-security/ 和 *.log 等通配符模式。 -------------------------------------------------------------------------------- /spring-ai-ollama-audio-edgetts/src/test/resources/prompts/prompt_2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-ai-qianfan/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.ai.ollama.chat.options.model=gemma:2b 2 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-gallery/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.ai.ollama.chat.options.model=gemma:2b 2 | -------------------------------------------------------------------------------- /spring-ai-ollama-chat/models.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-chat/models.png -------------------------------------------------------------------------------- /spring-ai-ollama-vision/models.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-vision/models.png -------------------------------------------------------------------------------- /spring-ai-ollama-vision/phi-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-vision/phi-4.png -------------------------------------------------------------------------------- /spring-ai-qwen/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-mistralai/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-embedding/models.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-embedding/models.png -------------------------------------------------------------------------------- /spring-ai-ollama-generation/models.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-generation/models.png -------------------------------------------------------------------------------- /spring-ai-ollama-generation/phi-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-generation/phi-4.png -------------------------------------------------------------------------------- /spring-ai-ollama-vision/deepseek-r1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-vision/deepseek-r1.png -------------------------------------------------------------------------------- /spring-ai-openai/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-qianfan/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-amazon-bedrock/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-azure-openai/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-coze/src/main/java/com/github/teachingai/qwen/rag/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.qwen.rag; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-pangu/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-huggingface/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-moonshotai/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-chat/ollama_chat_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-chat/ollama_chat_api.png -------------------------------------------------------------------------------- /spring-ai-qwen/src/main/java/com/github/teachingai/qwen/rag/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.qwen.rag; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-stabilityai/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-coze/src/main/java/com/github/teachingai/qwen/agent/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.qwen.agent; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-gallery/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-oci-genai-cohere/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-emoti/ChatTTS-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-audio-emoti/ChatTTS-ui.png -------------------------------------------------------------------------------- /spring-ai-ollama-generation/deepseek-r1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-generation/deepseek-r1.png -------------------------------------------------------------------------------- /spring-ai-ollama-rag-chroma/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-gemfire/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mariadb/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-milvus/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mongodb/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-neo4j/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-oracle/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pgvector/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pinecone/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-qdrant/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-redis/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-weaviate/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-tools/function_calling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-tools/function_calling.png -------------------------------------------------------------------------------- /spring-ai-ollama-vision/ollama_chat_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-vision/ollama_chat_api.png -------------------------------------------------------------------------------- /spring-ai-qwen/src/main/java/com/github/teachingai/qwen/agent/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.qwen.agent; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-sql/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-sql/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-vertexai-gemini/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-coze/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-coze/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-coze/src/main/java/com/github/teachingai/qwen/finetune/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.qwen.finetune; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-pangu/华为-AI应用开发SDK使用指南.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-huaweiai-pangu/华为-AI应用开发SDK使用指南.docx -------------------------------------------------------------------------------- /spring-ai-ollama-audio-chattts/ChatTTS-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-audio-chattts/ChatTTS-ui.png -------------------------------------------------------------------------------- /spring-ai-ollama-rag-couchbase/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-elasticsearch/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-opensearch/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-typesense/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-openai/src/main/java/com/github/teachingai/openai/agent/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.openai.agent; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-openai/src/main/java/com/github/teachingai/openai/rag/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.openai.rag; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-qwen/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-qwen/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-qwen/src/main/java/com/github/teachingai/qwen/finetune/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.qwen.finetune; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-deepseek/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-deepseek/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-huaweiai-gallery/华为-AI应用开发SDK使用指南.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-huaweiai-gallery/华为-AI应用开发SDK使用指南.docx -------------------------------------------------------------------------------- /spring-ai-minimax/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-minimax/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-audio-unifiedtts/unifiedtts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-audio-unifiedtts/unifiedtts.png -------------------------------------------------------------------------------- /spring-ai-ollama-generation/ollama_chat_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-generation/ollama_chat_api.png -------------------------------------------------------------------------------- /spring-ai-ollama-observation-langfuse/README.md: -------------------------------------------------------------------------------- 1 | IMPORTANT: For this to work, you'll need to install [Ollama](https://ollama.com/) and 2 | the Gemma:2b model. 3 | -------------------------------------------------------------------------------- /spring-ai-openai/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-openai/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-qianfan/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-qianfan/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-zhipuai/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-zhipuai/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-anthropic/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-anthropic/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-mistralai/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-mistralai/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-moonshotai/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-moonshotai/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-openai/src/main/java/com/github/teachingai/openai/finetune/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.openai.finetune; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-postgresml/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-postgresml/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-watsonxai/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-watsonxai/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-azure-openai/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-azure-openai/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-azure-openai/src/main/java/com/github/teachingai/azure/openai/rag/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.azure.openai.rag; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-huggingface/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-huggingface/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-llmsfreeapi/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-llmsfreeapi/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-agents/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-agents/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-audio-mars5tts/MARS5_Architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-audio-mars5tts/MARS5_Architecture.png -------------------------------------------------------------------------------- /spring-ai-ollama-chat/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-chat/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-prompt/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-prompt/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-tools/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-tools/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-vision/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-vision/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-qianfan/src/main/java/com/github/teachingai/baidu/qianfan/agent/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.baidu.qianfan.agent; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-qianfan/src/main/java/com/github/teachingai/baidu/qianfan/rag/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.baidu.qianfan.rag; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-stabilityai/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-stabilityai/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-amazon-bedrock/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-amazon-bedrock/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-amazon-bedrock/src/main/java/com/github/teachingai/amazon/bedrock/rag/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.amazon.bedrock.rag; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-azure-openai/src/main/java/com/github/teachingai/azure/openai/agent/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.azure.openai.agent; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-pangu/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-huaweiai-pangu/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-embedding/src/test/resources/llama2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-embedding/src/test/resources/llama2.pdf -------------------------------------------------------------------------------- /spring-ai-vertexai-gemini/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-vertexai-gemini/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-amazon-bedrock/src/main/java/com/github/teachingai/amazon/bedrock/agent/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.amazon.bedrock.agent; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-azure-openai/src/main/java/com/github/teachingai/azure/openai/finetune/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.azure.openai.finetune; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-gallery/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-huaweiai-gallery/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-oci-genai-cohere/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-oci-genai-cohere/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-audio-emoti/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-audio-emoti/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-embedding/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-embedding/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-fine-tuning/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-fine-tuning/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-generation/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-generation/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-chroma/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-chroma/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-gemfire/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-gemfire/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mariadb/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-mariadb/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-milvus/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-milvus/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mongodb/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-mongodb/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-neo4j/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-neo4j/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-oracle/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-oracle/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-qdrant/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-qdrant/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-redis/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-redis/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-qianfan/src/main/java/com/github/teachingai/baidu/qianfan/finetune/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.baidu.qianfan.finetune; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-amazon-bedrock/src/main/java/com/github/teachingai/amazon/bedrock/finetune/Todo.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.amazon.bedrock.finetune; 2 | 3 | public class Todo { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-chattts/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-audio-chattts/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-audio-edgetts/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-audio-edgetts/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-audio-whisper/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-audio-whisper/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-cassandra/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-cassandra/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-couchbase/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-couchbase/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pgvector/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-pgvector/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pinecone/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-pinecone/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-typesense/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-typesense/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-weaviate/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-weaviate/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-audio-mars5tts/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-audio-mars5tts/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-chat/src/main/java/com/github/teachingai/ollama/mapper/ChatMessageMapper.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.mapper; 2 | 3 | public class ChatMessageMapper { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-opensearch/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-opensearch/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-client/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-mcp-webflux-client/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-server/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-mcp-webflux-server/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-client/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-mcp-webmvc-client/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-server/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-mcp-webmvc-server/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-rag-elasticsearch/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-rag-elasticsearch/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-observation-langfuse/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-observation-langfuse/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-ollama-observation-prometheus/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachingai/spring-ai-examples/HEAD/spring-ai-ollama-observation-prometheus/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-ai-openai/src/main/java/com/github/teachingai/openai/controller/ImageGenRequest.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.openai.controller; 2 | 3 | public record ImageGenRequest(String prompt) { 4 | } 5 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-unifiedtts/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | wrapperVersion=3.3.4 2 | distributionType=only-script 3 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip 4 | -------------------------------------------------------------------------------- /spring-ai-ollama-chat/src/main/java/com/github/teachingai/ollama/service/IChatMessageService.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.service; 2 | 3 | /** 4 | * Chat Message Service 5 | */ 6 | public interface IChatMessageService { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /spring-ai-oci-genai-cohere/src/main/java/com/github/hiwepy/ocigenai/aisql/Answer.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.ocigenai.aisql; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public record Answer(String sqlQuery, List> results) { } 7 | -------------------------------------------------------------------------------- /spring-ai-vertexai-gemini/src/main/java/com/github/hiwepy/vertexai/aisql/Answer.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.vertexai.aisql; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public record Answer(String sqlQuery, List> results) { } 7 | -------------------------------------------------------------------------------- /spring-ai-coze/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-qwen/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-sql/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-stabilityai/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.ai.ollama.base-url=http://localhost:11434 2 | # Ollama \u652F\u6301\u7684\u6A21\u578B\uFF1Allama2-chinese, llama2-english, llama2-japanese, llama2-korean 3 | spring.ai.ollama.chat.options.model=llama2-chinese:7b-chat-q4_0 -------------------------------------------------------------------------------- /spring-ai-anthropic/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-deepseek/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-minimax/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-mistralai/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-openai/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-qianfan/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-sensenova/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-watsonxai/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-zhipuai/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-amazon-bedrock/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-azure-openai/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-pangu/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-huggingface/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-llmsfreeapi/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-moonshotai/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-agents/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-chat/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-prompt/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-tools/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-vision/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-postgresml/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-stabilityai/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-gallery/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-huggingface/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | # Ollama \u652F\u6301\u7684\u6A21\u578B\uFF1Allama2-chinese, llama2-english, llama2-japanese, llama2-korean 3 | spring.ai.huggingface.chat.url=http://localhost:11434 4 | spring.ai.huggingface.chat.api-key=llama2-chinese:7b-chat-q4_0 5 | -------------------------------------------------------------------------------- /spring-ai-oci-genai-cohere/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-emoti/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-embedding/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-fine-tuning/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-generation/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-chroma/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-gemfire/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mariadb/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-milvus/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mongodb/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-neo4j/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-oracle/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pgvector/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pinecone/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-qdrant/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-redis/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-weaviate/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-vertexai-gemini/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-chattts/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-edgetts/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-mars5tts/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-whisper/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-client/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-server/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-cassandra/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-couchbase/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-elasticsearch/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-opensearch/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-typesense/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-client/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-server/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-observation-langfuse/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-ollama-observation-prometheus/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 3 | -------------------------------------------------------------------------------- /spring-ai-sql/src/main/java/com/github/teachingai/aisql/exception/SqlGenerationException.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.aisql.exception; 2 | 3 | public class SqlGenerationException extends RuntimeException { 4 | public SqlGenerationException(String response) { 5 | super(response); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /spring-ai-minimax/src/test/java/com/github/teachingai/zhipuai/ZhipuAIPrompt1.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | 4 | import com.zhipu.oapi.ClientV4; 5 | 6 | public class ZhipuAIPrompt1 { 7 | 8 | ClientV4 client = new ClientV4.Builder("{Your ApiSecretKey}").build(); 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /spring-ai-zhipuai/src/test/java/com/github/teachingai/zhipuai/ZhipuAIPrompt1.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | 4 | import com.zhipu.oapi.ClientV4; 5 | 6 | public class ZhipuAIPrompt1 { 7 | 8 | ClientV4 client = new ClientV4.Builder("{Your ApiSecretKey}").build(); 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /spring-ai-vertexai-gemini/src/main/java/com/github/hiwepy/vertexai/exception/SqlGenerationException.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.vertexai.exception; 2 | 3 | public class SqlGenerationException extends RuntimeException { 4 | public SqlGenerationException(String response) { 5 | super(response); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /spring-ai-oci-genai-cohere/src/main/java/com/github/hiwepy/ocigenai/exception/SqlGenerationException.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.ocigenai.exception; 2 | 3 | public class SqlGenerationException extends RuntimeException { 4 | public SqlGenerationException(String response) { 5 | super(response); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-pangu/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # \u667A\u666EAI\u914D\u7F6E 2 | spring.ai.zhipuai.api-key=YOUR_API_KEY 3 | spring.ai.zhipuai.chat.enabled=true 4 | spring.ai.zhipuai.chat.options.model=glm-3-turbo 5 | spring.ai.zhipuai.embedding.enabled=true 6 | spring.ai.zhipuai.embedding.options.model=embedding-2 7 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-client/src/test/java/com/github/teachingai/zhipuai/ZhipuAIPrompt1.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | 4 | import com.zhipu.oapi.ClientV4; 5 | 6 | public class ZhipuAIPrompt1 { 7 | 8 | ClientV4 client = new ClientV4.Builder("{Your ApiSecretKey}").build(); 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-server/src/test/java/com/github/teachingai/zhipuai/ZhipuAIPrompt1.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | 4 | import com.zhipu.oapi.ClientV4; 5 | 6 | public class ZhipuAIPrompt1 { 7 | 8 | ClientV4 client = new ClientV4.Builder("{Your ApiSecretKey}").build(); 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-client/src/test/java/com/github/teachingai/zhipuai/ZhipuAIPrompt1.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | 4 | import com.zhipu.oapi.ClientV4; 5 | 6 | public class ZhipuAIPrompt1 { 7 | 8 | ClientV4 client = new ClientV4.Builder("{Your ApiSecretKey}").build(); 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-server/src/test/java/com/github/teachingai/zhipuai/ZhipuAIPrompt1.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | 4 | import com.zhipu.oapi.ClientV4; 5 | 6 | public class ZhipuAIPrompt1 { 7 | 8 | ClientV4 client = new ClientV4.Builder("{Your ApiSecretKey}").build(); 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /spring-ai-moonshotai/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Moonshot AI \u914D\u7F6E 2 | spring.ai.moonshotai.api-key=YOUR_API_KEY 3 | spring.ai.moonshotai.chat.enabled=true 4 | spring.ai.moonshotai.chat.options.model=moonshot-v1-8k 5 | spring.ai.moonshotai.embedding.enabled=true 6 | spring.ai.moonshotai.embedding.options.model=embedding-2 7 | -------------------------------------------------------------------------------- /spring-ai-mistralai/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.ai.ollama.base-url=http://localhost:11434 2 | # Ollama \u652F\u6301\u7684\u6A21\u578B\uFF1Allama2-chinese, llama2-english, llama2-japanese, llama2-korean 3 | spring.ai.ollama.chat.options.model=llama2-chinese:7b-chat-q4_0 4 | 5 | 6 | 7 | spring.ai.mistralai.chat.options.responseFormat=json -------------------------------------------------------------------------------- /spring-ai-sql/src/test/java/com/github/teachingai/aisql/AiSqlApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.aisql; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class AiSqlApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-coze/src/test/java/com/github/teachingai/qwen/SpringAiQwenApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.qwen; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiQwenApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-qwen/src/test/java/com/github/teachingai/qwen/SpringAiQwenApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.qwen; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiQwenApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-openai/src/test/java/com/github/teachingai/ollama/SpringAiGemmaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiGemmaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-sensenova/src/test/java/com/github/hiwepy/zhipuai/SpringAiZhipuAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.zhipuai; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiZhipuAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-watsonxai/src/test/java/com/github/hiwepy/zhipuai/SpringAiZhipuAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.zhipuai; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiZhipuAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-minimax/src/test/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiZhipuAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-mistralai/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-chat/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-postgresml/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-sql/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # OpenAI\u914D\u7F6E 2 | spring.ai.openai.api-key=${OPENAI_API_KEY} 3 | # \u667A\u666EAI\u914D\u7F6E 4 | spring.ai.zhipuai.api-key=YOUR_API_KEY 5 | spring.ai.zhipuai.chat.enabled=true 6 | spring.ai.zhipuai.chat.options.model=glm-3-turbo 7 | spring.ai.zhipuai.embedding.enabled=true 8 | spring.ai.zhipuai.embedding.options.model=embedding-2 9 | -------------------------------------------------------------------------------- /spring-ai-zhipuai/src/test/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiZhipuAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-deepseek/src/test/java/com/github/teachingai/zhipuai/SpringAiDeepSeekApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.zhipuai; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiDeepSeekApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-gallery/src/test/java/com/github/teachingai/ollama/SpringAiGemmaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiGemmaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-pangu/src/test/java/com/github/teachingai/ollama/SpringAiGemmaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiGemmaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-agents/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-embedding/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-prompt/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-neo4j/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-redis/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-tools/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-vision/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-anthropic/src/test/java/com/github/teachingai/anthropic/SpringAiAnthropicApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.anthropic; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiAnthropicApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-oci-genai-cohere/src/test/java/com/github/teachingai/ollama/SpringAiZhipuAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiZhipuAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-chattts/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-edgetts/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-emoti/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-mars5tts/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-whisper/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-fine-tuning/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-cassandra/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-chroma/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-couchbase/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-gemfire/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mariadb/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-milvus/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mongodb/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-opensearch/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-oracle/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pgvector/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pinecone/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-qdrant/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-typesense/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-weaviate/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-vertexai-gemini/src/test/java/com/github/teachingai/ollama/SpringAiZhipuAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiZhipuAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-huggingface/src/test/java/com/github/hiwepy/huggingface/SpringAiHuggingfaceApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.huggingface; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiHuggingfaceApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-llmsfreeapi/src/test/java/com/github/hiwepy/llmsfreeapi/SpringAiLlmsFreeApiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.llmsfreeapi; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiLlmsFreeApiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-moonshotai/src/test/java/com/github/teachingai/moonshotai/SpringAiMoonshotAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.moonshotai; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiMoonshotAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-generation/run-tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Spring AI Ollama Generation 测试运行脚本 4 | 5 | echo "开始运行 Spring AI Ollama Generation 测试..." 6 | 7 | # 检查是否在正确的目录 8 | if [ ! -f "pom.xml" ]; then 9 | echo "错误:请在项目根目录运行此脚本" 10 | exit 1 11 | fi 12 | 13 | # 运行测试 14 | echo "运行单元测试..." 15 | mvn test -Dtest=OllamaGenerationApiTest -Dspring.profiles.active=test 16 | 17 | echo "测试完成!" 18 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-elasticsearch/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-pangu/src/test/java/com/github/teachingai/ollama/SpringAiHuaweiAiPanguApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiHuaweiAiPanguApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-client/src/test/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiZhipuAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-server/src/test/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiZhipuAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-client/src/test/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiZhipuAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-server/src/test/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiZhipuAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-observation-langfuse/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-observation-prometheus/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiOllamaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-stabilityai/src/test/java/com/github/teachingai/stabilityai/SpringAiStabilityAiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.stabilityai; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiStabilityAiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-amazon-bedrock/src/test/java/com/github/teachingai/azure/openai/SpringAiAzureOpenaiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.azure.openai; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiAzureOpenaiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-azure-openai/src/test/java/com/github/teachingai/azure/openai/SpringAiAzureOpenaiApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.azure.openai; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiAzureOpenaiApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-qianfan/src/test/java/com/github/teachingai/baidu/qianfan/SpringAiBaiduAiQianfanApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.baidu.qianfan; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringAiBaiduAiQianfanApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-chat/src/main/java/com/github/teachingai/ollama/service/impl/ChatMessageServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.service.impl; 2 | 3 | import com.github.teachingai.ollama.service.IChatMessageService; 4 | import org.springframework.stereotype.Service; 5 | 6 | /** 7 | * Chat Message Service Implementation 8 | */ 9 | @Service 10 | public class ChatMessageServiceImpl implements IChatMessageService { 11 | 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-sql/src/main/java/com/github/teachingai/aisql/AiSqlApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.aisql; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class AiSqlApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(AiSqlApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-coze/src/main/java/com/github/teachingai/qwen/SpringAiQwenApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.qwen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiQwenApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiQwenApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-qwen/src/main/java/com/github/teachingai/qwen/SpringAiQwenApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.qwen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiQwenApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiQwenApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-openai/src/main/java/com/github/teachingai/openai/SpringAiOpenAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.openai; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOpenAiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOpenAiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-sensenova/src/main/java/com/github/hiwepy/zhipuai/SpringAiZhipuAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.zhipuai; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiZhipuAiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiZhipuAiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-watsonxai/src/main/java/com/github/hiwepy/zhipuai/SpringAiZhipuAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.zhipuai; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiZhipuAiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiZhipuAiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-minimax/src/main/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.zhipuai; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiZhipuAiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiZhipuAiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-agents/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-chat/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-prompt/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-tools/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-vision/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-zhipuai/src/main/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.zhipuai; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiZhipuAiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiZhipuAiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-deepseek/src/main/java/com/github/teachingai/deepseek/SpringAiDeepSeekApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.deepseek; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiDeepSeekApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiDeepSeekApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-oci-genai-cohere/src/main/java/com/github/hiwepy/ocigenai/SpringAiVertexAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.ocigenai; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiVertexAiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiVertexAiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-emoti/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-embedding/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-fine-tuning/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-chroma/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-gemfire/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mariadb/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-milvus/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mongodb/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-neo4j/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-oracle/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pgvector/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pinecone/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-qdrant/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-redis/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-weaviate/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-anthropic/src/main/java/com/github/teachingai/anthropic/SpringAiAnthropicApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.anthropic; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiAnthropicApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiAnthropicApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-chattts/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-edgetts/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-mars5tts/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-whisper/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-cassandra/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-couchbase/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-elasticsearch/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-opensearch/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-typesense/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-postgresml/src/main/java/com/github/teachingai/postgresml/SpringAiPostgresMLApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.postgresml; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiPostgresMLApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiPostgresMLApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-ai-sql/src/main/resources/sql-prompt-template.st: -------------------------------------------------------------------------------- 1 | Given the DDL in the DDL section, write an SQL query to answer the question in the QUESTION section. 2 | Only produce select queries. If the question would result in an insert, update, 3 | or delete, or if the query would alter the DDL in any way, say that the operation 4 | isn't supported. If the question can't be answered, say that the DDL doesn't support 5 | answering that question. 6 | 7 | 8 | QUESTION 9 | {question} 10 | 11 | DDL 12 | {ddl} 13 | -------------------------------------------------------------------------------- /spring-ai-llmsfreeapi/src/main/java/com/github/hiwepy/llmsfreeapi/SpringAiLlmsFreeApiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.llmsfreeapi; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiLlmsFreeApiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiLlmsFreeApiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-chattts/src/main/java/com/github/teachingai/ollama/api/common/OllamaApiException.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.api.common; 2 | 3 | /** 4 | * Non HTTP Error related exceptions 5 | */ 6 | public class OllamaApiException extends RuntimeException { 7 | 8 | public OllamaApiException(String message) { 9 | super(message); 10 | } 11 | 12 | public OllamaApiException(String message, Throwable cause) { 13 | super(message, cause); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-edgetts/src/main/java/com/github/teachingai/ollama/api/common/OllamaApiException.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.api.common; 2 | 3 | /** 4 | * Non HTTP Error related exceptions 5 | */ 6 | public class OllamaApiException extends RuntimeException { 7 | 8 | public OllamaApiException(String message) { 9 | super(message); 10 | } 11 | 12 | public OllamaApiException(String message, Throwable cause) { 13 | super(message, cause); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-emoti/src/main/java/com/github/teachingai/ollama/api/common/OllamaApiException.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.api.common; 2 | 3 | /** 4 | * Non HTTP Error related exceptions 5 | */ 6 | public class OllamaApiException extends RuntimeException { 7 | 8 | public OllamaApiException(String message) { 9 | super(message); 10 | } 11 | 12 | public OllamaApiException(String message, Throwable cause) { 13 | super(message, cause); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-whisper/src/main/java/com/github/teachingai/ollama/api/common/OllamaApiException.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.api.common; 2 | 3 | /** 4 | * Non HTTP Error related exceptions 5 | */ 6 | public class OllamaApiException extends RuntimeException { 7 | 8 | public OllamaApiException(String message) { 9 | super(message); 10 | } 11 | 12 | public OllamaApiException(String message, Throwable cause) { 13 | super(message, cause); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-client/src/main/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.zhipuai; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiZhipuAiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiZhipuAiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-server/src/main/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.zhipuai; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiZhipuAiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiZhipuAiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-observation-langfuse/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-observation-prometheus/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiOllamaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiOllamaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-moonshotai/src/main/java/com/github/teachingai/moonshotai/SpringAiMoonshotAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.moonshotai; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiMoonshotAiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiMoonshotAiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-mars5tts/src/main/java/com/github/teachingai/ollama/api/common/OllamaApiException.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.api.common; 2 | 3 | /** 4 | * Non HTTP Error related exceptions 5 | */ 6 | public class OllamaApiException extends RuntimeException { 7 | 8 | public OllamaApiException(String message) { 9 | super(message); 10 | } 11 | 12 | public OllamaApiException(String message, Throwable cause) { 13 | super(message, cause); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-client/src/main/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.zhipuai; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiZhipuAiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiZhipuAiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-server/src/main/java/com/github/teachingai/zhipuai/SpringAiZhipuAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.zhipuai; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiZhipuAiApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiZhipuAiApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-pangu/src/main/java/com/github/hiwepy/huaweiai/pangu/SpringAiHuaweiAiPanguApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.huaweiai.pangu; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiHuaweiAiPanguApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiHuaweiAiPanguApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-amazon-bedrock/src/main/java/com/github/teachingai/amazon/bedrock/SpringAiAmazonBedrockApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.amazon.bedrock; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringAiAmazonBedrockApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringAiAmazonBedrockApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-ai-stepfun/src/main/java/com/github/hiwepy/stepfun/SpringStepFunAiApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.stepfun; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | /** 7 | * @author lujun 8 | * @date 2024/4/27 13:29 9 | */ 10 | @SpringBootApplication 11 | public class SpringStepFunAiApplication { 12 | public static void main(String[] args) { 13 | SpringApplication.run(SpringStepFunAiApplication.class, args); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-coze/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-openai/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-qwen/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-sql/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-anthropic/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-deepseek/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-huggingface/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-llmsfreeapi/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-minimax/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-mistralai/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-moonshotai/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-chat/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-postgresml/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-qianfan/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-stabilityai/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-watsonxai/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-zhipuai/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-amazon-bedrock/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-azure-openai/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-gallery/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-huaweiai-pangu/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-oci-genai-cohere/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-agents/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-embedding/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-prompt/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-neo4j/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-redis/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-tools/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-vision/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-vertexai-gemini/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-chattts/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-edgetts/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-emoti/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-mars5tts/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-whisper/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-fine-tuning/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-generation/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-cassandra/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-chroma/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-couchbase/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-gemfire/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mariadb/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-milvus/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mongodb/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-opensearch/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-oracle/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pgvector/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pinecone/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-qdrant/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-typesense/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-weaviate/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-client/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webflux-server/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-client/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-mcp-webmvc-server/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-elasticsearch/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-unifiedtts/src/test/java/com/github/teachingai/ollama/SpringAiOllamaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import com.github.teachingai.ollama.UnifiedTtsAudioSpeechModel; 4 | import org.junit.jupiter.api.Test; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | 7 | @SpringBootTest 8 | class SpringAiOllamaApplicationTests { 9 | 10 | UnifiedTtsAudioSpeechModel unifiedTtsAudioSpeechModel; 11 | @Test 12 | void contextLoads() { 13 | 14 | unifiedTtsAudioSpeechModel.call("hello world"); 15 | 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /spring-ai-ollama-generation/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | @SpringBootApplication 8 | @EnableKnife4j 9 | public class SpringAiOllamaApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(SpringAiOllamaApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /spring-ai-ollama-observation-langfuse/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-observation-prometheus/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-unifiedtts/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Spring AI \u96C6\u6210 UnifiedTTS \u914D\u7F6E 2 | spring.ai.unifiedtts.base-url=https://unifiedtts.com 3 | spring.ai.unifiedtts.api-key=your-api-key-here 4 | 5 | spring.ai.unifiedtts.audio.speech.options.model=edge_tts 6 | spring.ai.unifiedtts.audio.speech.options.voice=zh-CN-XiaoxiaoNeural 7 | spring.ai.unifiedtts.audio.speech.options.response-format=mp3 8 | spring.ai.unifiedtts.audio.speech.options.speed=1.0 9 | spring.ai.unifiedtts.audio.speech.options.pitch=1.0 10 | spring.ai.unifiedtts.audio.speech.options.volume=1.0 -------------------------------------------------------------------------------- /spring-ai-openai/src/main/java/com/github/teachingai/openai/service/MockWeatherService.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.openai.service; 2 | 3 | import java.util.function.Function; 4 | 5 | public class MockWeatherService implements Function { 6 | 7 | public enum Unit { C, F } 8 | public record Request(String location, Unit unit) {} 9 | public record Response(double temp, Unit unit) {} 10 | 11 | @Override 12 | public Response apply(Request request) { 13 | return new Response(30.0, Unit.C); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *# 2 | *.iml 3 | *.ipr 4 | *.iws 5 | *.jar 6 | *.sw? 7 | *~ 8 | .#* 9 | .*.md.html 10 | .apt_generated 11 | .DS_Store 12 | .classpath 13 | .factorypath 14 | .gradle 15 | .idea 16 | .vscode 17 | .metadata 18 | .project 19 | .recommenders 20 | .settings 21 | .springBeans 22 | .sts4-cache 23 | /build 24 | /code 25 | MANIFEST.MF 26 | _site/ 27 | activemq-data 28 | bin 29 | build 30 | build.log 31 | dependency-reduced-pom.xml 32 | dump.rdb 33 | interpolated*.xml 34 | lib/ 35 | manifest.yml 36 | overridedb.* 37 | settings.xml 38 | target 39 | transaction-logs 40 | .flattened-pom.xml 41 | secrets.yml 42 | . 43 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-unifiedtts/src/main/java/com/github/teachingai/ollama/SpringAiOllamaApplication.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.boot.context.properties.ConfigurationPropertiesScan; 6 | 7 | @SpringBootApplication 8 | @ConfigurationPropertiesScan 9 | public class SpringAiOllamaApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(SpringAiOllamaApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /spring-ai-ollama-prompt/src/test/resources/prompts/kuakua-prompt.st: -------------------------------------------------------------------------------- 1 | # Role: 夸夸助理 2 | 你是我的私人助理,你最重要的工作就是不断地鼓励我、激励我、夸赞我。你需要以温柔、体贴、亲切的语气和我聊天。你的聊天风格特别可爱有趣,你的每一个回答都要体现这一点。 3 | 4 | ## Goals: 5 | - 分析用户提供内容。 6 | - 分析用户对话中可能包含的情绪。 7 | - 以温柔、体贴、亲切的语气和用户对话,不断地鼓励我、激励我、夸赞我。 8 | 9 | ## Workflows: 10 | 1. 输入: 接收用户提供的对话。 11 | 2. 分析数据: 分析用户对话中可能包含的情绪 12 | 3. 编写夸赞: 以温柔、体贴、亲切的语气,不断地鼓励我、激励我、夸赞我,多使用成语。 13 | 14 | ## Examples: 15 | - System: 今天好累呀 16 | - User: 哎呀,亲爱的,听起来你今天真的经历了不少挑战呢。但是,别忘了,每一点努力的汗水都像是给未来的自己种下了一颗成长的种子哦!休息一下,泡个澡,听听轻松的音乐,或者和我聊聊天,放松一下吧。你的坚韧和毅力真是让人敬佩,你真的很棒呢! 17 | 18 | ## Initialization: 19 | 根据用户输入,然后一步一步按照[Workflows]直接执行,参考[Examples]输出回答,每次回复不少于150字,不多于250字。 -------------------------------------------------------------------------------- /spring-ai-ollama-agents/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-embedding/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-prompt/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-neo4j/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-redis/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-tools/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-chattts/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-edgetts/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-emoti/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-mars5tts/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-whisper/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-chat/src/main/java/com/github/teachingai/ollama/config/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-fine-tuning/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-generation/src/test/resources/application-test.properties: -------------------------------------------------------------------------------- 1 | # 测试环境配置 2 | spring.application.name=spring-ai-ollama-generation-test 3 | 4 | # 日志配置 5 | logging.level.com.github.teachingai.ollama=DEBUG 6 | logging.level.org.springframework.ai=DEBUG 7 | logging.level.org.springframework.web=DEBUG 8 | 9 | # Ollama 配置(测试环境) 10 | spring.ai.ollama.base-url=http://localhost:11434 11 | spring.ai.ollama.chat.model=llama2 12 | spring.ai.ollama.chat.options.temperature=0.7 13 | spring.ai.ollama.chat.options.top-p=0.9 14 | 15 | # 测试超时配置 16 | spring.ai.ollama.chat.options.timeout=30s 17 | 18 | # 禁用不必要的功能 19 | spring.main.banner-mode=off 20 | spring.jpa.show-sql=false 21 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-cassandra/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-chroma/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-couchbase/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-gemfire/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mariadb/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-milvus/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-mongodb/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-opensearch/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-oracle/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pgvector/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-pinecone/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-qdrant/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-typesense/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-weaviate/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-vision/src/main/java/com/github/teachingai/ollama/config/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-whisper/src/main/java/com/github/teachingai/ollama/api/ApiUtils.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.api; 2 | 3 | import org.springframework.http.HttpHeaders; 4 | import org.springframework.http.MediaType; 5 | 6 | import java.util.function.Consumer; 7 | 8 | public class ApiUtils { 9 | 10 | public static final String DEFAULT_BASE_URL = "https://api.openai.com"; 11 | 12 | public static Consumer getJsonContentHeaders(String apiKey) { 13 | return (headers) -> { 14 | headers.setBearerAuth(apiKey); 15 | headers.setContentType(MediaType.APPLICATION_JSON); 16 | }; 17 | }; 18 | 19 | } 20 | -------------------------------------------------------------------------------- /spring-ai-ollama-rag-elasticsearch/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-generation/src/main/java/com/github/teachingai/ollama/config/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.config; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-observation-langfuse/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-observation-prometheus/src/main/java/com/github/teachingai/ollama/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class WebConfig implements WebMvcConfigurer { 9 | 10 | 11 | @Override 12 | public void addInterceptors(InterceptorRegistry registry) { 13 | // 部分接口不拦截 14 | //registry.addInterceptor().excludePathPatterns("/swagger-ui/**", "/v3/api-docs/**"); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-whisper/src/main/java/com/github/teachingai/ollama/audio/ChatTtsAudioSpeechMetadata.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.audio; 2 | 3 | 4 | import org.springframework.ai.model.ResultMetadata; 5 | 6 | public interface ChatTtsAudioSpeechMetadata extends ResultMetadata { 7 | 8 | ChatTtsAudioSpeechMetadata NULL = ChatTtsAudioSpeechMetadata.create(); 9 | 10 | /** 11 | * Factory method used to construct a new {@link ChatTtsAudioSpeechMetadata} 12 | * @return a new {@link ChatTtsAudioSpeechMetadata} 13 | */ 14 | static ChatTtsAudioSpeechMetadata create() { 15 | return new ChatTtsAudioSpeechMetadata() { 16 | }; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-chattts/src/main/java/com/github/teachingai/ollama/metadata/audio/ChatTtsAudioSpeechMetadata.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.metadata.audio; 2 | 3 | 4 | import org.springframework.ai.model.ResultMetadata; 5 | 6 | public interface ChatTtsAudioSpeechMetadata extends ResultMetadata { 7 | 8 | ChatTtsAudioSpeechMetadata NULL = ChatTtsAudioSpeechMetadata.create(); 9 | 10 | /** 11 | * Factory method used to construct a new {@link ChatTtsAudioSpeechMetadata} 12 | * @return a new {@link ChatTtsAudioSpeechMetadata} 13 | */ 14 | static ChatTtsAudioSpeechMetadata create() { 15 | return new ChatTtsAudioSpeechMetadata() { 16 | }; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-edgetts/src/main/java/com/github/teachingai/ollama/metadata/audio/EdgeTtsAudioSpeechMetadata.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.metadata.audio; 2 | 3 | 4 | import org.springframework.ai.model.ResultMetadata; 5 | 6 | public interface EdgeTtsAudioSpeechMetadata extends ResultMetadata { 7 | 8 | EdgeTtsAudioSpeechMetadata NULL = EdgeTtsAudioSpeechMetadata.create(); 9 | 10 | /** 11 | * Factory method used to construct a new {@link EdgeTtsAudioSpeechMetadata} 12 | * @return a new {@link EdgeTtsAudioSpeechMetadata} 13 | */ 14 | static EdgeTtsAudioSpeechMetadata create() { 15 | return new EdgeTtsAudioSpeechMetadata() { 16 | }; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-mars5tts/src/main/java/com/github/teachingai/ollama/metadata/audio/ChatTtsAudioSpeechMetadata.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.metadata.audio; 2 | 3 | 4 | import org.springframework.ai.model.ResultMetadata; 5 | 6 | public interface ChatTtsAudioSpeechMetadata extends ResultMetadata { 7 | 8 | ChatTtsAudioSpeechMetadata NULL = ChatTtsAudioSpeechMetadata.create(); 9 | 10 | /** 11 | * Factory method used to construct a new {@link ChatTtsAudioSpeechMetadata} 12 | * @return a new {@link ChatTtsAudioSpeechMetadata} 13 | */ 14 | static ChatTtsAudioSpeechMetadata create() { 15 | return new ChatTtsAudioSpeechMetadata() { 16 | }; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /spring-ai-sql/src/main/java/com/github/teachingai/aisql/exception/SqlGenerationExceptionHandler.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.aisql.exception; 2 | 3 | import org.springframework.http.HttpStatus; 4 | import org.springframework.http.ProblemDetail; 5 | import org.springframework.web.bind.annotation.ExceptionHandler; 6 | import org.springframework.web.bind.annotation.RestControllerAdvice; 7 | 8 | @RestControllerAdvice 9 | public class SqlGenerationExceptionHandler { 10 | 11 | @ExceptionHandler(SqlGenerationException.class) 12 | public ProblemDetail handle(SqlGenerationException ex) { 13 | return ProblemDetail.forStatusAndDetail(HttpStatus.EXPECTATION_FAILED, ex.getMessage()); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-emoti/src/main/java/com/github/teachingai/ollama/audio/transcription/AudioTranscriptionMetadata.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.audio.transcription; 2 | 3 | import org.springframework.ai.model.ResultMetadata; 4 | 5 | public interface AudioTranscriptionMetadata extends ResultMetadata { 6 | 7 | AudioTranscriptionMetadata NULL = AudioTranscriptionMetadata.create(); 8 | 9 | /** 10 | * Factory method used to construct a new {@link AudioTranscriptionMetadata} 11 | * @return a new {@link AudioTranscriptionMetadata} 12 | */ 13 | static AudioTranscriptionMetadata create() { 14 | return new AudioTranscriptionMetadata() { 15 | }; 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-whisper/src/main/java/com/github/teachingai/ollama/audio/transcription/AudioTranscriptionMetadata.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.audio.transcription; 2 | 3 | import org.springframework.ai.model.ResultMetadata; 4 | 5 | public interface AudioTranscriptionMetadata extends ResultMetadata { 6 | 7 | AudioTranscriptionMetadata NULL = AudioTranscriptionMetadata.create(); 8 | 9 | /** 10 | * Factory method used to construct a new {@link AudioTranscriptionMetadata} 11 | * @return a new {@link AudioTranscriptionMetadata} 12 | */ 13 | static AudioTranscriptionMetadata create() { 14 | return new AudioTranscriptionMetadata() { 15 | }; 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /spring-ai-oci-genai-cohere/src/main/java/com/github/hiwepy/ocigenai/exception/SqlGenerationExceptionHandler.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.ocigenai.exception; 2 | 3 | import org.springframework.http.HttpStatus; 4 | import org.springframework.http.ProblemDetail; 5 | import org.springframework.web.bind.annotation.ExceptionHandler; 6 | import org.springframework.web.bind.annotation.RestControllerAdvice; 7 | 8 | @RestControllerAdvice 9 | public class SqlGenerationExceptionHandler { 10 | 11 | @ExceptionHandler(SqlGenerationException.class) 12 | public ProblemDetail handle(SqlGenerationException ex) { 13 | return ProblemDetail.forStatusAndDetail(HttpStatus.EXPECTATION_FAILED, ex.getMessage()); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-emoti/src/main/java/com/github/teachingai/ollama/api/ApiUtils.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.api; 2 | 3 | import org.springframework.http.HttpHeaders; 4 | import org.springframework.http.MediaType; 5 | 6 | import java.util.function.Consumer; 7 | 8 | public class ApiUtils { 9 | 10 | 11 | public static final Float DEFAULT_SPEED = 1F; 12 | public static final String DEFAULT_BASE_URL = "http://localhost:8000"; 13 | 14 | public static Consumer getJsonContentHeaders(String apiKey) { 15 | return (headers) -> { 16 | headers.setBearerAuth(apiKey); 17 | headers.setContentType(MediaType.APPLICATION_JSON); 18 | }; 19 | }; 20 | 21 | } 22 | -------------------------------------------------------------------------------- /spring-ai-ollama-audio-unifiedtts/src/main/java/com/github/teachingai/ollama/audio/UnifiedTtsAudioSpeechMetadata.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.ollama.audio; 2 | 3 | 4 | import org.springframework.ai.model.ResultMetadata; 5 | 6 | public interface UnifiedTtsAudioSpeechMetadata extends ResultMetadata { 7 | 8 | UnifiedTtsAudioSpeechMetadata NULL = UnifiedTtsAudioSpeechMetadata.create(); 9 | 10 | /** 11 | * Factory method used to construct a new {@link UnifiedTtsAudioSpeechMetadata} 12 | * @return a new {@link UnifiedTtsAudioSpeechMetadata} 13 | */ 14 | static UnifiedTtsAudioSpeechMetadata create() { 15 | return new UnifiedTtsAudioSpeechMetadata() { 16 | }; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /spring-ai-vertexai-gemini/src/main/java/com/github/hiwepy/vertexai/exception/SqlGenerationExceptionHandler.java: -------------------------------------------------------------------------------- 1 | package com.github.hiwepy.vertexai.exception; 2 | 3 | import org.springframework.http.HttpStatus; 4 | import org.springframework.http.ProblemDetail; 5 | import org.springframework.web.bind.annotation.ExceptionHandler; 6 | import org.springframework.web.bind.annotation.RestControllerAdvice; 7 | 8 | @RestControllerAdvice 9 | public class SqlGenerationExceptionHandler { 10 | 11 | @ExceptionHandler(SqlGenerationException.class) 12 | public ProblemDetail handle(SqlGenerationException ex) { 13 | return ProblemDetail.forStatusAndDetail(HttpStatus.EXPECTATION_FAILED, ex.getMessage()); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-ai-sql/src/main/resources/schema.sql: -------------------------------------------------------------------------------- 1 | create table Authors ( 2 | id int not null auto_increment, 3 | firstName varchar(255) not null, 4 | lastName varchar(255) not null, 5 | primary key (id) 6 | ); 7 | 8 | create table Publishers ( 9 | id int not null auto_increment, 10 | name varchar(255) not null, 11 | primary key (id) 12 | ); 13 | 14 | create table Books ( 15 | id int not null auto_increment, 16 | isbn varchar(255) not null, 17 | title varchar(255) not null, 18 | author_ref int not null, 19 | publisher_ref int not null, 20 | primary key (id), 21 | foreign key (author_ref) references Authors(id), 22 | foreign key (publisher_ref) references Publishers(id) 23 | ); 24 | -------------------------------------------------------------------------------- /spring-ai-openai/src/main/java/com/github/teachingai/openai/config/Config.java: -------------------------------------------------------------------------------- 1 | package com.github.teachingai.openai.config; 2 | 3 | import com.github.teachingai.openai.service.MockWeatherService; 4 | import org.springframework.context.annotation.Bean; 5 | import org.springframework.context.annotation.Configuration; 6 | import org.springframework.context.annotation.Description; 7 | 8 | import java.util.function.Function; 9 | 10 | @Configuration 11 | public class Config { 12 | 13 | @Bean 14 | @Description("Get the weather in location") // function description 15 | public Function weatherFunction1() { 16 | return new MockWeatherService(); 17 | } 18 | 19 | } 20 | --------------------------------------------------------------------------------