Skip to content

Commit d9d24ee

Browse files
tidy
Signed-off-by: Adrian Cole <[email protected]>
1 parent b1db4d4 commit d9d24ee

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/docker-chatbot-rag-app.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ jobs:
6262
working-directory: example-apps/chatbot-rag-app
6363
run: | # This tests ELSER is working, which doesn't require an LLM.
6464
cp env.example .env
65-
docker compose run --rm -T create-index
65+
# same as `docker compose run --rm -T create-index`, except pull never
66+
docker run --rm -T --name create-index --env-file .env --pull never \
67+
--add-host "localhost:host-gateway" ${{ env.IMAGE }} flask create-index
6668
- name: export digest
6769
if: github.event_name == 'push'
6870
run: |

example-apps/chatbot-rag-app/data/index_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def main():
149149
print(f"Documents added to index {INDEX}")
150150

151151

152-
def await_ml_tasks(max_timeout=600, interval=5):
152+
def await_ml_tasks(max_timeout=1200, interval=5):
153153
"""
154154
Waits for all machine learning tasks to complete within a specified timeout period.
155155

0 commit comments

Comments
 (0)