Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

example vertex ai.jsonl

Ishaan Jaffd7ab4402807b
diff --git a/litellm/tests/vertex_ai.jsonl b/litellm/tests/vertex_ai.jsonl
new file mode 100644
index 00000000000..6ec5baaf96b
--- /dev/null
+++ b/litellm/tests/vertex_ai.jsonl
@@ -0,0 +1,22 @@
+[
+ {
+ "messages": [
+ {
+ "role": "system",
+ "content": "You should classify the text into one of the following classes:[business, entertainment]"
+ },
+ { "role": "user", "content": "Diversify your investment portfolio" },
+ { "role": "model", "content": "business" }
+ ]
+ },
+ {
+ "messages": [
+ {
+ "role": "system",
+ "content": "You should classify the text into one of the following classes:[business, entertainment]"
+ },
+ { "role": "user", "content": "Watch a live concert" },
+ { "role": "model", "content": "entertainment" }
+ ]
+ }
+]
\ No newline at end of file