Skip to content

Commit

Permalink
Merge pull request #146 from eye-on-surveillance/AI/misc-bugs
Browse files Browse the repository at this point in the history
 AI/misc-bugs
  • Loading branch information
ayyubibrahimi authored Nov 14, 2023
2 parents 764bd1b + 5dd078e commit 87c86f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/googlecloud/functions/getanswer/inquirer.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def transform_query_for_date(query):
def get_indepth_response_from_query(df, db, query, k):
logger.info("Performing in-depth summary query...")

llm = ChatOpenAI(model_name="gpt-4-1106-preview")
llm = ChatOpenAI(model_name="gpt-4")

template_date_detection = """
Analyze the following query: "{query}".
Expand Down
2 changes: 1 addition & 1 deletion packages/googlecloud/functions/getanswer/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ functions-framework
flask
google-cloud-error-reporting
python-dotenv
langchain
langchain==0.0.330
openai==0.28.1
google-api-python-client # Google API
google-search-results # SerpAPI
Expand Down

0 comments on commit 87c86f0

Please sign in to comment.