├── .github └── workflows │ └── chroma.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .prefect └── flows.json ├── .prefectignore ├── README.md ├── chroma_data └── chroma.sqlite3 ├── data └── chroma.sqlite3 ├── examples ├── clustering.py ├── deployments │ └── demo.py ├── flows │ ├── chroma_healthcheck.py │ ├── document_chunking.py │ ├── github_digest.py │ ├── on_event_body.py │ ├── prefect_results.py │ ├── refresh_vectorstore.py │ └── watch_llm.py └── slackbot │ ├── Dockerfile │ ├── _classify_question │ ├── Dockerfile.metrics │ ├── api.py │ ├── app.py │ ├── background │ │ └── concepts.json │ ├── classify.py │ ├── db.py │ ├── models.py │ └── requirements.txt │ ├── slackbot.py │ └── start.py ├── prefect.yaml ├── pyproject.toml └── src └── marvin_recipes ├── __init__.py ├── documents.py ├── loaders ├── __init__.py ├── base.py ├── discourse.py ├── github.py ├── openapi.py ├── pdf.py └── web.py ├── settings.py ├── tools ├── __init__.py └── chroma.py ├── utilities ├── __init__.py ├── collections.py ├── github.py ├── ids.py ├── slack.py └── strings.py └── vectorstores ├── __init__.py ├── base.py └── chroma.py /.github/workflows/chroma.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/.github/workflows/chroma.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.prefect/flows.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/.prefect/flows.json -------------------------------------------------------------------------------- /.prefectignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/.prefectignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/README.md -------------------------------------------------------------------------------- /chroma_data/chroma.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/chroma_data/chroma.sqlite3 -------------------------------------------------------------------------------- /data/chroma.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/data/chroma.sqlite3 -------------------------------------------------------------------------------- /examples/clustering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/clustering.py -------------------------------------------------------------------------------- /examples/deployments/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/deployments/demo.py -------------------------------------------------------------------------------- /examples/flows/chroma_healthcheck.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/flows/chroma_healthcheck.py -------------------------------------------------------------------------------- /examples/flows/document_chunking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/flows/document_chunking.py -------------------------------------------------------------------------------- /examples/flows/github_digest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/flows/github_digest.py -------------------------------------------------------------------------------- /examples/flows/on_event_body.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/flows/on_event_body.py -------------------------------------------------------------------------------- /examples/flows/prefect_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/flows/prefect_results.py -------------------------------------------------------------------------------- /examples/flows/refresh_vectorstore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/flows/refresh_vectorstore.py -------------------------------------------------------------------------------- /examples/flows/watch_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/flows/watch_llm.py -------------------------------------------------------------------------------- /examples/slackbot/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/slackbot/Dockerfile -------------------------------------------------------------------------------- /examples/slackbot/_classify_question/Dockerfile.metrics: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/slackbot/_classify_question/Dockerfile.metrics -------------------------------------------------------------------------------- /examples/slackbot/_classify_question/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/slackbot/_classify_question/api.py -------------------------------------------------------------------------------- /examples/slackbot/_classify_question/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/slackbot/_classify_question/app.py -------------------------------------------------------------------------------- /examples/slackbot/_classify_question/background/concepts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/slackbot/_classify_question/background/concepts.json -------------------------------------------------------------------------------- /examples/slackbot/_classify_question/classify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/slackbot/_classify_question/classify.py -------------------------------------------------------------------------------- /examples/slackbot/_classify_question/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/slackbot/_classify_question/db.py -------------------------------------------------------------------------------- /examples/slackbot/_classify_question/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/slackbot/_classify_question/models.py -------------------------------------------------------------------------------- /examples/slackbot/_classify_question/requirements.txt: -------------------------------------------------------------------------------- 1 | marvin>=1.4.2 2 | pydantic < 2.0.0 3 | aiosqlite 4 | sqlalchemy 5 | fastapi 6 | uvicorn -------------------------------------------------------------------------------- /examples/slackbot/slackbot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/slackbot/slackbot.py -------------------------------------------------------------------------------- /examples/slackbot/start.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/examples/slackbot/start.py -------------------------------------------------------------------------------- /prefect.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/prefect.yaml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/marvin_recipes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/__init__.py -------------------------------------------------------------------------------- /src/marvin_recipes/documents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/documents.py -------------------------------------------------------------------------------- /src/marvin_recipes/loaders/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/marvin_recipes/loaders/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/loaders/base.py -------------------------------------------------------------------------------- /src/marvin_recipes/loaders/discourse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/loaders/discourse.py -------------------------------------------------------------------------------- /src/marvin_recipes/loaders/github.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/loaders/github.py -------------------------------------------------------------------------------- /src/marvin_recipes/loaders/openapi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/loaders/openapi.py -------------------------------------------------------------------------------- /src/marvin_recipes/loaders/pdf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/loaders/pdf.py -------------------------------------------------------------------------------- /src/marvin_recipes/loaders/web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/loaders/web.py -------------------------------------------------------------------------------- /src/marvin_recipes/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/settings.py -------------------------------------------------------------------------------- /src/marvin_recipes/tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/marvin_recipes/tools/chroma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/tools/chroma.py -------------------------------------------------------------------------------- /src/marvin_recipes/utilities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/marvin_recipes/utilities/collections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/utilities/collections.py -------------------------------------------------------------------------------- /src/marvin_recipes/utilities/github.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/utilities/github.py -------------------------------------------------------------------------------- /src/marvin_recipes/utilities/ids.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/utilities/ids.py -------------------------------------------------------------------------------- /src/marvin_recipes/utilities/slack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/utilities/slack.py -------------------------------------------------------------------------------- /src/marvin_recipes/utilities/strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/utilities/strings.py -------------------------------------------------------------------------------- /src/marvin_recipes/vectorstores/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/marvin_recipes/vectorstores/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/vectorstores/base.py -------------------------------------------------------------------------------- /src/marvin_recipes/vectorstores/chroma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PrefectHQ/marvin-recipes/HEAD/src/marvin_recipes/vectorstores/chroma.py --------------------------------------------------------------------------------