From 3993926f5ed597acd607972690e6d1fbed5186f3 Mon Sep 17 00:00:00 2001 From: Data-drone Date: Mon, 18 Nov 2024 13:19:54 +1000 Subject: [PATCH] updated the question count on evaluations to run faster --- 0.5_Deploy_QnA_Bot.py | 2 +- 1.1_Evaluations.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/0.5_Deploy_QnA_Bot.py b/0.5_Deploy_QnA_Bot.py index 1da428a..69e7020 100644 --- a/0.5_Deploy_QnA_Bot.py +++ b/0.5_Deploy_QnA_Bot.py @@ -1,5 +1,5 @@ # Databricks notebook source -# MAGIC %pip install -U -qqqq databricks-agents mlflow mlflow-skinny==2.17.2 databricks-vectorsearch langchain==0.3.7 langchain-community==0.3.7 +# MAGIC %pip install -U -qqqq databricks-agents databricks-langchain mlflow==2.17.2 databricks-vectorsearch langchain==0.3.7 langchain-community==0.3.7 # MAGIC dbutils.library.restartPython() # COMMAND ---------- diff --git a/1.1_Evaluations.py b/1.1_Evaluations.py index b436944..f42e733 100644 --- a/1.1_Evaluations.py +++ b/1.1_Evaluations.py @@ -116,7 +116,7 @@ # this is the call to generate the questions # if you set the number it will run multithreaded and be gaster -eval_questions = data_generator.generate_questions_from_nodes(num=32) +eval_questions = data_generator.generate_questions_from_nodes(num=16) eval_questions # Some of these questions might not be too useful. It could be because of the model we are using for generation