Spaces:
Sleeping
Sleeping
File size: 302 Bytes
6d0c6c2 c5847d6 04f20c1 6d0c6c2 |
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(api_key=os.getenv("GROQ_API_KEY"), model_name="llama3-70b-8192")
if __name__ == "__main__":
response = llm.invoke("Two most important ingredient in samosa are ")
print(response.content)
|