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 +```