Project structure
Step 1 — Environment setup
.env
Step 2 — Index travel documents
Step 3 — Build the API server
Step 4 — Test it
Adding a Python client
What this demonstrates
- Document indexing — PDFs, Markdown, and text files indexed together
- Custom persona — Voyager has a distinct, enthusiastic personality
- Conversation memory — follow-up questions about “that trip” work correctly
- Platform separation — web and mobile users have separate conversation threads
- API deployment — the same chatbot as both a Python library and a REST API
