diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 776a9a9..dfec2de 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -1,4 +1,4 @@ -name: Publish Marvin to PyPI +name: Publish to PyPI on: release: types: [published] diff --git a/examples/refresh_chroma/main.py b/examples/refresh_chroma/main.py index d52ba6e..21230b5 100644 --- a/examples/refresh_chroma/main.py +++ b/examples/refresh_chroma/main.py @@ -44,13 +44,13 @@ async def run_loader(loader: Loader) -> list[Document]: return await loader.load() -@flow(name="Update Marvin's Knowledge", log_prints=True) +@flow(name="Update Knowledge", log_prints=True) async def update_marvin_knowledge( - collection_name: str = "marvin", + collection_name: str = "default", chroma_client_type: str = "base", mode: Literal["upsert", "reset"] = "upsert", ): - """Flow updating Marvin's knowledge with info from the Prefect community.""" + """Flow updating vectorstore with info from the Prefect community.""" with patch( "raggy.loaders.web.html_to_content", partial(html_to_content, html_parsing_fn=html_parser), @@ -82,6 +82,6 @@ async def update_marvin_knowledge( asyncio.run( update_marvin_knowledge( - collection_name="marvin", chroma_client_type="base", mode="reset" + collection_name="testing", chroma_client_type="base", mode="reset" ) )