Understanding Tokens in Large Language Models with Spring AI
Learn how to track and manage token usage in Spring AI applications, including implementing custom response types and automated logging with AOP.
All of my long-form thoughts on programming, content creation, and more, collected in chronological order.
Learn how to track and manage token usage in Spring AI applications, including implementing custom response types and automated logging with AOP.
Learn how to implement clean and efficient request/response logging for Spring Boot's Rest Client, including both inline and interceptor-based approaches.
Learn how to effectively manage configuration and secure sensitive data using environment variables in Spring Boot applications. This comprehensive guide covers best practices, security considerations, and practical examples.
Learn how to create a secure login form using Spring Security and JTE (Java Template Engine) with support for both traditional authentication and OAuth2 providers.
Learn how to build intelligent applications using Retrieval Augmented Generation (RAG) with Spring AI. This practical guide covers everything from understanding tokens and context windows to implementing a full RAG solution.