(docs) simplify left nav names + use a section for making llm requests (#6799)

* fix emojis on docs

* add section on making LLM requests

* docs simplify sidebar
This commit is contained in:
Ishaan Jaff 2024-11-18 12:53:43 -08:00 committed by GitHub
parent bbdec2995a
commit 7bb5304323
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 42 additions and 39 deletions

View file

@ -1,4 +1,4 @@
# Anthropic `/v1/messages`
# Anthropic SDK
Pass-through endpoints for Anthropic - call provider-specific endpoint, in native format (no translation).

View file

@ -1,4 +1,4 @@
# Cohere API
# Cohere SDK
Pass-through endpoints for Cohere - call provider-specific endpoint, in native format (no translation).

View file

@ -1,4 +1,4 @@
# Google AI Studio
# Google AI Studio SDK
Pass-through endpoints for Google AI Studio - call provider-specific endpoint, in native format (no translation).

View file

@ -1,4 +1,4 @@
# Langfuse Endpoints
# Langfuse SDK
Pass-through endpoints for Langfuse - call langfuse endpoints with LiteLLM Virtual Key.

View file

@ -2,7 +2,7 @@ import Image from '@theme/IdealImage';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# [BETA] Vertex AI Endpoints
# Vertex AI SDK
Use VertexAI SDK to call endpoints on LiteLLM Gateway (native provider format)

View file

@ -1,6 +1,6 @@
import Image from '@theme/IdealImage';
# ➡️ Create Pass Through Endpoints
# Create Pass Through Endpoints
Add pass through routes to LiteLLM Proxy

View file

@ -113,7 +113,7 @@ const config = {
{
sidebarId: 'tutorialSidebar',
position: 'left',
label: '🚀 Hosted',
label: 'Hosted',
to: "docs/hosted"
},
{

View file

@ -40,6 +40,7 @@ const sidebars = {
"proxy/model_management",
"proxy/health",
"proxy/debugging",
"proxy/pass_through",
],
},
"proxy/demo",
@ -50,13 +51,24 @@ const sidebars = {
},
{
type: "link",
label: "📖 All Endpoints (Swagger)",
label: "All Endpoints (Swagger)",
href: "https://litellm-api.up.railway.app/",
},
"proxy/enterprise",
"proxy/user_keys",
"proxy/response_headers",
"proxy/reliability",
{
type: "category",
label: "Making LLM Requests",
items: [
"proxy/user_keys",
"proxy/response_headers",
"pass_through/vertex_ai",
"pass_through/google_ai_studio",
"pass_through/cohere",
"pass_through/anthropic_completion",
"pass_through/bedrock",
"pass_through/langfuse"
],
},
{
type: "category",
label: "Authentication",
@ -70,28 +82,6 @@ const sidebars = {
"proxy/multiple_admins",
],
},
{
type: "category",
label: "Spend Tracking + Budgets",
items: ["proxy/cost_tracking", "proxy/users", "proxy/custom_pricing", "proxy/team_budgets", "proxy/billing", "proxy/customers"],
},
{
type: "category",
label: "Routing",
items: ["proxy/load_balancing", "proxy/tag_routing", "proxy/team_based_routing", "proxy/customer_routing",],
},
{
type: "category",
label: "Pass-through Endpoints (Provider-specific)",
items: [
"pass_through/vertex_ai",
"pass_through/google_ai_studio",
"pass_through/cohere",
"pass_through/anthropic_completion",
"pass_through/bedrock",
"pass_through/langfuse"
],
},
{
type: "category",
label: "Admin UI",
@ -103,7 +93,18 @@ const sidebars = {
},
{
type: "category",
label: "🪢 Logging, Alerting, Metrics",
label: "Spend Tracking + Budgets",
items: ["proxy/cost_tracking", "proxy/users", "proxy/custom_pricing", "proxy/team_budgets", "proxy/billing", "proxy/customers"],
},
"proxy/reliability",
{
type: "category",
label: "Routing",
items: ["proxy/load_balancing", "proxy/tag_routing", "proxy/team_based_routing", "proxy/customer_routing",],
},
{
type: "category",
label: "Logging, Alerting, Metrics",
items: ["proxy/logging", "proxy/bucket", "proxy/team_logging","proxy/streaming_logging", "proxy/alerting", "proxy/prometheus",],
},
{
@ -123,14 +124,13 @@ const sidebars = {
},
{
type: "category",
label: "Secret Manager - storing LLM API Keys",
label: "Secret Managers",
items: [
"secret",
"oidc"
]
},
"proxy/caching",
"proxy/pass_through",
"proxy/call_hooks",
"proxy/rules",
]
@ -233,7 +233,7 @@ const sidebars = {
},
{
type: "category",
label: "Supported Endpoints - /images, /audio/speech, /assistants etc",
label: "Supported Endpoints",
items: [
"embedding/supported_embedding",
"image_generation",
@ -251,8 +251,11 @@ const sidebars = {
},
],
},
"routing",
"scheduler",
{
type: "category",
label: "Load Balancing",
items: ["routing", "scheduler"],
},
{
type: "category",
label: "LiteLLM Python SDK",