Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Tutorial: Tool up your LLM with Apache Camel on OpenShift

October 4, 2024
Bruno Meseguer
Related topics:
Artificial intelligenceData integrationDeveloper ToolsIntegration
Related products:
Developer SandboxDeveloper ToolsRed Hat OpenShift Dev SpacesRed Hat build of Apache CamelRed Hat OpenShift

Share:

    This tutorial gives you a unique chance to learn, hands-on, some of the basics of large language models (LLMs) in the Developer Sandbox for Red Hat OpenShift. The Developer Sandbox provides a free-to-use and fully-ready development environment, inviting everyone to quickly jump in and play with LLMs, Apache Camel, and the Kaoto visual editor with no prerequisites or set up hassle.

    There is tons of LLM-related content out there that dives into all the details you may want to learn about the topic. Yet few playgrounds like the Developer Sandbox are publicly available, where you are one click away from a journey in which you'll experience and drive all moving parts in motion.

    Tutorial highlights

    This learning track has LLMs and the power of tools at its center. You will quickly gain familiarity with the concepts thanks to a curated set of guided steps and actions. During this tutorial, you will discover plenty of developer functionality designed for rapid prototyping and quick application delivery. 

    Apache Camel is also a focus point to show you how AI-infused applications are not only in the realm of programming languages such as Python or Javascript. In this tutorial, you will use Apache Camel and visual tools to construct processing flows and LLM functions.

    You will find it fascinating that contrary to other approaches where you need to start from a skeleton or template, Apache Camel makes it very easy to start from zero. You will experience what augmented developer productivity feels like.  

    From Red Hat OpenShift Dev Spaces, you will start by deploying an LLM and follow along with the creation of an application with basic LLM interaction. Then, you will iterate your concept and convert it into an agentic process powered by the LLM and equipped with the tools you will create. See Figure 1.

    Details of the creation process during the tutorial.
    Figure 1: Details of the creation process during the tutorial.

    When your prototype is complete, you'll use the tooling to export it as a deployable application and push it to Red Hat OpenShift where users can externally access its UI and interact with the LLM-powered service. 

    Start your journey

    If you are accessing the Developer Sandbox for the first time, you’ll have to create a Red Hat account. Other than that, you are one click away from kicking off this unique experience.

    • Click this link to get started: Provision Tutorial in the Developer Sandbox

    After Dev Spaces finishes preparing your workspace and opens VS Code in your browser tab, the Readme file might not appear by default. If that is the case, follow the actions illustrated below (Figure 2).

    Unfold ENDPOINTS > Open in new tab > Open.
    Figure 2: Mouse actions in VS Code to open the tutorial.

    In summary, unfold the ENDPOINTS group at the bottom left corner on the left panel of VS Code, then reveal and open the tutorial documentation link to get started, as per the actions shown in Figure 2.

    Watch the intro video

    To help you get started and get a glimpse of the tutorial, watch the video below to see how to provision your sandbox environment and some of its highlights.

    How to recover from failures

    Sometimes, the provisioning process goes wrong. Try following the steps below to delete the failed workspace and try again:

    1. Click Workspaces at the top of the screen, as illustrated in Figure 3. The Dev Spaces dashboard will open.
    2. Click the three vertical dots (⋮) button (failed workspace).
    3. Select Delete Workspace.
    4. In the confirmation panel, tick the box, and click Delete.
    Workspaces > three vertical dots > Delete Workspace > Delete.
    Figure 3. Mouse actions in VS Code to delete failed workspace.

    After completing the actions above, retry provisioning your lab. Jump back to the article's section to retry: Start your journey

    Tutorial repository

    You can find all the sources for this tutorial under the following GitHub repository: devsandbox-category-llm-basics

    Never stop learning

    Below is a list of recommended resources for additional learning:

    • Continue learning with the AI Basics tutorial, also hosted in the Developer Sandbox.
    • Read the Apache Camel page in Red Hat Developers to learn more about the capabilities of Apache Camel.
    • Discover the Solution Pattern Edge to Core data pipelines for AI/ML.
    • For first-timers, read How to access the Developer Sandbox for Red Hat OpenShift.

    Related Posts

    • Kubernetes-native Apache Kafka with Strimzi, Debezium, and Apache Camel (Kafka Summit 2020)

    • Using GeoJSON with Apache Camel K for spatial data transformation

    • How to use LLMs in Java with LangChain4j and Quarkus

    • TrustyAI Detoxify: Guardrailing LLMs during training

    • Enhance LLMs and streamline MLOps using InstructLab and KitOps

    • Kubernetes-native Spring apps on Quarkus

    Recent Posts

    • Run Qwen3-Next on vLLM with Red Hat AI: A step-by-step guide

    • How to implement observability with Python and Llama Stack

    • Deploy a lightweight AI model with AI Inference Server containerization

    • vLLM Semantic Router: Improving efficiency in AI reasoning

    • Declaratively assigning DNS records to virtual machines

    What’s up next?

    Read the preview chapters of Quarkus in Action, a practical guide to building resilient and scalable, cloud-native, enterprise Java applications using the Quarkus framework.

    Get the e-book
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue