From 413e4035c1761c50186582d92d2d7667c0e28e1b Mon Sep 17 00:00:00 2001 From: Thomas Capelle Date: Wed, 22 May 2024 17:22:57 +0200 Subject: [PATCH] docs: Mistral docs fix (#1671) * add to sidebar * move image * cooler project name --- docs/docs/guides/ecosystem/mistral.md | 4 ++-- .../img => docs/guides/ecosystem}/mistral_trace.png | Bin docs/sidebars.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename docs/{static/img => docs/guides/ecosystem}/mistral_trace.png (100%) diff --git a/docs/docs/guides/ecosystem/mistral.md b/docs/docs/guides/ecosystem/mistral.md index 611ed095b0c..e3e0df7585b 100644 --- a/docs/docs/guides/ecosystem/mistral.md +++ b/docs/docs/guides/ecosystem/mistral.md @@ -1,6 +1,6 @@ --- sidebar_position: 1 -hide_table_of_contents: true +hide_table_of_contents: false --- # MistralAI @@ -17,7 +17,7 @@ Weave automatically tracks and logs LLM calls made via the [MistralAI Python lib 2. Initialize Weave in your Python script: ```python import weave - weave.init("my_llm_project") + weave.init("cheese_recommender") ``` :::note We patch the mistral `chat_completion` method for you to keep track of your LLM calls. diff --git a/docs/static/img/mistral_trace.png b/docs/docs/guides/ecosystem/mistral_trace.png similarity index 100% rename from docs/static/img/mistral_trace.png rename to docs/docs/guides/ecosystem/mistral_trace.png diff --git a/docs/sidebars.ts b/docs/sidebars.ts index a09943e219d..2809c335773 100644 --- a/docs/sidebars.ts +++ b/docs/sidebars.ts @@ -51,7 +51,7 @@ const sidebars: SidebarsConfig = { type: "category", label: "Ecosystem", link: { type: "doc", id: "guides/ecosystem/index" }, - items: ["guides/ecosystem/openai"], + items: ["guides/ecosystem/openai", "guides/ecosystem/mistral"], }, { type: "category",