Azure-Samples / contoso-chat

This sample has the full End2End process of creating RAG application with Prompty 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
468 stars 2.88k forks source link

The README is missing the step to create a custom connection for Cosmos DB #52

Closed gloveboxes closed 9 months ago

gloveboxes commented 10 months ago

Required to successfully run evaluate-chat-prompt-flow.ipynb

Creating Custom Connection (contoso-cosmos)

  1. Visit https://ml.azure.com instead
  2. Under Recent Workspaces, click project (contoso-chat-aiproj)
  3. Select Prompt flow (sidebar), then Connections (tab)
  4. Click Create and select Custom from dropdown
  5. Name: contoso-cosmos
  6. Provider: Custom (default)
  7. Key-value pairs: Add 4 entries (get env var values from .env)
  8. key: key, value: "COSMOS_KEY", check "is secret"
    1. key: endpoint, value: "COSMOS_ENDPOINT"
    2. key: containerId, value: customers
    3. key: databaseId, value: contoso-outdoor
    4. Click Save to complete step.
revodavid commented 9 months ago

This issue appears to be resolved now (see Step 4.6 in README.md)