Lab build

AI travel itinerary planner

Generates a day-trip itinerary from a city and interests, with Kubernetes logs shipped to ELK.

Role
Builder, end to end
Group
LLMOps and AIOps
Services
AI & LLM systems · MLOps & cloud

What it does

A Streamlit form collects a city and comma-separated interests, and a LangChain prompt asks Groq's llama-3.3-70b-versatile for a short bulleted day plan. The app runs on Kubernetes (Minikube on a Google Cloud VM) next to a logging namespace. Filebeat runs as a DaemonSet and ships container logs through Logstash into Elasticsearch, where Kibana index patterns are used to search them.

What was built

  1. 01

    TravelPlanner class stores the city, parsed interests and message history, logging each step through a custom logger.

  2. 02

    ChatPromptTemplate asks llama-3.3-70b-versatile at temperature 0.3 for a brief bulleted itinerary.

  3. 03

    Filebeat DaemonSet tails /var/log/containers, adds Kubernetes metadata and forwards logs to Logstash on port 5044.

  4. 04

    Logstash writes into Elasticsearch; Kibana is port-forwarded and an index pattern is created to explore app logs.

The pipeline, layer by layer

Five layers, one pipeline.

  1. L1UI

    • Streamlit form
  2. L2Generation

    • Itinerary prompt chain
    • Groq Llama 3.3 70B
  3. L3Runtime

    • Docker image
    • Kubernetes deployment
  4. L4Log shipping

    • Filebeat DaemonSet
    • Logstash
  5. L5Log analytics

    • Elasticsearch
    • Kibana

Stack

  • LangChain
  • Groq
  • Llama 3.3 70B
  • Streamlit
  • Docker
  • Kubernetes
  • Minikube
  • Filebeat
  • Logstash
  • Elasticsearch
  • Kibana

Next lab build · 07 / 46

Celebrity detector and Q&A

Finds a face in an uploaded photo, identifies the person with Llama 4 vision and answers questions.

Previous: AI anime recommender

Need a system like this in production? Tell us about it.