xkcd Comic Suggester

v0.2.0
io.github.papjuli/xkcdai Checked 22 hours ago Published 3 months ago

Suggests a relevant xkcd comic during a conversation, via semantic search over every comic.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_xkcd

Find xkcd comics semantically relevant to the current conversation. Call this whenever an xkcd comic might enrich the conversation — when the discussion lands on a topic xkcd is famous for skewering (programming, science, statistics, relationships, the absurdity of standards, etc.). Pass a concise description of the current topic or theme as `context` (a phrase or sentence works better than a whole transcript), e.g. "spending hours automating a task that was faster to do by hand" or "code finally compiling". IMPORTANT — deciding whether to mention one. xkcd h…

ParameterTypeDescription
context *string
max_resultsinteger
min_scorenumber