Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
codefromthecrypt committed Feb 20, 2025
1 parent b1db4d4 commit d9d24ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docker-chatbot-rag-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ jobs:
working-directory: example-apps/chatbot-rag-app
run: | # This tests ELSER is working, which doesn't require an LLM.
cp env.example .env
docker compose run --rm -T create-index
# same as `docker compose run --rm -T create-index`, except pull never
docker run --rm -T --name create-index --env-file .env --pull never \
--add-host "localhost:host-gateway" ${{ env.IMAGE }} flask create-index
- name: export digest
if: github.event_name == 'push'
run: |
Expand Down
2 changes: 1 addition & 1 deletion example-apps/chatbot-rag-app/data/index_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def main():
print(f"Documents added to index {INDEX}")


def await_ml_tasks(max_timeout=600, interval=5):
def await_ml_tasks(max_timeout=1200, interval=5):
"""
Waits for all machine learning tasks to complete within a specified timeout period.
Expand Down

0 comments on commit d9d24ee

Please sign in to comment.