Skip to content

Instantly share code, notes, and snippets.

@zzstoatzz
Created April 9, 2023 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zzstoatzz/a16da0594afc2bb751428907e4c2a3cd to your computer and use it in GitHub Desktop.
Save zzstoatzz/a16da0594afc2bb751428907e4c2a3cd to your computer and use it in GitHub Desktop.
In [8]: from marvin import ai_fn
...: from marvin.plugins.github import search_github_issues
...:
...: @ai_fn(plugins=[search_github_issues])
...: def find_prefect_github_issues(about: str) -> list[str]:
...: """find github issues in prefecthq/prefect related to `about`"""
...:
In [9]: find_prefect_github_issues(about="artifacts")
Out[9]: ['https://github.com/PrefectHQ/prefect/issues/7711']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment