AbiolaDavid94's picture
download
raw
295 Bytes
from fastapi import FastAPI
from pydantic import BaseModel
app = FastAPI()
class Question(BaseModel):
question: str
@app.post("/ask")
def ask_question(data: Question):
question = data.question
# Search Weaviate here
return {
"answer": "..."
}

Xet Storage Details

Size:
295 Bytes
·
Xet hash:
2c53f482e6b8ac4903e29a38bdc253afb13af912713bf7e10ffd0c6670eb14da

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.