Skip to content

Commit

Permalink
updated prompts and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alistar-andrei committed May 24, 2024
1 parent ca26baf commit 34facea
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ private async Task RunExampleAsync()
var userPrompts = new List<string>
{
"Who are you?",
"What are some interesting facts about the San Diego Zoo?",
"Which animal in the San Diego Zoo is the oldest?",
"How does San Diego Zoo treat illness among it's inhabitants?"
"Tell me one interesting facts about the San Diego Zoo?",
"How many animals does the San Diego Zoo host?",
"What does the San Diego Zoo do to treat illness among it's inhabitants?"
};

WriteLine($"Send questions to the {agentName} agent.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ private async Task RunExampleAsync()
var userPrompts = new List<string>
{
"Who are you?",
"What are some interesting facts about the San Diego Zoo?",
"Which animal in the San Diego Zoo is the oldest?",
"How does San Diego Zoo treat illness among it's inhabitants?"
"Tell me one interesting facts about the San Diego Zoo?",
"How many animals does the San Diego Zoo host?",
"What does the San Diego Zoo do to treat illness among it's inhabitants?"
};

WriteLine($"Send questions to the {agentName} agent.");
Expand Down
22 changes: 20 additions & 2 deletions tests/dotnet/Core.Examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,17 @@ Run the example by running a test on the `Example0011_KnowledgeManagementAgentWi
You will see an output similar to the following after the test is completed:

```text
============ Knowledge Management agent with Semantic Kernel on SDZWA ============
Send questions to the KMAgentWithSemanticKernelSDZWA agent.
============ Knowledge Management agent with Lang Chain on SDZWA ============
Send questions to the KMAgentWithLangChainSDZWA agent.
Agent conversation history:
- User: Who are you?
- Assistant: I am Sandy, the San Diego Zoo assistant.
- User: Tell me one interesting facts about the San Diego Zoo?
- Assistant: One interesting fact about the San Diego Zoo is that between the botanical gardens at the San Diego Zoo and the Safari Park, they care for 2 million plants.
- User: How many animals does the San Diego Zoo host?
- Assistant: The journal does not provide information about the number of animals hosted by the San Diego Zoo.
- User: What does the San Diego Zoo do to treat illness among it's inhabitants?
- Assistant: The journal mentions that the San Diego Zoo provides efficient and effective health care for its animals. The care and health decisions are based on the best available scientific data.
```

### Example 12: Knowledge Management agent with Lang Chain on the SDZWA journal
Expand All @@ -419,6 +428,15 @@ You will see an output similar to the following after the test is completed:
```text
============ Knowledge Management agent with Lang Chain on SDZWA ============
Send questions to the KMAgentWithLangChainSDZWA agent.
Agent conversation history:
- User: Who are you?
- Assistant: I am Sandy, the San Diego Zoo assistant.
- User: Tell me one interesting facts about the San Diego Zoo?
- Assistant: One interesting fact about the San Diego Zoo is that between the botanical gardens at the San Diego Zoo and the Safari Park, they care for 2 million plants.
- User: How many animals does the San Diego Zoo host?
- Assistant: The journal does not provide information about the number of animals hosted by the San Diego Zoo.
- User: What does the San Diego Zoo do to treat illness among it's inhabitants?
- Assistant: The journal mentions that the San Diego Zoo provides efficient and effective health care for its animals. The care and health decisions are based on the best available scientific data.
```

### Example 16: Completion quality measurements with Azure AI Studio
Expand Down

0 comments on commit 34facea

Please sign in to comment.