Skip to content

Commit

Permalink
docs: standardize fireworks params (#20162)
Browse files Browse the repository at this point in the history
Related to #20085
  • Loading branch information
baskaryan authored Apr 8, 2024
1 parent 5ae0e68 commit 1718240
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/docs/integrations/providers/fireworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ There are two ways to authenticate using your Fireworks API key:
os.environ["FIREWORKS_API_KEY"] = "<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="<KEY>")
llm = Fireworks(api_key="<KEY>")
```

## Using the Fireworks LLM module
Expand All @@ -39,7 +39,7 @@ will work the mixtral-8x7b-instruct model.
from langchain_fireworks import Fireworks

llm = Fireworks(
fireworks_api_key="<KEY>",
api_key="<KEY>",
model="accounts/fireworks/models/mixtral-8x7b-instruct",
max_tokens=256)
llm("Name 3 sports.")
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/modules/model_io/chat/quick_start.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"<ChatModelTabs\n",
" openaiParams={`model=\"gpt-3.5-turbo-0125\", api_key=\"...\"`}\n",
" anthropicParams={`model=\"claude-3-sonnet-20240229\", anthropic_api_key=\"...\"`}\n",
" fireworksParams={`model=\"accounts/fireworks/models/mixtral-8x7b-instruct\", fireworks_api_key=\"...\"`}\n",
" fireworksParams={`model=\"accounts/fireworks/models/mixtral-8x7b-instruct\", api_key=\"...\"`}\n",
" mistralParams={`model=\"mistral-large-latest\", mistral_api_key=\"...\"`}\n",
" googleParams={`model=\"gemini-pro\", google_api_key=\"...\"`}\n",
" togetherParams={`, together_api_key=\"...\"`}\n",
Expand Down

0 comments on commit 1718240

Please sign in to comment.