File size: 315 Bytes
765a4ee cffd438 765a4ee 4aa9702 |
1 2 3 4 5 6 7 8 9 10 11 |
from langchain_groq import ChatGroq
import os
from dotenv import load_dotenv
load_dotenv()
llm = ChatGroq(groq_api_key=os.getenv("GROQ_API_KEY"), model_name="llama-3.3-70b-versatile")
if __name__ == "__main__":
response = llm.invoke("Two most important ingradient in samosa are ")
print(response.content) |