You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/e2e/features/faiss.feature
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,6 @@ Feature: FAISS support tests
28
28
{"query": "What is the title of the article from Paul?", "system_prompt": "You are an assistant. Always use the file_search tool to answer. Write only lowercase letters", "model": "{MODEL}", "provider": "{PROVIDER}"}
29
29
"""
30
30
Then The status code of the response is 200
31
-
And The response should contain following fragments
Copy file name to clipboardExpand all lines: tests/e2e/features/inline_rag.feature
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -28,18 +28,18 @@ Feature: Inline RAG (BYOK) support tests
28
28
{"query": "What is the title of the article from Paul?", "system_prompt": "You are an assistant. Write only lowercase letters", "model": "{MODEL}", "provider": "{PROVIDER}"}
29
29
"""
30
30
Then The status code of the response is 200
31
-
And The response should contain following fragments
31
+
And The response contains following fragments
32
32
| FragmentsinLLMresponse |
33
33
| greatwork |
34
-
And The response should contain non-empty rag_chunks
34
+
And The response contains non-empty rag_chunks
35
35
36
36
Scenario: Inline RAG query includes referenced documents
37
37
When I use "query" to ask question with authorization header
38
38
"""
39
39
{"query": "What does Paul Graham say about great work?", "model": "{MODEL}", "provider": "{PROVIDER}"}
40
40
"""
41
41
Then The status code of the response is 200
42
-
And The response should contain non-empty referenced_documents
42
+
And The response contains non-empty referenced_documents
43
43
44
44
Scenario: Streaming query with inline RAG returns relevant content
45
45
When I use "streaming_query" to ask question with authorization header
@@ -48,7 +48,7 @@ Feature: Inline RAG (BYOK) support tests
48
48
"""
49
49
Then The status code of the response is 200
50
50
And I wait for the response to be completed
51
-
And The streamed response should contain following fragments
51
+
And The streamed response contains following fragments
52
52
| FragmentsinLLMresponse |
53
53
| greatwork |
54
54
@@ -58,7 +58,7 @@ Feature: Inline RAG (BYOK) support tests
58
58
{"input": "What is the title of the article from Paul?", "model": "{PROVIDER}/{MODEL}", "stream": false, "instructions": "You are an assistant. Write only lowercase letters"}
59
59
"""
60
60
Then The status code of the response is 200
61
-
And The response should contain following fragments
0 commit comments