Book URI: https://leanpub.com/javaai
You can read my book for free online at: https://leanpub.com/javaai/read
This directory contains the companion source code for each chapter of the book.
| Directory | Description |
|---|---|
AgentScope_gemini |
Multi-agent framework using AgentScope + Google Gemini |
anomaly_detection |
Anomaly detection using statistical methods |
gemini-llm-client |
Direct Google Gemini REST API client |
genetic-algorithms |
Genetic algorithm optimization framework |
info_gathering |
Web scraping and GeoNames API integration |
kgc |
Knowledge Graph Creator — generates RDF from text |
kgn |
Knowledge Graph Navigator — queries DBPedia via SPARQL |
langchain4j-ollama |
LangChain4j abstraction layer with local Ollama LLM |
ner_dbpedia |
Named entity recognition with DBPedia linking |
neuralnetworks |
Backpropagation neural networks (from scratch) |
nlp |
Natural language processing toolkit |
ollama-llm-client |
Direct Ollama local LLM REST API client |
openai-llm-client |
Direct OpenAI REST API client |
prompts |
Example prompt templates for LLM examples |
search |
Graph, maze, and game-tree search algorithms |
semantic_web_apache_jena |
Semantic Web / SPARQL with Apache Jena |
This example code is released using the Apache 2 license.
Copyright 2022-2026 Mark Watson. All rights reserved.