From dfae1568cc25f86cf09aed81c6791c938b9df464 Mon Sep 17 00:00:00 2001 From: Matthew Harris Date: Sun, 31 Mar 2024 13:47:07 -0400 Subject: [PATCH] Checking install instructions --- .env.example | 3 --- environment.yml | 4 ++-- flows/reliefweb_chat/flow.dag.yaml | 4 ++++ 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index d3cb9be..60c4f03 100644 --- a/.env.example +++ b/.env.example @@ -11,7 +11,4 @@ OPENAI_API_VERSION= BASE_URL= DEPLOYMENT_NAME= -# This is found in the Azure content safety component -CONTENT_SAFETY_KEY= - export DEEPEVAL_TELEMETRY_OPT_OUT="YES" \ No newline at end of file diff --git a/environment.yml b/environment.yml index 1a0e82a..8342af2 100644 --- a/environment.yml +++ b/environment.yml @@ -4,9 +4,9 @@ # 1. Install [miniconda](https://docs.conda.io/en/latest/miniconda.html) by selecting the installer that fits your OS version. Once it is installed you may have to restart your terminal (closing your terminal and opening again) # 2. In this directory, open terminal # 3. `conda env create -f environment.yml` -# 4. `conda activate promtpflow-serve` +# 4. `conda activate pf-rweb-demo` # -name: promptflow-serve +name: pf-rweb-demo dependencies: - pip==23.3.1 - python=3.11.4 diff --git a/flows/reliefweb_chat/flow.dag.yaml b/flows/reliefweb_chat/flow.dag.yaml index e6bdb9a..35cd281 100644 --- a/flows/reliefweb_chat/flow.dag.yaml +++ b/flows/reliefweb_chat/flow.dag.yaml @@ -614,6 +614,10 @@ nodes: path: content_safety_ouput.py inputs: text: ${process_output.output.llm_question_result} + hate_category: Medium + self_harm_category: Medium + sexual_category: Medium + violence_category: Medium node_variants: summarize: default_variant_id: variant_0