From 63e36c0eb8e94009646bc2a2d8b21e8ea3daaebc Mon Sep 17 00:00:00 2001 From: Ali Salimli <67149699+elisalimli@users.noreply.github.com> Date: Thu, 23 May 2024 09:59:36 +0400 Subject: [PATCH 1/4] docs: add litellm to integrations page --- docs/integrations/litellm.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/integrations/litellm.md diff --git a/docs/integrations/litellm.md b/docs/integrations/litellm.md new file mode 100644 index 000000000..a57c46d84 --- /dev/null +++ b/docs/integrations/litellm.md @@ -0,0 +1,10 @@ +# LiteLLM + +LiteLLM allows you to call over 100 Large Language Models (LLMs) using the same input/output format. It also supports Logfire for logging and monitoring. + +To integrate Logfire with LiteLLM: +1. Set the `LOGFIRE_TOKEN` environment variable. +2. Add `logfire` to the callbacks of LiteLLM. + + +For more details, [check the official LiteLLM documentation.](https://docs.litellm.ai/docs/observability/logfire_integration) From 45b35909d5ba9f31fed3330b039ccc77712aa662 Mon Sep 17 00:00:00 2001 From: Ali Salimli <67149699+elisalimli@users.noreply.github.com> Date: Thu, 23 May 2024 12:44:30 +0400 Subject: [PATCH 2/4] chore: remove new line Co-authored-by: Marcelo Trylesinski --- docs/integrations/litellm.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/integrations/litellm.md b/docs/integrations/litellm.md index a57c46d84..fe8e8dff1 100644 --- a/docs/integrations/litellm.md +++ b/docs/integrations/litellm.md @@ -6,5 +6,4 @@ To integrate Logfire with LiteLLM: 1. Set the `LOGFIRE_TOKEN` environment variable. 2. Add `logfire` to the callbacks of LiteLLM. - For more details, [check the official LiteLLM documentation.](https://docs.litellm.ai/docs/observability/logfire_integration) From 3db53b3d6ebc43adb7213962b055cd23d51bae83 Mon Sep 17 00:00:00 2001 From: alisalim17 Date: Thu, 23 May 2024 12:50:59 +0400 Subject: [PATCH 3/4] chore: move litellm.md to third_party folder --- docs/integrations/{ => third_party}/litellm.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/integrations/{ => third_party}/litellm.md (100%) diff --git a/docs/integrations/litellm.md b/docs/integrations/third_party/litellm.md similarity index 100% rename from docs/integrations/litellm.md rename to docs/integrations/third_party/litellm.md From 1925a45ee8007278122278e8ad1a12fba494c5fd Mon Sep 17 00:00:00 2001 From: alisalim17 Date: Thu, 23 May 2024 12:51:38 +0400 Subject: [PATCH 4/4] chore: add litellm to mkdocs.yml --- mkdocs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mkdocs.yml b/mkdocs.yml index 57ea6d253..3d970fcec 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -120,6 +120,7 @@ nav: - Loguru: integrations/loguru.md - Third Party: - Mirascope: integrations/third_party/mirascope.md + - LiteLLM: integrations/third_party/litellm.md - Use Cases: - Web Frameworks: integrations/use_cases/web_frameworks.md - Reference: