Przeglądaj źródła

add .env settings and configure yml

Justin Lee 4 miesięcy temu
rodzic
commit
096249bf33

+ 2 - 0
.gitignore

@@ -3,3 +3,5 @@ __pycache__
 .ipynb_checkpoints
 wandb/
 artifacts/
+
+**/.env

+ 5 - 0
recipes/use_cases/prompt-migration/.env.template

@@ -0,0 +1,5 @@
+OPENAI_API_KEY=YOUR_OPENAI_API_KEY_HERE
+REPLICATE_API_TOKEN=YOUR_REPLICATE_TOKEN_HERE
+DATABRICKS_API_TOKEN=your_databricks_token_here
+DATABRICKS_API_URL=your_databricks_endpoint_url 
+TOGETHER_API_KEY=your_together_ai_key_here

+ 13 - 0
recipes/use_cases/prompt-migration/environment.yml

@@ -0,0 +1,13 @@
+name: prompt-migration
+channels:
+  - defaults
+  - pytorch
+dependencies:
+  - python=3.9
+  - pip
+  - pip:
+    - dspy-ai
+    - torch
+    - transformers
+    - openai
+    - databricks-sdk