File size: 202 Bytes
91c6bea
 
 
 
 
 
 
986437f
 
91c6bea
1
2
3
4
5
6
7
8
9
10
11
import os
from langchain_groq import ChatGroq
     
llm_groq = ChatGroq(
    model="llama3-8b-8192",
    temperature=0.1,
    api_key=os.getenv("GROQ_API_KEY"),
    max_retries=3,
    streaming=True,
)