litellm-mirror/docs/my-website/sidebars.js
2023-09-07 21:11:37 -07:00

105 lines
3 KiB
JavaScript

/**
* 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: [
{ type: "doc", id: "index" }, // NEW
'tutorials/compare_llms',
{
type: "category",
label: "Completion()",
items: [
"completion/input",
"completion/output",
"completion/model_alias",
"completion/reliable_completions",
"completion/stream",
"completion/batching"
],
},
{
type: "category",
label: "Embedding()",
items: ["embedding/supported_embedding"],
},
{
type: "category",
label: "Supported Models + Providers",
link: {
type: 'generated-index',
title: 'Providers',
description: 'Learn how to deploy + call models from different providers on LiteLLM',
slug: '/providers',
},
items: ["providers/huggingface", "providers/openai", "providers/azure", "providers/vertex", "providers/anthropic", "providers/vllm", "providers/ai21", "providers/replicate", "providers/cohere", "providers/togetherai", "providers/aws_sagemaker", "providers/aleph_alpha", "providers/baseten", "providers/openrouter", "providers/ollama", "providers/custom"]
},
"token_usage",
"exception_mapping",
'debugging/local_debugging',
'debugging/hosted_debugging',
{
type: 'category',
label: 'Tutorials',
items: [
"tutorials/model_fallbacks",
'tutorials/ab_test_llms',
'tutorials/huggingface_tutorial',
'tutorials/TogetherAI_liteLLM',
'tutorials/finetuned_chat_gpt',
'tutorials/sagemaker_llms',
'tutorials/text_completion',
'tutorials/litellm_Test_Multiple_Providers',
"tutorials/first_playground",
],
},
{
type: "category",
label: "Logging & Observability",
items: [
"observability/callbacks",
"observability/integrations",
"observability/promptlayer_integration",
"observability/langfuse_integration",
"observability/traceloop_integration",
"observability/llmonitor_integration",
"observability/helicone_integration",
"observability/supabase_integration",
],
},
{
type: "category",
label: "Caching",
items: [
"caching/caching",
"caching/gpt_cache",
],
},
{
type: 'category',
label: 'Extras',
items: [
'extras/secret',
'extras/contributing',
],
},
"projects",
"troubleshoot",
"contact",
],
};
module.exports = sidebars;