Skip to content

Commit f269723

Browse files
committed
remove unsued deployment files
1 parent fa36005 commit f269723

File tree

4 files changed

+5
-63
lines changed

4 files changed

+5
-63
lines changed

README.md

+5-33
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Contoso Chat Retail with Azure AI Studio and Promptflow
2+
name: Contoso Chat Retail with Azure AI Studio and Prompty
33
description: A retail copilot that answers customer queries with responses grounded in retailer's product and customer data.
44
languages:
55
- python
@@ -15,7 +15,7 @@ page_type: sample
1515
urlFragment: contoso-chat
1616
---
1717

18-
# Contoso Chat Retail with Azure AI Studio and Promptflow
18+
# Contoso Chat Retail with Azure AI Studio and Prompty
1919

2020
This sample creates a customer support chat agent for an online retailer called Contoso Outdoors. The solution uses a _retrieval-augmented generation pattern_ to ground responses in the company's product and customer data. Customers can ask questions about the retailer's product catalog, and also get recommendations based on their prior purchases.
2121

@@ -32,8 +32,8 @@ The sample uses [Azure AI Search](https://learn.microsoft.com/azure/search/) to
3232

3333
By exploring and deploying this sample, you will learn to:
3434
- Build a retail copilot application using the [_RAG pattern_](https://learn.microsoft.com/azure/ai-studio/concepts/retrieval-augmented-generation).
35-
- Define and engineer prompts using the [_Prompty_ asset](https://microsoft.github.io/promptflow/tutorials/prompty-quickstart.html?highlight=prompty#).
36-
- Design, run & evaluate a copilot using the [_Promptflow_ framework](https://microsoft.github.io/promptflow/tutorials/flex-flow-quickstart.html).
35+
- Define and engineer prompts using the Prompty
36+
- Design, run & evaluate a copilot
3737
- Provision and deploy the solution to Azure using the [_Azure Developer CLI_](https://learn.microsoft.com/azure/developer/azure-developer-cli/).
3838
- Understand and apply Responsible AI practices like [_evaluation and content safety_](https://learn.microsoft.com/en-us/azure/ai-services/responsible-use-of-ai-overview?context=%2Fazure%2Fai-studio%2Fcontext%2Fcontext).
3939

@@ -103,7 +103,6 @@ This has been the signature sample used to showcase end-to-end development of a
103103
* [Visual Studio Code](https://code.visualstudio.com) - recommended IDE for local development.
104104
* [Azure Developer CLI (azd)](https://aka.ms/install-azd) - to manage Azure deployment.
105105
* [Python 3.10+](https://www.python.org/downloads/) - to run, test & evaluate application.
106-
* [Promptflow 1.10+](https://microsoft.github.io/promptflow/) - to build, evaluate, and deploy application flows.
107106

108107
You will also need:
109108
* [Azure Subscription](https://azure.microsoft.com/free/) - sign up for a free account.
@@ -222,26 +221,7 @@ The [contoso_chat](./contoso_chat) sample contains an example [chat.prompty](./c
222221
- `question` section to embed user query
223222
- `Instructions` section to reference related product recommendations
224223
225-
This specific prompty takes 3 inputs: a `customer` object, a `documentation` object (that could be chat history) and a `question` string that represents the user query. You can now _load_, _execute_, and _trace_ individual prompty assets for a more granular prompt engineering solution.
226-
227-
* See the [prompty specification](https://microsoft.github.io/promptflow/how-to-guides/develop-a-prompty/index.html#prompty-specification) for more details on the format.
228-
* Read the [prompty examples](https://github.com/microsoft/promptflow/tree/main/examples/prompty) for usage guidance from SDK or CLI.
229-
230-
### Testing the Application Flow
231-
232-
This sample uses a [flex-flow](https://microsoft.github.io/promptflow/how-to-guides/develop-a-flex-flow/index.html) feature that lets you "create LLM apps using a Python class or function as the entry point" - making it easier to test and run them using a code-first experience.
233-
- This sample implements a _Function based flow_
234-
- The entry point is the _get_response_ functionin `chat_request.py`
235-
236-
You can now [test the flow](https://microsoft.github.io/promptflow/how-to-guides/develop-a-flex-flow/function-based-flow.html#flow-test) in different ways:
237-
- Run it directly, like any Python script
238-
- Convert it to a flow, then use `pf flow test --flow ...`
239-
- Start a UI to chat with the flow using `pf flow test --flow ... --ui`
240-
241-
🌟 | Watch this space for more testing guidance.
242-
243-
244-
## Guidance
224+
This specific prompty takes 3 inputs: a `customer` object, a `documentation` object (that could be chat history) and a `question` string that represents the user query. You can now _load_, _execute_, and _trace_ individual prompty assets for a more granular prompt
245225
246226
### Region Availability
247227
@@ -270,14 +250,6 @@ This template uses [Managed Identity](https://learn.microsoft.com/entra/identity
270250
271251
Additionally, we have added a [GitHub Action tool](https://github.com/microsoft/security-devops-action) that scans the infrastructure-as-code files and generates a report containing any detected issues. To ensure best practices we recommend anyone creating solutions based on our templates ensure that the [Github secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning) setting is enabled in your repo.
272252
273-
274-
## Resources
275-
276-
* [Azure AI Studio Documentation](https://learn.microsoft.com/azure/ai-studio/)
277-
* [Promptflow/Prompty Documentation](https://microsoft.github.io/promptflow/reference/python-library-reference/promptflow-core/promptflow.core.html?highlight=prompty#promptflow.core.Prompty)
278-
* [Develop Python apps that use Azure AI services](https://learn.microsoft.com/azure/developer/python/azure-ai-for-python-developers)
279-
* Related Sample: [Process Automation: Speech to Text and Summarization with ACA](https://github.com/Azure-Samples/summarization-openai-python-promptflow/blob/main/README.md)
280-
281253
## Troubleshooting
282254
283255
Have questions or issues to report? Please [open a new issue](https://github.com/Azure-Samples/contoso-chat/issues) after first verifying that the same question or issue has not already been reported. In the latter case, please add any additional comments you may have, to the existing issue.

deployment/environment.yaml

-15
This file was deleted.

deployment/image_build_with_requirements/Dockerfile

-3
This file was deleted.

deployment/image_build_with_requirements/requirements.txt

-12
This file was deleted.

0 commit comments

Comments
 (0)