Skip to content

Instantly share code, notes, and snippets.

@elijahbenizzy
Last active July 6, 2024 16:11
Show Gist options
  • Save elijahbenizzy/94bc805d38aefb087df8e2777485b552 to your computer and use it in GitHub Desktop.
Save elijahbenizzy/94bc805d38aefb087df8e2777485b552 to your computer and use it in GitHub Desktop.
from hamilton.async_driver import AsyncBuilder
dr = (
AsyncBuilder()
.with_modules(module_from_above)
.build()
)
await dr.execute(
joke_response,
inputs={"topic" : "the federal reserve"}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment