3 ms·
# Easter Egg if query_text == "easteregg": return JSONResponse( content={ "query": " Congratulations, you rolled
by thatcherthorn 3y ago
# Easter Egg
if query_text == "easteregg":
return JSONResponse(
content={
"query": " Congratulations, you rolled the demo!",
"results": {},
"generative_summary": "You just got rick-rolled...",
}
)
Haha
- edichief 3y agoHaha awesome you found it so quickly!
- quickthrower2 3y ago> == Interesting encoding/embedding and vector search you have there :-)
- edichief 3y agoHaha! I initially used the rick-roll meme whenever the demo crashed, but at some point, I couldn't stand getting rick-rolled by my demo any more... :)