Skip to content

Commit

Permalink
refine samples
Browse files Browse the repository at this point in the history
  • Loading branch information
wangchao1230 committed Apr 8, 2024
1 parent c6db71e commit e98f075
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/flex-flows/chat-basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pf run list

# get a sample run name

name=$(pf run list -r 10 | jq '.[] | select(.name | contains("basic_code_first")) | .name'| head -n 1 | tr -d '"')
name=$(pf run list -r 10 | jq '.[] | select(.name | contains("chat_basic_")) | .name'| head -n 1 | tr -d '"')
# show specific run detail
pf run show --name $name

Expand All @@ -95,7 +95,7 @@ Storing connection info in .env with plaintext is not safe. We recommend to use
```bash
# create connection from `azure_openai.yml` file
# Override keys with --set to avoid yaml file changes
pf connection create --file ../../../connections/azure_openai.yml --set api_key=<your_api_key> api_base=<your_api_base>
pf connection create --file ../../connections/azure_openai.yml --set api_key=<your_api_key> api_base=<your_api_base>

# check if connection exists
pf connection show -n open_ai_connection
Expand Down

0 comments on commit e98f075

Please sign in to comment.