Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artifacts_main directory missing? #521

Open
aimzieslol opened this issue Jun 30, 2024 · 2 comments
Open

artifacts_main directory missing? #521

aimzieslol opened this issue Jun 30, 2024 · 2 comments

Comments

@aimzieslol
Copy link

aimzieslol commented Jun 30, 2024

Context

git cloned the project into Google Colab. Used pip install -e . to make sure the requirements were in the environment. Added swarms to the sys.path.

Problem

There doesn't seem to be an artifact_main.py in the artifacts directory which causes the imports to fail here:

from swarms.artifacts.artifact_main import Artifact

Telemetry

As a side note, please document the ability to opt out of the embedded telemetry initialized here:

def activate_sentry():
    if use_telementry == "True":
        sentry_sdk.init(
            dsn="https://5d72dd59551c02f78391d2ea5872ddd4@o4504578305490944.ingest.us.sentry.io/4506951704444928",
            traces_sample_rate=1.0,
            profiles_sample_rate=1.0,
            enable_tracing=True,
            debug=True,
        )

I know it means a lot to some people the fact they can use os.environ['USE_TELEMETRY'] = False to opt out. I, personally, don't care; you've done great work and are offering this for free so more power to ya.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@evelynmitchell
Copy link
Contributor

I believe the Artifacts import problem has been fixed. Can you update and try again?

@evelynmitchell
Copy link
Contributor

I'll submit a doc patch for the telemetry issue. The brief answer is to set the environment variable:

USE_TELEMETRY="False"

to turn off telemetry and

USE_TELEMETRY="True"

to turn it on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants