bupa1018's picture
Update llm.py
15a869d
raw
history blame
183 Bytes
from langchain_groq import ChatGroq
def get_groq_llm(model_name, temperature, api_key):
llm = ChatGroq(model=model_name, temperature=temperature, api_key=api_key)
return llm