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: docs/source/get_started/quickstart.rst
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -220,40 +220,40 @@ Use Plano as a Model Proxy (Gateway)
220
220
Step 1. Create plano config file
221
221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222
222
223
-
Plano operates based on a configuration file where you can define LLM providers, prompt targets, guardrails, etc. Below is an example configuration that defines OpenAI and Mistral LLM providers.
223
+
Plano operates based on a configuration file where you can define LLM providers, prompt targets, guardrails, etc. Below is an example configuration that defines OpenAI and Anthropic LLM providers.
224
224
225
225
Create ``plano_config.yaml`` file with the following content:
226
226
227
227
.. code-block:: yaml
228
228
229
-
version: v0.1.0
229
+
version: v0.3.0
230
230
231
231
listeners:
232
-
egress_traffic:
232
+
- type: model
233
+
name: model_1
233
234
address: 0.0.0.0
234
235
port: 12000
235
-
message_format: openai
236
-
timeout: 30s
237
236
238
-
model_providers:
239
-
- access_key: $OPENAI_API_KEY
240
-
model: openai/gpt-4o
241
-
default: true
237
+
model_providers:
238
+
239
+
- access_key: $OPENAI_API_KEY
240
+
model: openai/gpt-4o
241
+
default: true
242
242
243
-
- access_key: $MISTRAL_API_KEY
244
-
model: mistralministral-3b-latest
243
+
- access_key: $ANTHROPIC_API_KEY
244
+
model: anthropic/claude-sonnet-4-5
245
245
246
246
Step 2. Start plano
247
247
~~~~~~~~~~~~~~~~~~~
248
248
249
-
Once the config file is created, ensure that you have environment variables set up for ``MISTRAL_API_KEY`` and ``OPENAI_API_KEY`` (or these are defined in a ``.env`` file).
249
+
Once the config file is created, ensure that you have environment variables set up for ``ANTHROPIC_API_KEY`` and ``OPENAI_API_KEY`` (or these are defined in a ``.env`` file).
250
250
251
251
Start Plano:
252
252
253
253
.. code-block:: console
254
254
255
255
$ planoai up plano_config.yaml
256
-
2024-12-05 11:24:51,288 - cli.main - INFO - Starting plano cli version: 0.1.5
256
+
2024-12-05 11:24:51,288 - cli.main - INFO - Starting plano cli version: 0.4.0
257
257
2024-12-05 11:24:51,825 - cli.utils - INFO - Schema validation successful!
258
258
2024-12-05 11:24:51,825 - cli.main - INFO - Starting plano
0 commit comments