File tree 2 files changed +8
-9
lines changed
2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ def test_too_long_question() -> None:
196
196
assert json_response ["detail" ]["response" ] == "Prompt is too long"
197
197
198
198
199
+ @pytest .mark .introspection
199
200
@pytest .mark .smoketest
200
201
@pytest .mark .rag
201
202
def test_valid_question () -> None :
@@ -347,6 +348,7 @@ def test_token_counters_for_query_call_with_improper_payload() -> None:
347
348
response_utils .check_content_type (response , "application/json" )
348
349
349
350
351
+ @pytest .mark .introspection
350
352
@pytest .mark .rag
351
353
@retry (max_attempts = 3 , wait_between_runs = 10 )
352
354
def test_rag_question () -> None :
Original file line number Diff line number Diff line change @@ -62,17 +62,14 @@ function run_suites() {
62
62
run_suite " model_eval" " model_evaluation" " watsonx" " $WATSONX_PROVIDER_KEY_PATH " " ibm/granite-3-8b-instruct" " $OLS_IMAGE " " n"
63
63
(( rc = rc || $? ))
64
64
65
- # TODO: Enable below test cases once flag is added to operator CRD. Update flag name in CRD yaml (if different name is used)
66
65
# TODO: Reduce execution time. Sequential execution will take more time. Parallel execution will have cluster claim issue.
67
66
# Run tool calling - Enable introspection
68
- # run_suite "azure_openai_introspection" "introspection" "azure_openai" "$AZUREOPENAI_PROVIDER_KEY_PATH" "gpt-4o-mini" "$OLS_IMAGE" "y"
69
- # (( rc = rc || $? ))
70
-
71
- # run_suite "openai_introspection" "introspection" "openai" "$OPENAI_PROVIDER_KEY_PATH" "gpt-4o-mini" "$OLS_IMAGE" "y"
72
- # (( rc = rc || $? ))
73
-
74
- # run_suite "watsonx_introspection" "introspection" "watsonx" "$WATSONX_PROVIDER_KEY_PATH" "ibm/granite-3-8b-instruct" "$OLS_IMAGE" "y"
75
- # (( rc = rc || $? ))
67
+ run_suite " azure_openai_introspection" " introspection" " azure_openai" " $AZUREOPENAI_PROVIDER_KEY_PATH " " gpt-4o-mini" " $OLS_IMAGE " " y"
68
+ (( rc = rc || $? ))
69
+ run_suite " openai_introspection" " introspection" " openai" " $OPENAI_PROVIDER_KEY_PATH " " gpt-4o-mini" " $OLS_IMAGE " " y"
70
+ (( rc = rc || $? ))
71
+ run_suite " watsonx_introspection" " introspection" " watsonx" " $WATSONX_PROVIDER_KEY_PATH " " ibm/granite-3-2-8b-instruct" " $OLS_IMAGE " " y"
72
+ (( rc = rc || $? ))
76
73
77
74
set -e
78
75
You can’t perform that action at this time.
0 commit comments