The integration only supports text interactions at the moment (tools are not officially supported by Phi, we may see what we can do about it 😄 )
There is now a new NuGet package built Strathweb.Phi.Engine.AutoGen and a new console app sample to run the examples below.
Example 1
TextMessage from assistant
--------------------
HELLO WORLD
--------------------
TextMessage from assistant
--------------------
HELLO WORLD AGAIN
--------------------
Example 2
TextMessage from teacher
--------------------
Great! Here's a question for you:
"There are 5 apples in one basket and 3 apples in another basket. How many apples are there in total?"
Once you provide your answer, I will check it to see if it's correct!
--------------------
TextMessage from student
--------------------
The total number of apples is 8. This is calculated by adding the number of apples in each basket together: 5 apples + 3 apples = 8 apples.
--------------------
TextMessage from teacher
--------------------
[GROUPCHAT_TERMINATE]
--------------------
Example 3
from: User
Hello! I'm John, and I live in New York. I'm interested in learning more about the fun aspects of your product. Could you provide some information about that?
from: Onboarding_Personal_Information_Agent
Thank you, John! It's great to meet you. I'll gather the necessary information. However, to proceed according to our guidelines, I'll need to confirm your location. So, could you please confirm that you reside in New York?
Once I have your confirmation regarding your location, I'll be able to assist you further. If you have any other questions or need assistance, feel free to ask. But for now, I'll stick to collecting the required information.
from: Summarizer
{
"name": "John",
"location": "New York"
}
from: User
Absolutely! As John from New York, I'm quite interested in a wide range of topics. Some of my favorite areas to read about include:
1. Science and Technology: I'm fascinated by the latest advancements and discoveries in these fields.
2. Literature: I enjoy exploring various genres, from classic novels to contemporary works.
3. Travel and Culture: I'm a big fan of learning about new destinations, their history, and unique cultural aspects.
4. Health and Wellness: Staying informed about ways to improve my
own
from: Summarizer
{
"name": "John",
"location": "New York",
"interests": ["Science and Technology", "Literature", "Travel and Culture", "Health and Wellness"]
}
from: Customer_Engagement_Agent
Great choice, John! Let's dive into some fun facts that might catch your interest.
1. Did you know that honey never spoils? Archaeologists found pots of honey in ancient Egyptian tombs that are over 3,000 years old and still perfectly edible!
2. Ever heard of the world's largest book? It's called "Keter Torah" and measures a whopping 29 meters long and 7.5 meters tall! This massive book is housed in the Central Synagogue of Bene Berak in
Israel
from: Summarizer
John, a New York resident, has diverse interests in Science and Technology, Literature, Travel and Culture, and Health and Wellness. The conversation then proceeded to discuss intriguing facts related to his interests, such as the longevity of honey and the world's largest book.
The integration only supports text interactions at the moment (tools are not officially supported by Phi, we may see what we can do about it 😄 )
There is now a new NuGet package built
Strathweb.Phi.Engine.AutoGen
and a new console app sample to run the examples below.Example 1
Example 2
Example 3