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
Copy file name to clipboardExpand all lines: workflows/README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,3 +5,15 @@ This crate handles the configurations of models to be used, and implements vario
5
5
6
6
-**OpenAI**: We check that the chosen models are enabled for the user's profile by fetching their models with their API key. We filter out the disabled models.
7
7
-**Ollama**: We provide a sample workflow to measure TPS and then pick models that are above some TPS threshold. While calculating TPS, there is also a timeout so that beyond that timeout the TPS is not even considered and the model becomes invalid.
8
+
9
+
## Environment Variables
10
+
11
+
DKN Workflows make use of several environment variables, respecting the providers.
12
+
13
+
-`OPENAI_API_KEY` is used for OpenAI requests
14
+
-`OLLAMA_HOST` is used to connect to Ollama server
15
+
-`OLLAMA_PORT` is used to connect to Ollama server
16
+
-`OLLAMA_AUTO_PULL` indicates whether we should pull missing models automatically or not
0 commit comments