Skip to content

Add Vectara Chat streaming product-docs tutorial for AI hackathons (#462) - #1082

Merged
Stephen-Kimoi merged 1 commit into
lablab-ai:mainfrom
projectcarbonfiber:tutorial/vectara-chat-streaming-product-docs-462
Sep 22, 2026
Merged

Stephen-Kimoi merged 1 commit into
lablab-ai:mainfrom
projectcarbonfiber:tutorial/vectara-chat-streaming-product-docs-462

Conversation

@projectcarbonfiber

@projectcarbonfiber projectcarbonfiber commented Sep 21, 2026 •

Copy link
Copy Markdown

/claim #462

Summary

Adds an original English MDX tutorial for Vectara Chat aimed at AI hackathon builders:

tutorials/en/vectara-chat-tutorial-streaming-product-docs-chatbot-for-ai-hackathons.mdx

Follows the section outline from #462 and tutorials/README.md / tutorials/template.mdx conventions. Written and edited for this submission (personal edit pass for voice and clarity).

What the tutorial covers

  1. Introduction to Vectara Chat - conversational RAG vs one-shot query; Chat History Corpus; hackathon bridge
  2. Getting Started - free-tier / API key placeholders, Console Chat toggle sanity check, corpus create via official Python SDK
  3. Building a Chatbot - product-docs ingest (CoreDocument), grounded client.query, multi-turn create_chat_session + session.chat, chat_stream
  4. Enhancing intelligence - metadata filters, hybrid lexical tuning, FCS badge thresholds, client.chats.list / list_turns / delete
  5. Deploying and testing - FastAPI + SSE streaming UI (not Streamlit), test checklist, weekend deploy notes
  6. Conclusion - hackathon blueprints + Quiz component

Cross-links requested in #462

Differentiation vs open PRs

Verification

  • Python fences syntax-checked
  • SDK symbols checked against installed vectara==0.4.3
  • Written from public Vectara docs; no real API keys in the PR
  • No live Vectara cloud smoke in this environment (free key not available here; no paid spend). Samples follow current public docs / SDK.

Demo video

Pending. Algora asks for a short demo of the changes. I will attach an unlisted YouTube / Loom walkthrough (Console Chat → ingest → streaming UI → follow-up pronoun turn → chats.list) as soon as a free Vectara key is available for recording. Happy to update this PR with the link.

Cover image

Uses the same neutral template cover path already published on the Vectara Beginner tutorial on main (123Tutorial_image_template.png). Can swap to a freeimage.host upload on editor request.

Process note

tutorials/README.md asks for twin PRs to community-content and main. The community-content branch was not present on upstream at submit time (API 404), so this PR targets main. Happy to open the twin PR if that branch is restored or renamed.

/claim #462

Original lablab-ai#462 tutorial: Console Chat sanity check, SDK ingest/query/chat,
FastAPI SSE UI, FCS badges, Chat History ops, and Quiz. Written and edited
for this submission.
@Stephen-Kimoi
Stephen-Kimoi merged commit 6aac44b into lablab-ai:main Sep 22, 2026
1 check failed
@Stephen-Kimoi

Copy link
Copy Markdown
Collaborator

@projectcarbonfiber

Copy link
Copy Markdown
Author

Thanks @Stephen-Kimoi! Excited to see it live on the site. Could you please close the parent issue #462 so Algora can release the bounty escrow? Appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants