2023-08-13 02:30:32 +08:00
|
|
|
/**
|
|
|
|
|
* Creating a sidebar enables you to:
|
|
|
|
|
- create an ordered group of docs
|
|
|
|
|
- render a sidebar for each doc of that group
|
|
|
|
|
- provide next/previous navigation
|
|
|
|
|
|
|
|
|
|
The sidebars can be generated from the filesystem, or explicitly defined here.
|
|
|
|
|
|
|
|
|
|
Create as many sidebars as you want.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// @ts-check
|
|
|
|
|
|
|
|
|
|
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
|
|
|
|
const sidebars = {
|
|
|
|
|
// // By default, Docusaurus generates a sidebar from the docs folder structure
|
|
|
|
|
|
|
|
|
|
// But you can create a sidebar manually
|
|
|
|
|
tutorialSidebar: [
|
2023-08-22 03:38:44 +08:00
|
|
|
{ type: "doc", id: "index" }, // NEW
|
2023-08-13 02:30:32 +08:00
|
|
|
{
|
2023-08-22 03:38:44 +08:00
|
|
|
type: "category",
|
|
|
|
|
label: "Completion()",
|
2023-09-10 23:33:50 +08:00
|
|
|
link: {
|
|
|
|
|
type: 'generated-index',
|
|
|
|
|
title: 'Completion()',
|
|
|
|
|
description: 'Details on the completion() function',
|
|
|
|
|
slug: '/completion',
|
|
|
|
|
},
|
2023-09-07 04:08:28 +08:00
|
|
|
items: [
|
|
|
|
|
"completion/input",
|
2023-10-06 22:48:37 +08:00
|
|
|
"completion/prompt_formatting",
|
2023-09-07 04:08:28 +08:00
|
|
|
"completion/output",
|
2023-10-15 09:39:30 +08:00
|
|
|
"exception_mapping",
|
2023-09-12 09:32:50 +08:00
|
|
|
"completion/stream",
|
|
|
|
|
"completion/message_trimming",
|
2023-10-15 09:39:30 +08:00
|
|
|
"completion/function_call",
|
2023-09-07 04:08:28 +08:00
|
|
|
"completion/model_alias",
|
2023-09-12 03:24:19 +08:00
|
|
|
"completion/batching",
|
|
|
|
|
"completion/mock_requests",
|
2023-11-22 10:00:14 +08:00
|
|
|
"completion/reliable_completions",
|
2023-09-07 04:08:28 +08:00
|
|
|
],
|
2023-08-13 02:30:32 +08:00
|
|
|
},
|
|
|
|
|
{
|
2023-08-22 03:38:44 +08:00
|
|
|
type: "category",
|
2023-12-27 14:29:49 +08:00
|
|
|
label: "Embedding(), Moderation(), Image Generation()",
|
2023-10-24 06:22:41 +08:00
|
|
|
items: [
|
|
|
|
|
"embedding/supported_embedding",
|
|
|
|
|
"embedding/async_embedding",
|
|
|
|
|
"embedding/moderation",
|
2023-12-27 14:29:49 +08:00
|
|
|
"image_generation"
|
2023-10-24 06:22:41 +08:00
|
|
|
],
|
2023-08-13 02:30:32 +08:00
|
|
|
},
|
2023-09-05 07:38:19 +08:00
|
|
|
{
|
|
|
|
|
type: "category",
|
2023-10-05 01:20:07 +08:00
|
|
|
label: "Supported Models & Providers",
|
2023-09-05 07:38:19 +08:00
|
|
|
link: {
|
|
|
|
|
type: 'generated-index',
|
|
|
|
|
title: 'Providers',
|
|
|
|
|
description: 'Learn how to deploy + call models from different providers on LiteLLM',
|
|
|
|
|
slug: '/providers',
|
|
|
|
|
},
|
2023-09-10 07:12:21 +08:00
|
|
|
items: [
|
|
|
|
|
"providers/openai",
|
2023-12-15 04:03:29 +08:00
|
|
|
"providers/openai_compatible",
|
2023-09-10 07:12:21 +08:00
|
|
|
"providers/azure",
|
2023-09-27 03:42:49 +08:00
|
|
|
"providers/huggingface",
|
2023-10-12 01:52:56 +08:00
|
|
|
"providers/ollama",
|
2023-09-10 07:12:21 +08:00
|
|
|
"providers/vertex",
|
2023-09-27 03:42:49 +08:00
|
|
|
"providers/palm",
|
2024-01-08 13:32:06 +08:00
|
|
|
"providers/gemini",
|
2023-12-14 21:19:37 +08:00
|
|
|
"providers/mistral",
|
2023-09-10 07:12:21 +08:00
|
|
|
"providers/anthropic",
|
2023-09-30 06:28:46 +08:00
|
|
|
"providers/aws_sagemaker",
|
|
|
|
|
"providers/bedrock",
|
2023-10-26 00:12:29 +08:00
|
|
|
"providers/anyscale",
|
2023-10-20 01:02:39 +08:00
|
|
|
"providers/perplexity",
|
2023-09-10 07:12:21 +08:00
|
|
|
"providers/vllm",
|
2024-01-02 18:09:25 +08:00
|
|
|
"providers/xinference",
|
2023-12-29 14:40:32 +08:00
|
|
|
"providers/cloudflare_workers",
|
2023-09-27 04:32:55 +08:00
|
|
|
"providers/deepinfra",
|
2023-09-10 07:12:21 +08:00
|
|
|
"providers/ai21",
|
2023-09-15 01:27:51 +08:00
|
|
|
"providers/nlp_cloud",
|
2023-09-10 07:12:21 +08:00
|
|
|
"providers/replicate",
|
|
|
|
|
"providers/cohere",
|
|
|
|
|
"providers/togetherai",
|
2023-12-28 19:42:58 +08:00
|
|
|
"providers/voyage",
|
2023-09-10 07:12:21 +08:00
|
|
|
"providers/aleph_alpha",
|
|
|
|
|
"providers/baseten",
|
|
|
|
|
"providers/openrouter",
|
|
|
|
|
"providers/custom_openai_proxy",
|
2023-09-20 00:24:10 +08:00
|
|
|
"providers/petals",
|
2023-09-10 07:12:21 +08:00
|
|
|
]
|
2023-09-05 07:38:19 +08:00
|
|
|
},
|
2023-12-03 06:09:37 +08:00
|
|
|
{
|
|
|
|
|
type: "category",
|
2023-12-03 11:24:58 +08:00
|
|
|
label: "💥 OpenAI Proxy Server",
|
2023-12-03 06:09:37 +08:00
|
|
|
link: {
|
|
|
|
|
type: 'generated-index',
|
|
|
|
|
title: '💥 OpenAI Proxy Server',
|
|
|
|
|
description: `Proxy Server to call 100+ LLMs in a unified interface, load balance deployments, track costs per user`,
|
|
|
|
|
slug: '/simple_proxy',
|
|
|
|
|
},
|
|
|
|
|
items: [
|
|
|
|
|
"proxy/quick_start",
|
2023-12-14 10:58:46 +08:00
|
|
|
"proxy/configs",
|
2024-01-19 03:21:55 +08:00
|
|
|
{
|
|
|
|
|
type: 'link',
|
2024-01-20 00:45:23 +08:00
|
|
|
label: '📖 All Endpoints',
|
2024-01-19 03:21:55 +08:00
|
|
|
href: 'https://litellm-api.up.railway.app/',
|
|
|
|
|
},
|
2024-01-01 14:22:47 +08:00
|
|
|
"proxy/user_keys",
|
2023-12-03 06:09:37 +08:00
|
|
|
"proxy/virtual_keys",
|
2023-12-27 23:00:20 +08:00
|
|
|
"proxy/users",
|
2024-01-17 12:09:43 +08:00
|
|
|
"proxy/ui",
|
2023-12-05 01:36:37 +08:00
|
|
|
"proxy/model_management",
|
2024-01-20 00:45:23 +08:00
|
|
|
"proxy/health",
|
2024-01-30 07:21:12 +08:00
|
|
|
"proxy/debugging",
|
2024-01-20 00:45:23 +08:00
|
|
|
{
|
|
|
|
|
"type": "category",
|
|
|
|
|
"label": "🔥 Load Balancing",
|
|
|
|
|
"items": [
|
|
|
|
|
"proxy/load_balancing",
|
|
|
|
|
"proxy/reliability",
|
|
|
|
|
]
|
|
|
|
|
},
|
2024-01-19 03:38:02 +08:00
|
|
|
{
|
|
|
|
|
"type": "category",
|
2024-01-20 00:45:23 +08:00
|
|
|
"label": "Logging, Alerting, Caching",
|
2024-01-19 03:38:02 +08:00
|
|
|
"items": [
|
|
|
|
|
"proxy/logging",
|
|
|
|
|
"proxy/alerting",
|
|
|
|
|
"proxy/streaming_logging",
|
2024-01-20 00:45:23 +08:00
|
|
|
"proxy/caching",
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "category",
|
|
|
|
|
"label": "Admin Controls",
|
|
|
|
|
"items": [
|
|
|
|
|
"proxy/call_hooks",
|
|
|
|
|
"proxy/rules",
|
2024-01-19 03:38:02 +08:00
|
|
|
]
|
|
|
|
|
},
|
2023-12-03 06:09:37 +08:00
|
|
|
"proxy/deploy",
|
2024-01-01 15:10:12 +08:00
|
|
|
"proxy/cli",
|
2023-12-03 06:09:37 +08:00
|
|
|
]
|
|
|
|
|
},
|
2024-01-23 10:20:15 +08:00
|
|
|
"proxy/custom_pricing",
|
2023-10-19 05:20:45 +08:00
|
|
|
"routing",
|
2023-11-21 11:14:00 +08:00
|
|
|
"rules",
|
2023-10-12 01:54:11 +08:00
|
|
|
"set_keys",
|
2023-11-24 03:13:24 +08:00
|
|
|
"budget_manager",
|
2023-12-02 12:07:20 +08:00
|
|
|
"secret",
|
2023-10-05 02:30:54 +08:00
|
|
|
"completion/token_usage",
|
2023-12-29 16:11:29 +08:00
|
|
|
"load_test",
|
2023-08-13 02:30:32 +08:00
|
|
|
{
|
2023-08-22 03:38:44 +08:00
|
|
|
type: "category",
|
|
|
|
|
label: "Logging & Observability",
|
|
|
|
|
items: [
|
2023-10-08 08:49:34 +08:00
|
|
|
'debugging/local_debugging',
|
2023-08-22 03:38:44 +08:00
|
|
|
"observability/callbacks",
|
2023-09-10 09:52:07 +08:00
|
|
|
"observability/custom_callback",
|
2023-11-19 06:56:16 +08:00
|
|
|
"observability/langfuse_integration",
|
2023-09-28 12:42:45 +08:00
|
|
|
"observability/sentry",
|
2023-08-27 03:07:24 +08:00
|
|
|
"observability/promptlayer_integration",
|
2023-10-18 09:15:58 +08:00
|
|
|
"observability/wandb_integration",
|
2023-10-19 03:13:38 +08:00
|
|
|
"observability/langsmith_integration",
|
2023-10-20 00:32:29 +08:00
|
|
|
"observability/slack_integration",
|
2023-08-30 18:08:53 +08:00
|
|
|
"observability/traceloop_integration",
|
2023-08-22 03:38:44 +08:00
|
|
|
"observability/llmonitor_integration",
|
|
|
|
|
"observability/helicone_integration",
|
|
|
|
|
"observability/supabase_integration",
|
2023-10-08 08:49:34 +08:00
|
|
|
`observability/telemetry`,
|
2023-08-22 03:38:44 +08:00
|
|
|
],
|
2023-08-13 02:30:32 +08:00
|
|
|
},
|
2024-01-03 18:51:23 +08:00
|
|
|
"caching/redis_cache",
|
2024-01-09 19:39:41 +08:00
|
|
|
{
|
|
|
|
|
type: 'category',
|
|
|
|
|
label: 'Tutorials',
|
|
|
|
|
items: [
|
|
|
|
|
'tutorials/azure_openai',
|
|
|
|
|
'tutorials/oobabooga',
|
|
|
|
|
"tutorials/gradio_integration",
|
|
|
|
|
'tutorials/huggingface_codellama',
|
|
|
|
|
'tutorials/huggingface_tutorial',
|
|
|
|
|
'tutorials/TogetherAI_liteLLM',
|
|
|
|
|
'tutorials/finetuned_chat_gpt',
|
|
|
|
|
'tutorials/sagemaker_llms',
|
|
|
|
|
'tutorials/text_completion',
|
|
|
|
|
"tutorials/first_playground",
|
|
|
|
|
"tutorials/model_fallbacks",
|
|
|
|
|
],
|
|
|
|
|
},
|
2023-09-27 12:39:05 +08:00
|
|
|
{
|
|
|
|
|
type: "category",
|
|
|
|
|
label: "LangChain, LlamaIndex Integration",
|
|
|
|
|
items: [
|
|
|
|
|
"langchain/langchain"
|
|
|
|
|
],
|
|
|
|
|
},
|
2023-08-26 21:07:50 +08:00
|
|
|
{
|
|
|
|
|
type: 'category',
|
|
|
|
|
label: 'Extras',
|
|
|
|
|
items: [
|
2023-08-30 12:37:58 +08:00
|
|
|
'extras/contributing',
|
2023-10-23 22:56:55 +08:00
|
|
|
"proxy_server",
|
2023-10-05 00:43:59 +08:00
|
|
|
{
|
|
|
|
|
type: "category",
|
|
|
|
|
label: "❤️ 🚅 Projects built on LiteLLM",
|
|
|
|
|
link: {
|
|
|
|
|
type: 'generated-index',
|
|
|
|
|
title: 'Projects built on LiteLLM',
|
|
|
|
|
description: 'Learn how to deploy + call models from different providers on LiteLLM',
|
|
|
|
|
slug: '/project',
|
|
|
|
|
},
|
|
|
|
|
items: [
|
2023-12-15 10:24:34 +08:00
|
|
|
"projects/Docq.AI",
|
2023-10-05 00:43:59 +08:00
|
|
|
"projects/OpenInterpreter",
|
|
|
|
|
"projects/FastREPL",
|
|
|
|
|
"projects/PROMPTMETHEUS",
|
|
|
|
|
"projects/Codium PR Agent",
|
|
|
|
|
"projects/Prompt2Model",
|
|
|
|
|
"projects/SalesGPT",
|
|
|
|
|
"projects/Quivr",
|
|
|
|
|
"projects/Langstream",
|
|
|
|
|
"projects/Otter",
|
|
|
|
|
"projects/GPT Migrate",
|
|
|
|
|
"projects/YiVal",
|
|
|
|
|
"projects/LiteLLM Proxy",
|
|
|
|
|
]
|
|
|
|
|
},
|
2023-08-26 21:07:50 +08:00
|
|
|
],
|
|
|
|
|
},
|
2023-10-06 02:43:37 +08:00
|
|
|
"migration",
|
2023-08-22 03:38:44 +08:00
|
|
|
"troubleshoot",
|
2023-08-13 02:30:32 +08:00
|
|
|
],
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
module.exports = sidebars;
|