AI. Java. Spring AI

https://www.youtube.com/watch?v=H_58SyQfl_U New Vector APIs coming to Java - Java 23 update

AI Model API Portable

Model API across AI providers for Chat, Text to Image, Audio Transcription, Text to Speech, and Embedding models. Both synchronous and stream API options are supported. With support for AI Models from OpenAI, Microsoft, Amazon, Google, Amazon Bedrock, Hugging Face and more https://docs.spring.io/spring-ai/reference/api/index.html

The project draws inspiration from notable Python projects, such as LangChain and LlamaIndex, but Spring AI is not a direct port of those projects. The project was founded with the belief that the next wave of Generative AI applications will not be only for Python developers but will be ubiquitous across many programming languages.
Spring AI provides the following features:

https://docs.spring.io/spring-ai/reference/api/prompt.html
The primary roles are:

https://spring.io/projects/spring-ai

https://docs.spring.io/spring-ai/reference/

https://docs.spring.io/spring-ai/reference/api/embeddings/ollama-embeddings.html Ollama - run AI models on your local machine

https://www.youtube.com/watch?v=QWKs0aOZaVQ&list=PLO66QfE8gWT1lyNltpE73ee8mVn6C4xN9 Spring AI Tutorials : Generative AI for Java Developers

https://www.youtube.com/watch?v=ACpLp2KXqgE Working with Prompts in Spring AI - Effectively Communicating with LLMs - Dan Vega

https://foojay.io/today/spring-ai-how-to-write-genai-applications-with-java/ (Neo4j Vector Database)

Getting started with (Retrieval Augmented Generation) RAG in Java & Spring AI https://www.youtube.com/watch?v=4-rG2qsTrAs

https://www.baeldung.com/spring-ai

https://www.youtube.com/watch?v=aNKDoiOUo9M Spring Tips: Spring AI D:\Projects\examples\ai\llm-rag-with-spring-ai (vector store example)

https://www.youtube.com/watch?v=yPu-WV_00Tk Spring Tips: Vector Databases with Spring AI https://www.youtube.com/watch?v=Q65-Zade25w

https://www.youtube.com/watch?v=QWgiOoB4OOU Spring into the AI Era: A Practical Exploration for Developers (Workshop) - базовый старый доклад

https://www.youtube.com/watch?v=jJ63tedBAzI Building a ChatGPT Clone in Java with HTMX, Spring Boot, and Spring AI провстое прокси приложение https://github.com/danvega/chatgpt-clone интересно своим интефейсом

https://www.youtube.com/watch?v=7K6YPRUtBkQ Generating Images with Spring AI

https://www.youtube.com/watch?v=qL9A21N-6J4 Unleashing AI in Java: A Guide to Semantic Kernel, LangChain4j, and Spring AI by Marcus Hellberg

https://www.youtube.com/watch?v=k3fSQpz2Esg Code your own dating bot with Spring Boot & React & AI https://github.com/koushikkothagal/tinder-ai-backend пример огранизации фейкового чат диалога , фронт на React

https://www.youtube.com/watch?v=0QVdJcxGf1M Generate Dynamic Websites using ChatGPT and Spring AI

https://www.youtube.com/watch?v=6Pgmr7xMjiY Java + RAG: Create an AI-Powered Financial Advisor using Spring AI

https://www.youtube.com/@DevMastersDb

https://www.youtube.com/watch?v=jClr5LtQFIQ&t=216s Spring AI RAG | Chat with your PDF Documents using Java and Spring Boot

https://dev.to/brunooliveira/basic-rag-app-with-spring-ai-docker-and-ollama-1i7j

    environment:
      - SPRING_DATASOURCE_URL=jdbc:postgresql://db:5432/ragdb
      - SPRING_DATASOURCE_USERNAME=postgres
      - SPRING_DATASOURCE_PASSWORD=password
      - SPRING_AI_OLLAMA_BASE_URL=http://ollama-llm:11434/
      - SPRING_AI_OLLAMA_CHAT_OPTIONS_MODEL=tinydolphin
      - SPRING_AI_OLLAMA_CHAT_OPTIONS_ALTERNATIVE_MODEL=tinyllama
      - SPRING_AI_OLLAMA_CHAT_OPTIONS_ALTERNATIVE_SECOND_MODEL=llama3.1
      - SPRING_AI_OLLAMA_EMBEDDING_OPTIONS_MODEL=mxbai-embed-large
      - SPRING_AI_VECTORSTORE_PGVECTOR_REMOVE_EXISTING_VECTOR_STORE_TABLE=true
      - SPRING_AI_VECTORSTORE_PGVECTOR_INDEX_TYPE=HNSW
      - SPRING_AI_VECTORSTORE_PGVECTOR_DISTANCE_TYPE=COSINE_DISTANCE
      - SPRING_AI_VECTORSTORE_PGVECTOR_DIMENSIONS=1024