Skip to content

Commit

Permalink
Merge pull request #4 from zzstoatzz/change-name
Browse files Browse the repository at this point in the history
better name
  • Loading branch information
zzstoatzz authored Feb 3, 2024
2 parents b62c4e8 + ef429be commit 25e142f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Marvin to PyPI
name: Publish to PyPI
on:
release:
types: [published]
Expand Down
8 changes: 4 additions & 4 deletions examples/refresh_chroma/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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"
)
)

0 comments on commit 25e142f

Please sign in to comment.