From 64710b4d1d4c42f9ed7b9c91c6226e02263ed3f9 Mon Sep 17 00:00:00 2001 From: Believethehype Date: Wed, 20 Dec 2023 09:32:23 +0100 Subject: [PATCH] added .env_example for examples --- examples/ollama_dvm/.env_example | 17 +++++++++++++++++ examples/tts_dvm/.env_example | 15 +++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 examples/ollama_dvm/.env_example create mode 100644 examples/tts_dvm/.env_example diff --git a/examples/ollama_dvm/.env_example b/examples/ollama_dvm/.env_example new file mode 100644 index 0000000..eff18ab --- /dev/null +++ b/examples/ollama_dvm/.env_example @@ -0,0 +1,17 @@ +#Create an account with a lnbits instance of your choice, add the admin key and id here. This account will be used to create a new lnbits wallet for each dvm/bot +LNBITS_ADMIN_KEY = "" +LNBITS_ADMIN_ID = "" +LNBITS_HOST = "https://lnbits.com" #Use your own/a trusted instance ideally. +# In order to create a zappable lightning address, host nostdress on your domain or use this preinstalled domain. +# We will use the api to create and manage zapable lightning addresses +NOSTDRESS_DOMAIN = "nostrdvm.com" + +#Backend Specific Options for tasks that require them. A DVM needing these should only be started if these are set. +OPENAI_API_KEY = "" # Enter your OpenAI API Key to use DVMs with OpenAI services + +# We will automatically create dtags and private keys based on the identifier variable in main. +# If your DVM already has a dtag and private key you can replace it here before publishing the DTAG to not create a new one. +# The name and NIP90 info of the DVM can be changed but the identifier must stay the same in order to not create a different dtag. + +# We will also create new wallets on the given lnbits instance for each dvm. If you want to use an existing wallet, you can replace the parameters here as well. +# Make sure you backup this file to keep access to your wallets \ No newline at end of file diff --git a/examples/tts_dvm/.env_example b/examples/tts_dvm/.env_example new file mode 100644 index 0000000..ef4a5e4 --- /dev/null +++ b/examples/tts_dvm/.env_example @@ -0,0 +1,15 @@ +#Create an account with a lnbits instance of your choice, add the admin key and id here. This account will be used to create a new lnbits wallet for each dvm/bot +LNBITS_ADMIN_KEY = "" +LNBITS_ADMIN_ID = "" +LNBITS_HOST = "https://lnbits.com" #Use your own/a trusted instance ideally. +# In order to create a zappable lightning address, host nostdress on your domain or use this preinstalled domain. +# We will use the api to create and manage zapable lightning addresses +NOSTDRESS_DOMAIN = "nostrdvm.com" + + +# We will automatically create dtags and private keys based on the identifier variable in main. +# If your DVM already has a dtag and private key you can replace it here before publishing the DTAG to not create a new one. +# The name and NIP90 info of the DVM can be changed but the identifier must stay the same in order to not create a different dtag. + +# We will also create new wallets on the given lnbits instance for each dvm. If you want to use an existing wallet, you can replace the parameters here as well. +# Make sure you backup this file to keep access to your wallets \ No newline at end of file