From 01375d79ee29d6372eb948dabf2b5159724778eb Mon Sep 17 00:00:00 2001 From: Sambhav Dixit <94298612+sambhavnoobcoder@users.noreply.github.com> Date: Mon, 4 Nov 2024 13:19:15 +0530 Subject: [PATCH] Update docs for new tyoes support updated docs to reflect on the changes in the types of artifact support . --- docs/swarms/artifacts/artifact.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/swarms/artifacts/artifact.md b/docs/swarms/artifacts/artifact.md index f9551b2f..d7727f8e 100644 --- a/docs/swarms/artifacts/artifact.md +++ b/docs/swarms/artifacts/artifact.md @@ -41,7 +41,7 @@ The `Artifact` class includes various methods for creating, editing, saving, loa artifact = Artifact(file_path="example.txt", file_type="txt") artifact.create(initial_content="Initial file content") ``` - +The file type parameter supports the following file types: `.txt`, `.md`, `.py`, `.pdf`. #### `edit` @@ -240,4 +240,4 @@ new_artifact = Artifact.from_dict(artifact_dict) # Print the metrics of the new artifact print(new_artifact.get_metrics()) -``` \ No newline at end of file +```