Skip to main content
AI
  • Get started with AI

    • Red Hat AI

      Accelerate the development and deployment of enterprise AI solutions.

    • AI learning hub

      Explore learning materials and tools, organized by task.

    • AI interactive demos

      Click through scenarios with Red Hat AI, including training LLMs and more.

    • AI/ML learning paths

      Expand your Red Hat OpenShift AI knowledge using these learning resources.

    • AI quickstarts

      Focused AI use cases designed for fast deployment on Red Hat AI platforms.

    • No-cost AI training

      Foundational Red Hat AI training.

  • Featured resources

    • Red Hat OpenShift AI
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

Red Hat AI Factory with NVIDIA

Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.

Learn
  • Self-guided

    • Documentation

      Find answers, get step-by-step guidance, and learn how to use Red Hat products.

    • Learning paths

      Explore curated walkthroughs for common development tasks.

    • Guided learning

      Receive custom learning paths powered by our AI assistant.

    • See all learning
  • Hands-on

    • Developer Sandbox

      Spin up Red Hat's products and technologies without setup or configuration.

    • Interactive labs

      Learn by doing in these hands-on, browser-based experiences.

    • Interactive demos

      Click through product features in these guided tours.

  • Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics
  • Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
Build
  • Get started

    • Red Hat build of Podman Desktop

      A downloadable, local development hub to experiment with our products and builds.

    • Developer Sandbox

      Spin up Red Hat's products and technologies without setup or configuration.

  • Download products

    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products
  • Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset
  • References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
Community
  • Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions
  • Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github
  • Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

Join the Red Hat Developer program

Download Red Hat products and project builds, access support documentation, learning content, and more.

ConsoleDocsSupport Search
New For you

Recommended

We'll recommend resources you may like as you browse. Try these suggestions for now.

  • Product downloads
  • Cheat sheets
  • Red Hat Developer learning portal
  • Developer blog
  • E-books
  • Developer Sandbox
Log in

Get more with a Red Hat Developer account

  • Product downloads
  • Console access
  • Event registration
  • Training & trials
Explore more account benefitsLog in or register

A subscription may be required for some services.

Contact us

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 ToolsetRed Hat OpenShift Dev SpacesRed Hat build of Apache CamelRed Hat OpenShift

    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

    • A day in the life of an NVIDIA H100 on Red Hat OpenShift 5

    • Migrate BuildConfigs to builds for Red Hat OpenShift with one plug-in install

    • Run Red Hat Enterprise Linux CoreOS on NVIDIA BlueField DPUs

    • Agent harness engineering: Separating model capabilities from enforcement

    • What's new for developers in Red Hat Enterprise Linux 10.3 and 9.9

    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

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    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
    © 2026 Red Hat

    Red Hat legal and privacy links

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