diff --git a/examples/function_calling/fireworks_functions_information_extraction.ipynb b/examples/function_calling/fireworks_functions_information_extraction.ipynb index d181bde..6db10c2 100644 --- a/examples/function_calling/fireworks_functions_information_extraction.ipynb +++ b/examples/function_calling/fireworks_functions_information_extraction.ipynb @@ -88,7 +88,7 @@ "model_name = \"accounts/fireworks/models/fw-function-call-34b-v0\"\n", "clinet = client = openai.OpenAI(\n", " base_url = \"https://api.fireworks.ai/inference/v1\",\n", - " api_key = os.environ[\"FW_API_KEY\"],\n", + " api_key = \"YOUR_FW_API_KEY\",\n", ")" ], "metadata": { @@ -616,4 +616,4 @@ }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +} diff --git a/examples/function_calling/fireworks_functions_qa.ipynb b/examples/function_calling/fireworks_functions_qa.ipynb index 06979af..b485dfa 100644 --- a/examples/function_calling/fireworks_functions_qa.ipynb +++ b/examples/function_calling/fireworks_functions_qa.ipynb @@ -83,7 +83,7 @@ "source": [ "client = openai.OpenAI(\n", " base_url = \"https://api.fireworks.ai/inference/v1\",\n", - " api_key = os.environ[\"FW_API_KEY\"],\n", + " api_key = \"YOUR_FW_API_KEY\",\n", ")\n", "model_name = \"accounts/fireworks/models/fw-function-call-34b-v0\"" ], @@ -476,4 +476,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +} diff --git a/examples/function_calling/fireworks_langchain_tool_usage.ipynb b/examples/function_calling/fireworks_langchain_tool_usage.ipynb index dd9b1a4..dc266f6 100644 --- a/examples/function_calling/fireworks_langchain_tool_usage.ipynb +++ b/examples/function_calling/fireworks_langchain_tool_usage.ipynb @@ -149,7 +149,7 @@ "\n", "llm = ChatOpenAI(\n", " base_url=\"https://api.fireworks.ai/inference/v1\",\n", - " api_key=os.environ[\"FW_API_KEY\"],\n", + " api_key=\"YOUR_FW_API_KEY\",\n", " model=\"accounts/fireworks/models/fw-function-call-34b-v0\",\n", " temperature=0.0,\n", " max_tokens=256,\n", @@ -157,7 +157,7 @@ "\n", "math_llm = ChatOpenAI(\n", " base_url=\"https://api.fireworks.ai/inference/v1\",\n", - " api_key=os.environ[\"FW_API_KEY\"],\n", + " api_key=\"YOUR_FW_API_KEY\",\n", " model=\"accounts/fireworks/models/mixtral-8x7b-instruct\",\n", " temperature=0.0,\n", ")" @@ -346,4 +346,4 @@ "outputs": [] } ] -} \ No newline at end of file +} diff --git a/examples/function_calling/fw_autogen_image_gen.ipynb b/examples/function_calling/fw_autogen_image_gen.ipynb index d1c3b3d..ce9d811 100644 --- a/examples/function_calling/fw_autogen_image_gen.ipynb +++ b/examples/function_calling/fw_autogen_image_gen.ipynb @@ -78,12 +78,12 @@ "config_list = [\n", " {\n", " \"model\": \"accounts/fireworks/models/fw-function-call-34b-v0\",\n", - " \"api_key\": os.environ[\"FW_API_KEY\"],\n", + " \"api_key\": \"YOUR_FW_API_KEY\",\n", " \"base_url\": \"https://api.fireworks.ai/inference/v1\",\n", " \"temperature\": 0.0\n", " }\n", "]\n", - "OPENAI_API_KEY = os.environ[\"OPENAI_API_KEY\"]" + "OPENAI_API_KEY = \"YOUR_OPENAI_API_KEY\"" ] }, { @@ -206,4 +206,4 @@ }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +}