gemini-pro update
Browse files- App/Chat/utils/RAG.py +1 -1
App/Chat/utils/RAG.py
CHANGED
@@ -8,7 +8,7 @@ PALM_API = ""
|
|
8 |
API_KEY = os.environ.get("PALM_API", PALM_API)
|
9 |
palm.configure(api_key=API_KEY)
|
10 |
class GenerativeAIAssistant:
|
11 |
-
def __init__(self, api_key=API_KEY, model='
|
12 |
candidate_count=1, top_k=40, top_p=0.95):
|
13 |
self.api_key = api_key
|
14 |
self.model = model
|
|
|
8 |
API_KEY = os.environ.get("PALM_API", PALM_API)
|
9 |
palm.configure(api_key=API_KEY)
|
10 |
class GenerativeAIAssistant:
|
11 |
+
def __init__(self, api_key=API_KEY, model='gemini-pro', temperature=0.85,
|
12 |
candidate_count=1, top_k=40, top_p=0.95):
|
13 |
self.api_key = api_key
|
14 |
self.model = model
|