You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that Moonshot requires an environment file to link test assets in moonshot-data to moonshot. However, when we encounter a failure in installing requirements and fix the issues related to dependencies, we notice that this environment file is not created. We therefore cannot reference test assets in moonshot-data.
The text was updated successfully, but these errors were encountered:
thanks for bringing up this issue, we will fix this in the next release. For now, a solution for you is that you can manually create the .env file to point to the asset folders.
An example of how the .env file will look like:
ATTACK_MODULES="./moonshot-data/attack-modules"
CONNECTORS="./moonshot-data/connectors"
CONNECTORS_ENDPOINTS="./moonshot-data/connectors-endpoints"
CONTEXT_STRATEGY="./moonshot-data/context-strategy"
COOKBOOKS="./moonshot-data/cookbooks"
DATABASES="./moonshot-data/generated-outputs/databases"
DATABASES_MODULES="./moonshot-data/databases-modules"
DATASETS="./moonshot-data/datasets"
IO_MODULES="./moonshot-data/io-modules"
METRICS="./moonshot-data/metrics"
PROMPT_TEMPLATES="./moonshot-data/prompt-templates"
RECIPES="./moonshot-data/recipes"
RESULTS="./moonshot-data/generated-outputs/results"
RESULTS_MODULES="./moonshot-data/results-modules"
RUNNERS="./moonshot-data/generated-outputs/runners"
RUNNERS_MODULES="./moonshot-data/runners-modules"
TOKENIZERS_PARALLELISM = false
# For Web API
HOST_ADDRESS=127.0.0.1 # The interface the server will bind to
HOST_PORT=5000
# Below is the uri of the Web UI webhook.
# In the next section, if Web UI listens on a different port,
# update this uri accordingly and restart.
MOONSHOT_UI_CALLBACK_URL=http://localhost:3000/api/v1/benchmarks/status
I understand that Moonshot requires an environment file to link test assets in moonshot-data to moonshot. However, when we encounter a failure in installing requirements and fix the issues related to dependencies, we notice that this environment file is not created. We therefore cannot reference test assets in moonshot-data.
The text was updated successfully, but these errors were encountered: