Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
bupa1018
/
KadiAPY_Coding_Assistant
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
bupa1018
commited on
Mar 10
Commit
0792287
·
1 Parent(s):
0486180
Create llm.py
Browse files
Files changed (1)
hide
show
llm.py
+3
-0
llm.py
ADDED
Viewed
@@ -0,0 +1,3 @@
1
+
def get_groq_llm(model_name, temperature, api_key):
2
+
llm = ChatGroq(model=model_name, temperature=temperature, api_key=api_key)
3
+
return llm