Chipotle AI Menu
Conversational AI chatbot that lets users place Chipotle orders using natural language — built with React, MongoDB, Flask, spaCy, NLTK, PyTorch.

NLP Pipeline
Precomputing Intent Embeddings
Python
# Load intents using config.py
with open(config.INTENTS_FILE, 'r') as f:
intents = json.load(f)
# Create a dictionary mapping tags to their respective intents for easier access
intents_dict = {intent['tag']: intent for intent in intents['intents']}
# Precompute intent embeddings
all_patterns = []
pattern_tags = []
for intent in intents['intents']:
tag = intent['tag']
patterns = intent['patterns']
for pattern in patterns:
cleaned_pattern = clean_sentence(pattern)
all_patterns.append(cleaned_pattern)
pattern_tags.append(tag)
pattern_embeddings = sentence_model.encode(all_patterns)
Technology Stack
React
Next.js
Heroku
Python
MongoDB
Flask
PyTorch