AjayKr09 commited on
Commit
ab4aae3
·
verified ·
1 Parent(s): 63b0800

Update pages/2_Non-Interactive Chat Bot.py

Browse files
pages/2_Non-Interactive Chat Bot.py CHANGED
@@ -3,8 +3,8 @@ import os
3
  from langchain_google_genai import ChatGoogleGenerativeAI
4
  from langchain_core.prompts import ChatPromptTemplate
5
 
6
- # Set your Gemini API key from environment variables
7
- gemini_api_key = os.getenv("GEMINI_API_KEY")
8
 
9
  # Initialize the Gemini API-powered chatbot model
10
  model_gemini = ChatGoogleGenerativeAI(
 
3
  from langchain_google_genai import ChatGoogleGenerativeAI
4
  from langchain_core.prompts import ChatPromptTemplate
5
 
6
+ # Set your Google API key from environment variables
7
+ gemini_api_key = os.getenv("GOOGLE_API_KEY")
8
 
9
  # Initialize the Gemini API-powered chatbot model
10
  model_gemini = ChatGoogleGenerativeAI(