Skip to content

Commit

Permalink
Checking install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dividor committed Mar 31, 2024
1 parent 57b14db commit dfae156
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions flows/reliefweb_chat/flow.dag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfae156

Please sign in to comment.