Skip to content

Commit

Permalink
docs: update module imports for fireworks documentation (langchain-ai…
Browse files Browse the repository at this point in the history
…#19377)

**Description:** Update module imports for Fireworks documentation
**Issue:** Module imports not present or in incorrect location
**Dependencies:** None
  • Loading branch information
sepiatone authored and gkorland committed Mar 30, 2024
1 parent 20fccd5 commit 2f557d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/docs/integrations/llms/fireworks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
"import getpass\n",
"import os\n",
"\n",
"from langchain_fireworks import Fireworks\n",
"\n",
"if \"FIREWORKS_API_KEY\" not in os.environ:\n",
" os.environ[\"FIREWORKS_API_KEY\"] = getpass.getpass(\"Fireworks API Key:\")\n",
"\n",
Expand Down Expand Up @@ -181,7 +183,7 @@
],
"source": [
"from langchain.prompts import PromptTemplate\n",
"from langchain_community.llms.fireworks import Fireworks\n",
"from langchain_fireworks import Fireworks\n",
"\n",
"llm = Fireworks(\n",
" model=\"accounts/fireworks/models/mixtral-8x7b-instruct\",\n",
Expand Down Expand Up @@ -249,7 +251,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.9.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 2f557d8

Please sign in to comment.