Azure-Samples / contoso-chat

This sample has the full End2End process of creating RAG application with Prompt Flow and AI Studio. It includes GPT 3.5 Turbo LLM application code, evaluations, deployment automation with AZD CLI, GitHub actions for evaluation and deployment and intent mapping for multiple LLM task mapping.
MIT License
366 stars 2.28k forks source link

Use shuf instead of $RANDOM #94

Closed stevedenman closed 2 months ago

stevedenman commented 2 months ago

$RANDOM is only available in bash. The devcontainer default shell is dash, so the names being generated for the endpoint and deployment had a trailing hyphen which caused deployment to fail ("String does not match expected pattern.").

stevedenman commented 2 months ago

Just seen PR #83 that also fixes this issue.