From 17182406f3d4c7bee715dbcefaa38a08e72381ae Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Mon, 8 Apr 2024 10:57:56 -0500 Subject: [PATCH] docs: standardize fireworks params (#20162) Related to #20085 --- docs/docs/integrations/providers/fireworks.md | 6 +++--- docs/docs/modules/model_io/chat/quick_start.ipynb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/integrations/providers/fireworks.md b/docs/docs/integrations/providers/fireworks.md index f07e55d8fb8..d277ad4cf01 100644 --- a/docs/docs/integrations/providers/fireworks.md +++ b/docs/docs/integrations/providers/fireworks.md @@ -24,10 +24,10 @@ There are two ways to authenticate using your Fireworks API key: os.environ["FIREWORKS_API_KEY"] = "" ``` -2. Setting `fireworks_api_key` field in the Fireworks LLM module. +2. Setting `api_key` field in the Fireworks LLM module. ```python - llm = Fireworks(fireworks_api_key="") + llm = Fireworks(api_key="") ``` ## Using the Fireworks LLM module @@ -39,7 +39,7 @@ will work the mixtral-8x7b-instruct model. from langchain_fireworks import Fireworks llm = Fireworks( - fireworks_api_key="", + api_key="", model="accounts/fireworks/models/mixtral-8x7b-instruct", max_tokens=256) llm("Name 3 sports.") diff --git a/docs/docs/modules/model_io/chat/quick_start.ipynb b/docs/docs/modules/model_io/chat/quick_start.ipynb index 7df73f959eb..a70f62192ec 100644 --- a/docs/docs/modules/model_io/chat/quick_start.ipynb +++ b/docs/docs/modules/model_io/chat/quick_start.ipynb @@ -54,7 +54,7 @@ "