Skip to content

Commit

Permalink
Update the cloud function to use gemini flash (#42)
Browse files Browse the repository at this point in the history
Co-authored-by: Luka Fontanilla <[email protected]>
  • Loading branch information
waziers and LukaFontanilla authored Jun 4, 2024
1 parent ee71c80 commit 92103b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explore-assistant-cloud-function/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def has_valid_signature(request):

return hmac.compare_digest(signature, expected_signature)

def generate_looker_query(contents, parameters=None):
def generate_looker_query(contents, parameters=None, model_name="gemini-1.5-flash"):

# Define default parameters
default_parameters = {
Expand Down

0 comments on commit 92103b7

Please sign in to comment.