Update Components/GooglePalmChat.py
Browse files
Components/GooglePalmChat.py
CHANGED
@@ -9,7 +9,7 @@ load_dotenv() # take environment variables from .env (especially openai api key
|
|
9 |
|
10 |
# Create Google Palm LLM model
|
11 |
model_name = "models/text-bison-001"
|
12 |
-
llm = GoogleGenerativeAI(google_api_key=os.environ["GOOGLE_PALM_API"],
|
13 |
vectordb_file_path = "faiss_index_V2"
|
14 |
|
15 |
def get_qa_chain(embeddings):
|
|
|
9 |
|
10 |
# Create Google Palm LLM model
|
11 |
model_name = "models/text-bison-001"
|
12 |
+
llm = GoogleGenerativeAI(google_api_key=os.environ["GOOGLE_PALM_API"], model=model_name)
|
13 |
vectordb_file_path = "faiss_index_V2"
|
14 |
|
15 |
def get_qa_chain(embeddings):
|