Ready-to-use examples and tutorials. Copy, paste, and build.
Create a chatbot that answers questions about your documents. Upload PDFs, and start asking questions. Uses vector stores and file search.
Start Tutorial →from mythicdot import MythicDot
client = MythicDot()
# Create vector store with your docs
vs = client.vector_stores.create(name="My Docs")
client.vector_stores.files.create(
vector_store_id=vs.id,
file_id=file.id
)
# Ask questions!
response = client.responses.create(
model="mythic-4",
input="What does the doc say about X?",
tools=[{"type": "file_search",
"vector_store_ids": [vs.id]}]
)