Machine Learning

LLM Chat Agents - Lightweight Tool Selection (with BERT)

This article explores the concept of tools selection--a process that involves understanding a user's intent and subsequently choosing the tool most suitable to handle their request. While an LLM stands as an ideal candidate for this selection process, the inherent costs and high latencies associated with LLM interactions, prompt an exploration of alternatives.

Read
Java

Dotenv for Java

This article introduces dotenv-java, a library designed to simplify environment variable management for Java applications. Originating from the Ruby community and adhering to the twelve-factor app methodology, dotenv provides a consistent, language-agnostic approach to configuration across development, testing, staging, and production environments. By loading variables from a simple .env file, it emulates deployment environments while keeping local development straightforward. Dotenv avoids overriding host environment variables and supports various languages, including Java, Python, Go, and Node.js. The article includes examples of using dotenv-java, highlighting its utility for managing configuration effectively and consistently across environments.

Read