Skip to content

Commit

Permalink
Removed variable expansion from ML example.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Dec 16, 2024
1 parent bbb33e8 commit 3b06ff0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
https://localhost:*
http://localhost:*
http://webhook:8080
https://api.openai.com/v1/chat/completions
6 changes: 3 additions & 3 deletions tests/plugins/ml/ml/connectors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ chapters:
actions:
- action_type: predict
method: POST
url: 'https://${parameters.endpoint}/v1/chat/completions'
url: https://api.openai.com/v1/chat/completions
headers:
Authorization: 'Bearer ${credential.openAI_key}'
request_body: '{ "model": "${parameters.model}", "messages": ${parameters.messages} }'
Authorization: Bearer Key
request_body: '{ "model": "model", "messages": "messages" }'
response:
status: 200
output:
Expand Down

0 comments on commit 3b06ff0

Please sign in to comment.