Skip to content

Commit 610cfe1

Browse files
committed
Remove debug output
1 parent eb48d9d commit 610cfe1

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

.github/workflows/related_docs_test.yaml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,26 +99,17 @@ jobs:
9999
run: |
100100
echo "Sun is shining" | .github/workflows/related_docs_test/index_file.sh http://localhost:8080 rel_test root.txt
101101
sleep 10s
102-
echo "I1"
103102
echo "Cats meow" | .github/workflows/related_docs_test/index_child_file.sh http://localhost:8080 rel_test child_a.txt root.txt
104-
echo "I2"
105103
sleep 10s
106104
echo "There are letters in the text" | .github/workflows/related_docs_test/index_child_file.sh http://localhost:8080 rel_test leaf_a.txt child_a.txt
107-
echo "I3"
108105
sleep 30s
109106
110107
-
111108
name: Query small documents (relations test)
112109
run: |
113-
echo "Q1"
114-
docker logs openrag-openrag-cpu-1
115-
echo "Sun Is Shining" | .github/workflows/related_docs_test/chat_completion.sh http://localhost:8080 rel_test
116-
docker logs openrag-openrag-cpu-1
117-
echo "Q2"
118-
echo "Sun Is Shining" | .github/workflows/related_docs_test/chat_completion.sh http://localhost:8080 rel_test
119-
docker logs openrag-openrag-cpu-1
120-
echo "Cats meow" | .github/workflows/related_docs_test/chat_completion.sh http://localhost:8080 rel_test
121-
docker logs openrag-openrag-cpu-1
110+
echo "Sun Is Shining" | .github/workflows/related_docs_test/chat_completion.sh http://localhost:8080 rel_test | grep -v '{\\"' | grep file_id | grep "root.txt"
111+
echo "Sun Is Shining" | .github/workflows/related_docs_test/chat_completion.sh http://localhost:8080 rel_test | grep -v '{\\"' | grep file_id | grep "child_a.txt"
112+
echo "Cats meow" | .github/workflows/related_docs_test/chat_completion.sh http://localhost:8080 rel_test | grep -v '{\\"' | grep file_id | grep "root.txt"
122113
echo "Cats meow" | .github/workflows/related_docs_test/chat_completion.sh http://localhost:8080 rel_test | grep -v '{\\"' | grep file_id | grep "child_a.txt"
123114
echo "Cats meow" | .github/workflows/related_docs_test/chat_completion.sh http://localhost:8080 rel_test | grep -v '{\\"' | grep file_id | grep "leaf_a.txt"
124115
echo "There are letters in the text" | .github/workflows/related_docs_test/chat_completion.sh http://localhost:8080 rel_test | grep -v '{\\"' | grep file_id | grep "child_a.txt"

.github/workflows/related_docs_test/chat_completion.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ response=`curl --connect-timeout 600 -X POST "${ENDPOINT_URL}/v1/chat/completion
2626
-H "Content-Type: application/json" \
2727
-d "$payload"`
2828

29-
echo $response | jq .
29+
#echo $response | jq .
3030

3131
extra=`echo $response | jq '.extra | fromjson'`
3232

0 commit comments

Comments
 (0)