File size: 291 Bytes
6cbca40
20c3a0e
6cbca40
 
 
 
 
 
 
dcfb575
6cbca40
 
 
20c3a0e
6cbca40
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from dotenv import load_dotenv

load_dotenv()
from langchain_google_genai import ChatGoogleGenerativeAI


# Initialize model
model = ChatGoogleGenerativeAI(
    model="gemini-2.5-flash",
    temperature=0.7,
    max_tokens=None,
    timeout=None,
    max_retries=2,
    thinking_budget=0,
)