mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-05-14 13:18:08 +02:00
test and debug response
This commit is contained in:
@@ -43,6 +43,11 @@ jobs:
|
||||
run: |
|
||||
curl -i http://localhost:9999/
|
||||
|
||||
echo "Making API request..."
|
||||
curl -X POST -i http://localhost:9999/api/conversations \
|
||||
-d '{ "prompt": "describe a random planet in our solar system in 10 words or less" }' \
|
||||
-H "Content-Type: application/json" || exit 1
|
||||
|
||||
garak -v \
|
||||
--config ${{ github.workspace }}/src/tools/garak.config.yml \
|
||||
--generator_option_file ${{ github.workspace }}/src/tools/garak.rest.llm.json \
|
||||
|
||||
Reference in New Issue
Block a user