When the smart AI husband meets the yin and yang AI wife, can your code play well?

Play fun activities and win a prize of 1,000 yuan

The first fun event in the DataFountain community is here! ! !

The activity has already started, it’s too late to explain, get on the bus first: https://www.datafountain.cn/information/activity/3


Artificial intelligence question and answer explodes, has your algorithm skills reserve kept up with the pace of the times?

Play games, try algorithms, and earn bonuses, come to the DataFountain community

Use your code to play the smart quiz and earn a bonus of 1,000 yuan !

activity theme

Barbarian AI Husband VS Yin-Yang AI Wife

 

Activity introduction

Everyone has had a fight with their significant other, right? It is very normal for couples to quarrel. But...if AI is allowed to play the role of husband and wife, what will it be like to quarrel?

Please refer to the two dialogue styles of "smart husband" and "wife with yin and yang" to write two types of AI. They can restore the quarrel scenes that suit each person according to the entered environmental information (such as family members, work conditions, hobbies, etc.), and can appropriately combine classic Internet sentences, such as "You are right, but..." and "Really, I don't believe it", or "Oh, you said that" "Yes, you are right" and "What are you" commonly used by yin and yang. Brand plastic bag, so it can hold "" "Did your old man hide when humans evolved" and so on, making the conversation more vivid and exciting.

Participants with excellent codes and clear ideas will have the opportunity to participate in the production of official interesting videos . If the video effect is good, it will not be a problem to be popular on Douyin, Bilibili and other platforms~

way of participation

Enter the DataFountain community (https://discussion.datafountain.cn/), click [Create NoteBook] , enter [Fun Activity 01] in the title header and fill in the content, and check the "Fun Activity 01" label when publishing.

If you don't want to disclose the code, you can also join the QQ group: 766301987 , and privately chat with "DF Operation Old P" after joining the group to submit your work privately.

PS Follow up with more interesting community activities in this group, welcome to find creative fellows to communicate online~

Grading

The scoring criteria for activity works are divided into the following four dimensions:

  • Language richness

  • Does it fit the personality

  • Does the speech meet the requirements

  • Is the content of the dialogue logical?

Activity Rules

  • Participants in the activity wrote two types of AI, AI1-smart husband and AI2-yin-yang wife. The reason for the quarrel is that the husband does not do housework (start with this reason, and the reason can be deviated from the reason during the quarrel, dddd~).

  • AI can customize text output based on the entered information, combined with the corresponding personality, and can give reasonable answers based on the given sentences and questions.

  • The input information includes but not limited to: family members, characteristics of family members, city information, housing information, etc. (can be defined by yourself).

  • Use python programming, and provide documentation when submitting.

  • Disable ChatGPT.

run process

  1. Prompt the user to enter a list of information;

  2. According to the entered information, the AI ​​will conduct a dialogue in turn, and the dialogue can be paused in the middle;

  3. After pausing the dialogue, you can manually enter any sentence, and the AI ​​needs to continue the dialogue according to the manually entered sentence;

  4. You can manually set the logic of AI dialogue termination (if the logic is excellent, it can be regarded as a bonus item), or you can not set it. If you don’t set it, you need to set the termination button.

give a chestnut

The quarrel process of the strong husband VS the yin and yang wacky wife begins;

Please enter the cities where both spouses live:

Shijiazhuang;

Please enter family member information ("name" + "identity" + "age", separated by ",");

Zhang San+husband+32, Li Si+wife+30, Zhang Si+son+8, Zhang Wu+daughter+5, Zhang Er+husband’s father+61, Wang Qi+husband’s mother+58;

Please enter Zhang San's characteristics (use "," to separate):

A small company programmer with a monthly salary of 15,000, loves to play King of Glory, likes to use Douyin, often plays games with friends, does things rigidly, smokes, does not drink, likes to take pictures, likes to fish, often works overtime;

Please enter Li Si's characteristics (use "," to separate):

Housewife, likes to gossip, fan of 2D, likes to watch Bilibili, often attends gatherings of netizens, likes to play MMORPG, likes to keep cats, is good at teaching children to learn, can't cook, rarely does housework;

Please enter the characteristics of Zhang Si

(The system detects all members and asks for information)

Please enter housing conditions (use "," to separate):

The woman's family paid for a house, 80 square meters, in the suburbs;

The bickering begins:

Wife: Why haven’t you cleaned up the bowl of instant noodles yesterday?

ENTER

Husband: Forget it, you can clean it up for me.

ENTER

Wife: Some people play games with them when they have time, but they just don’t have time to clean up the house, right?

"I made an appointment with my group of friends today, and this is the critical moment." ENTER
Wife: Yo~ top up, you and your group of friends are a pair of crouching dragons and phoenix chicks. After a month of splitting, you finally reached bronze.

ENTER

Husband: Do you understand the gold content of bronze? Aren’t the bronze saints the strongest in the comics you read?

Get in the car, alchemy heroes

Don't hesitate, join now

Let me see your strength: https://www.datafountain.cn/information/activity/3 

—End—

Guess you like

Origin blog.csdn.net/DataFountain/article/details/131127613