跳到主要内容

5 篇博文 含有标签「通用人工智能」

查看所有标签

· 阅读需 2 分钟
backendcloud

实现的功能:语音助手。通过调用OpenAI官方API实现。

在线demo: https://huggingface.co/spaces/AutoGeneralAI/voice-assistant

代码仓库: https://github.com/AutoGeneralAI/voice-assistant

使用方法

将自己的OpenAI API KEY https://platform.openai.com/ 放入key输入框,然后就可以愉快的语音对话了。

初次使用,浏览器,比如Chrome会询问是否允许打开麦克风,选择允许。

可以保存对话记录。目前只实现了对话。人类的角色可以语音,AI角色还是以文字输出。文字朗读出来的功能留待下次实现或者欢迎提pr。

input:

点击开始录音,然后说话,说完点击停止录音,点击发送按钮,然后AI会回复。再次录制语音,AI会继续回复。(再次录制语音,要点击叉按钮后才可以录下一条语音)

output:

user: How to be a qualified programmer?

assistant: Get an education, learn different programming languages, build projects, and practice coding regularly. Also, stay up-to-date with industry trends and technology advancements.

user: 你好,你会说中文吗?

assistant: 是的,我能说中文。

· 阅读需 2 分钟
backendcloud

代码放在: https://github.com/AutoGeneralAI/ChatGPT/

在线体验: https://huggingface.co/spaces/AutoGeneralAI/ChatGPT

本项目不是web版的ChatGPT,而是调用ChatGPT(OpenAI)官方API的GUI for ChatGPT API。

背景

自从ChatGPT开放了官方API后,调用API的产品层出不穷,各种软件,各种Chrome插件,各种IDE插件,各种网站,各种小程序,各种APP,各种聊天机器人。

于是自己也开发了些调用ChatGPT API的小项目,比如:

但这些项目都是命令行的,不够直观和界面友好,于是就想做一个GUI版的ChatGPT API,于是就有了这个项目。

可以在线体验 https://huggingface.co/spaces/AutoGeneralAI/ChatGPT

使用方法

将自己的OpenAI API KEY 获取地址: https://platform.openai.com/ 放入界面的key输入框,然后就可以愉快的使用ChatGPT,愉快的和ChatGPT对话了。

放心,这个项目不会上传你的API KEY到任何地方,因为这个项目是完全开源的。

在线体验的界面如下:

代码

代码很简单,就是两个简单的函数,一个调用的openai官方库,一个调用了Gradio前端框架。

def openai_chat(prompt):
completions = openai.Completion.create(
engine="text-davinci-003",
prompt=prompt,
max_tokens=1024,
n=1,
temperature=0.5,
)
def chatbot(key, input, history=[]):
openai.api_key = key
output = openai_chat(input)
history.append((input, output))
return history, history

gr.Interface(fn = chatbot,
inputs = ["text","text",'state'],
outputs = ["chatbot",'state']).launch(debug = True)

· 阅读需 2 分钟
backendcloud

ChatGPT的免费的Web版吐字太慢了,还常常中断,忍无可忍。虽说API调用吐字很快,很顺畅,不会中断,但毕竟是收费的,虽然费用很低。大约500个字人民币一分钱,且OpenAI还会给每个账户送18美元的API体验。但是API终究还是要收费的。

于是,我又找到了ChatGPT一个免费的有力竞品:Claude。Claude用起来太顺畅了,且最近很火,口碑也很好。

下面介绍如何使用Claude,使用Claude比注册ChatGPT要简单得多。两种方式都可以使用Claude,一种是直接使用官方途径,另一种是在第三方平台上使用。

官方Slack

Claude的官方Slack地址是:https://slack.com/apps/A04KGS7N9A8-claude

或者搜索引擎搜slack claude,第一个就是官方Slack。加入slack后,可以直接使用Claude。

第三方平台Poe

Poe是一个集成了包括Claude的很多AI的平台。登陆 Poe官网

上面介绍的两种使用Claude的方式,不仅远远快过Web版的ChatGPT,也远快过API调用的ChatGPT。而且,Claude的输出内容质量也很高。

· 阅读需 25 分钟
backendcloud

Auto-GPT源码: https://github.com/Significant-Gravitas/Auto-GPT

体验可以使用第三方产品,免费在线体验: https://agentgpt.reworkd.ai/

也可以自己在本地体验。本篇都是介绍如何在本地体验以及一个本地测试例子,例子选取的太简单了,好像没有发挥好Auto-GPT的优势。只是为了跑通流程,体验下Auto-GPT。

安装

安装非常简单,只需要需要以下几个步骤:

  1. 安装python3.10
  2. 安装git
  3. 代码仓库拉取到本地 git clone https://github.com/Significant-Gravitas/Auto-GPT
  4. 进入项目目录,执行 pip install -r requirements.txt
  5. 复制项目中的.env.template,命名为.env,并修改其中的3个参数OPENAI_API_KEY PINECONE_API_KEY PINECONE_ENV,改成自己的。若没有,可去对应ChatGPT官网Pinecone官网注册下,后台管理界面获取。
  6. 运行Auto-GPT python -m autogpt --gpt3only

例子

Auto-GPT运行日志

问Auto-GPT一个问题,娃在幼儿园被老师批评了,作为家长应如何应对。。在和Auto-GPT的交互中。要交互的是AI Name:随便写写,Describe your AI's role:随便写写,关键是目标,最多可以有5个,这里就写了一个Goal 1: write an article about : children are commented by the Kindergarten teacher, how to enlighten the children

PS C:\Users\hanwei\Documents\Github\Auto-GPT> python -m autogpt --gpt3only
GPT3.5 Only Mode: ENABLED
Welcome to Auto-GPT! Enter the name of your AI and its role below. Entering nothing will load defaults.
Name your AI: For example, 'Entrepreneur-GPT'
AI Name: writer
writer here! I am at your service.
Describe your AI's role: For example, 'an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.'
writer is: who can write an article
Enter up to 5 goals for your AI: For example: Increase net worth, Grow Twitter Account, Develop and manage multiple businesses autonomously'
Enter nothing to load defaults, enter nothing when finished.
Goal 1: write an article about : children are commented by the Kindergarten teacher, how to enlighten the children

通过下面的日志,可以看到每个具体的命令以及Auto-GPT的处理过程。比ChatGPT多了网上的搜索过程,网上搜索信息,阅读提取要点,整理新的文章。整个过程是自动化的,只需要输入一个目标,Auto-GPT就会自动完成和AI的多次交互,以目标为导向(最多可以给Auto-GPT设定5个目标),并自我prompt,自主完成任务。

Welcome to Auto-GPT!  Enter the name of your AI and its role below. Entering nothing will load defaults.
Name your AI: For example, 'Entrepreneur-GPT'
writer here! I am at your service.
Describe your AI's role: For example, 'an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.'
Enter up to 5 goals for your AI: For example:
ter Account, Develop and manage multiple businesses autonomously'
Using memory of type: LocalCache
Using Browser: chrome
THOUGHTS: I think I need to gather some information on how to enlighten kindergarten children. I will start by doing a Google search.
REASONING: I need to gather information to write an article on how to enlighten kindergarten children. A Google search is a good starting point to gather information.
PLAN:
- Do a Google search on how to enlighten kindergarten children
- Read through the search results and gather information
- Write an article based on the gathered information
CRITICISM: I need to ensure that the information I gather is reliable and relevant to the topic at hand.
SPEAK: I will start by doing a Google search on how to enlighten kindergarten children.
Attempting to fix JSON by finding outermost brackets

Apparently json was fixed.
NEXT ACTION: COMMAND = google ARGUMENTS = {'input': 'how to enlighten kindergarten children'}
GPT3.5 Only Mode: ENABLED
Welcome back! Would you like me to return to being writer?
Welcome to Auto-GPT! Enter the name of your AI and its role below. Entering nothing will load defaults.
Name your AI: For example, 'Entrepreneur-GPT'
writer here! I am at your service.
Describe your AI's role: For example, 'an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.'
Enter up to 5 goals for your AI: For example:
Increase net worth, Grow Twitter Account, Develop and manage multiple businesses autonomously'
Using memory of type: LocalCache
Using Browser: chrome
THOUGHTS: I think I need to do some research on how to enlighten children who are being commented on by their kindergarten teacher. I will use the 'google' command to search for relevant information.
REASONING: I need to gather information to write an informative article on how to enlighten children who are being commented on by their kindergarten teacher. Researching will help me gather relevant information to include in the article.
PLAN:
- Use the 'google' command to search for relevant information on how to enlighten children who are being commented on by their kindergarten teacher.
- Read through the information gathered and take notes on important points to include in the article.
CRITICISM: I need to ensure that the information I gather is from credible sources and that I take the time to read through it carefully to ensure that I include only relevant and accurate information in the article.
SPEAK: I will use the 'google' command to search for information on how to enlighten children who are being commented on by their kindergarten teacher.
Attempting to fix JSON by finding outermost brackets

Apparently json was fixed.
NEXT ACTION: COMMAND = google ARGUMENTS = {'input': 'how to enlighten children who are being commented on by their kindergarten teacher'}
-=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-=
SYSTEM: Command google returned: b'[\n {\n "title": "What Does A Kindergarten Teacher Do? - Western Governors University",\n "href": "https://www.wgu.edu/career-guide/education/kindergarten-teacher-career.html",\n "body": "Kindergarten teachers are tasked with helping their students learn the basics of schooling and preparing them for first grade. While no two days are ever the same, kindergarten teachers are generally expected to: Prepare materials, lessons, and projects. Keep lessons fresh, engaging, and interesting. Teach basic skills in academics and behavior."\n },\n {\n "title": "Report Card Comments & Phrases for Kindergarten - TeacherVision",\n "href": "https://www.teachervision.com/report-cards-advice-suggested-comments/report-card-comments-for-kindergarten",\n "body": "This list of 32 ready-to-use report card comments covers academics, personality and attitude, work habits, and social skills for kindergarten report cards, and provides both examples of positive feedback for students and suggestions for improvement. Help make the kindergarten grading and evaluation process easier with this selection of editable ..."\n },\n {\n "title": "What does a kindergarten teacher do? - CareerExplorer",\n "href": "https://www.careerexplorer.com/careers/kindergarten-teacher/",\n "body": "A kindergarten teacher is responsible for planning the curriculum for each day and for the collective school year. They allow the children to observe an activity while also giving them the opportunity to ask questions and look for the answers. Instructions need to be very precise, yet easy to understand. By using hands-on lessons and creative ..."\n },\n {\n "title": "The Truth About Teaching Kindergarten from a Kindergarten Teacher",\n "href": "https://thekindergartenconnection.com/the-truth-about-teaching-kindergarten/",\n "body": "Let\'s talk social skills. Kindergarten is a HUGE year for learning social skills. Things such as taking turns, conversations with peers, how to handle when you don\'t get your way, managing emotions. Those things are taught and fostered each day in Kindergarten and do not just \\"happen.\\". They also aren\'t easy to teach."\n },\n {\n "title": "What Does a Kindergarten Teacher Do? (Duties and Salary)",\n "href": "https://www.indeed.com/career-advice/careers/what-does-a-kindergarten-teacher-do",\n "body": "Kindergarten teachers also use their classes to prepare their students for the world by teaching basic academic and social skills. Here are a few of the most common daily job duties for a kindergarten teacher: Teach their children the basics of reading, writing and arithmetic. Help children learn interpersonal skills."\n },\n {\n "title": "What Are Some Positive Things About Being a Kindergarten Teacher? - Chron",\n "href": "https://work.chron.com/positive-things-being-kindergarten-teacher-27037.html",\n "body": "Kindergarten teachers build strong educational foundations for young minds, which is personally rewarding. They get to witness children blossom into well-rounded students hungry to learn. Kindergarten teachers also regularly get opportunities to talk to their pupils\' parents via parent-teacher meetings. This affords them the chance to learn ..."\n },\n {\n "title": "The 10 Traits Successful Kids Have In Common, From A Kindergarten Teacher",\n "href": "https://www.huffpost.com/entry/kindergarten-readiness-successful-kids-have-these_b_586bfc49e4b04d7df167d7c6",\n "body": "Children who are accustomed to listening to books being read from start to finish and participating in conversations about the book are well prepared for Kindergarten. Parents can support the development of this skill by incorporating reading aloud into their regular routine."\n },\n {\n "title": "Kindergarten Teachers Speak Out for Children\'s Happiness",\n "href": "https://www.psychologytoday.com/us/blog/freedom-learn/201911/kindergarten-teachers-speak-out-children-s-happiness",\n "body": "The research is clear. Academic training in kindergarten has no long-term benefit. In fact, it may cause long-term harm. It does not reduce the education gap between the rich and the poor, which ..."\n }\n]'
THOUGHTS: I need to read through the search results and gather relevant information on how to enlighten children who are being commented on by their kindergarten teacher. I will use the 'read_file' command to save the search results to a file for easy access and reference.
REASONING: Reading through the search results will help me gather relevant information to include in the article. Saving the search results to a file will make it easier for me to access and reference the information as I write the article.
PLAN:
- Use the 'read_file' command to save the search results to a file.\n- Read through the search results and take notes on important points to include in the article.
CRITICISM: I need to ensure that I take the time to read through the search results carefully to ensure that I include only relevant and accurate information in the article.
SPEAK: I will use the 'read_file' command to save the search results to a file and then read through them to gather relevant information on how to enlighten children who are being commented on by their kindergarten teacher.
Attempting to fix JSON by finding outermost brackets

Apparently json was fixed.
NEXT ACTION: COMMAND = read_file ARGUMENTS = {'file': 'search_results.txt'}
SYSTEM: Command read_file returned: Error: [Errno 2] No such file or directory: 'C:\\Users\\hanwei\\Documents\\Github\\Auto-GPT\\auto_gpt_workspace\\search_results.txt'
THOUGHTS: I need to create a new file to save the search results to. I will use the 'write_to_file' command to create a new file and save the search results to it.
REASONING: Creating a new file will allow me to save the search results for easy access and reference as I write the article. The 'write_to_file' command will allow me to create a new file and save the search results to it.
PLAN:
- Use the 'write_to_file' command to create a new file and save the search results to it.\n- Read through the search results and take notes on important points to include in the article.
CRITICISM: I need to ensure that I take the time to read through the search results carefully to ensure that I include only relevant and accurate information in the article.
SPEAK: I will use the 'write_to_file' command to create a new file and save the search results to it, and then read through them to gather relevant information on how to enlighten children who are being commented on by their kindergarten teacher.
Attempting to fix JSON by finding outermost brackets

Apparently json was fixed.
NEXT ACTION: COMMAND = write_to_file ARGUMENTS = {'file': 'search_results.txt', 'text': 'Kindergarten teachers are tasked with helping their students learn the basics of schooling and preparing them for first grade. While no two days are ever the same, kindergarten teachers are generally expected to: Prepare materials, lessons, and projects. Keep lessons fresh, engaging, and interesting. Teach basic skills in academics and behavior. This list of 32 ready-to-use report card comments covers academics, personality and attitude, work habits, and social skills for kindergarten report cards, and provides both examples of positive feedback for students and suggestions for improvement. Help make the kindergarten grading and evaluation process easier with this selection of editable ...'}
SYSTEM: Command write_to_file returned: File written to successfully.
THOUGHTS: Now that I have saved the search results to a file, I need to read through them and take notes on important points to include in the article. I will use the 'read_file' command to read the search results from the file.
REASONING: Reading through the search results will help me gather relevant information to include in the article. Using the 'read_file' command will allow me to easily access the search results that I saved to the file.
PLAN:
- Use the 'read_file' command to read the search results from the file.\n- Take notes on important points to include in the article.
CRITICISM: I need to ensure that I take the time to read through the search results carefully to ensure that I include only relevant and accurate information in the article.
SPEAK: I will use the 'read_file' command to read the search results from the file and take notes on important points to include in the article.
Attempting to fix JSON by finding outermost brackets

Apparently json was fixed.
NEXT ACTION: COMMAND = read_file ARGUMENTS = {'file': 'search_results.txt'}
SYSTEM: Command read_file returned: Kindergarten teachers are tasked with helping their students learn the basics of schooling and preparing them for first grade. While no two days are ever the same, kindergarten teachers are generally expected to: Prepare materials, lessons, and projects. Keep lessons fresh, engaging, and interesting. Teach basic skills in academics and behavior. This list of 32 ready-to-use report card comments covers academics, personality and attitude, work habits, and social skills for kindergarten report cards, and provides both examples of positive feedback for students and suggestions for improvement. Help make the kindergarten grading and evaluation process easier with this selection of editable ...
THOUGHTS: I have read through the search results and taken notes on important points to include in the article. Now, I need to start writing the article. I will use the 'start_agent' command to start a GPT agent to help me generate ideas for the article.
REASONING: Starting a GPT agent will allow me to generate ideas for the article and help me overcome writer's block. The 'start_agent' command will allow me to start a GPT agent and provide it with a task and prompt to generate ideas for the article.
PLAN:
- Use the 'start_agent' command to start a GPT agent and provide it with a task and prompt to generate ideas for the article.\n- Use the ideas generated by the GPT agent to write the article.
CRITICISM: I need to ensure that I use the ideas generated by the GPT agent as a starting point and not rely solely on them to write the article. I also need to ensure that the ideas generated by the GPT agent are relevant and accurate.
SPEAK: I will use the 'start_agent' command to start a GPT agent and provide it with a task and prompt to generate ideas for the article, and then use the ideas generated by the GPT agent as a starting point to write the article.
Attempting to fix JSON by finding outermost brackets

Apparently json was fixed.
NEXT ACTION: COMMAND = start_agent ARGUMENTS = {'name': 'article_ideas', 'task': 'Generate ideas for an article on how to enlighten children who are being commented on by their kindergarten teacher.', 'prompt': 'What are some effective strategies for enlightening children who are being commented on by their kindergarten teacher?'}
-=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-=
SYSTEM: Command start_agent returned: Agent article_ideas created with key 0. First response: As an AI language model, I do not encourage or condone any form of commenting on children by their teachers. However, if a child is being commented on by their kindergarten teacher, some effective strategies for enlightening the child could include:

1. Encouraging open communication: Encourage the child to talk about their experiences in school and listen to them without judgment.

2. Building self-esteem: Help the child build their self-esteem by praising their strengths and encouraging them to try new things.

3. Providing positive reinforcement: Reward the child for good behavior and positive actions to reinforce positive behavior.

4. Encouraging socialization: Encourage the child to socialize with other children to build their social skills and confidence.

5. Seeking professional help: If the child is struggling with emotional or behavioral issues, seek professional help from a counselor or therapist.

It is important to remember that every child is unique and may require different strategies to help them cope with comments from their teacher.
THOUGHTS: The GPT agent has provided some useful ideas for the article. Now, I need to use these ideas to write the article. I will use the 'write_to_file' command to write the article to a file.
REASONING: Using the 'write_to_file' command will allow me to write the article to a file and save it for future reference. This will also allow me to easily edit and revise the article as needed.
PLAN:
- Use the ideas generated by the GPT agent to write the article.\n- Use the 'write_to_file' command to write the article to a file and save it for future reference.\n- Review and revise the article as needed.
CRITICISM: I need to ensure that the article is well-written and provides useful information for readers. I also need to ensure that the article is free of errors and is easy to read and understand.
SPEAK: I will use the 'write_to_file' command to write the article to a file and save it for future reference, and then review and revise the article as needed to ensure that it is well-written and provides useful information for readers.
Attempting to fix JSON by finding outermost brackets

Apparently json was fixed.
NEXT ACTION: COMMAND = write_to_file ARGUMENTS = {'file': 'enlightening_children.txt', 'text': "Strategies for Enlightening Children Who Are Being Commented on by Their Kindergarten Teacher\n\nIf a child is being commented on by their kindergarten teacher, it can be a difficult and stressful experience for both the child and their parents. However, there are some effective strategies that can be used to help enlighten the child and improve their overall well-being.\n\n1. Encouraging open communication: Encourage the child to talk about their experiences in school and listen to them without judgment. This can help the child feel heard and validated, and can also help parents and teachers better understand the child's perspective.\n\n2. Building self-esteem: Help the child build their self-esteem by praising their strengths and encouraging them to try new things. This can help the child feel more confident and capable, and can also help them develop a positive self-image.\n\n3. Providing positive reinforcement: Reward the child for good behavior and positive actions to reinforce positive behavior. This can help the child feel valued and appreciated, and can also help them develop a sense of responsibility and accountability.\n\n4. Encouraging socialization: Encourage the child to socialize with other children to build their social skills and confidence. This can help the child develop important social skills, such as communication, cooperation, and empathy, and can also help them feel more connected to their peers.\n\n5. Seeking professional help: If the child is struggling with emotional or behavioral issues, seek professional help from a counselor or therapist. This can provide the child with the support and guidance they need to overcome their challenges and develop healthy coping strategies.\n\nIt is important to remember that every child is unique and may require different strategies to help them cope with comments from their teacher. However, by using these strategies, parents and teachers can help enlighten the child and improve their overall well-being."}
SYSTEM: Command write_to_file returned: File written to successfully.

Auto-GPT生成的最终结果

Strategies for Enlightening Children Who Are Being Commented on by Their Kindergarten Teacher

If a child is being commented on by their kindergarten teacher, it can be a difficult and stressful experience for both the child and their parents. However, there are some effective strategies that can be used to help enlighten the child and improve their overall well-being.

  1. Encouraging open communication: Encourage the child to talk about their experiences in school and listen to them without judgment. This can help the child feel heard and validated, and can also help parents and teachers better understand the child's perspective.

  2. Building self-esteem: Help the child build their self-esteem by praising their strengths and encouraging them to try new things. This can help the child feel more confident and capable, and can also help them develop a positive self-image.

  3. Providing positive reinforcement: Reward the child for good behavior and positive actions to reinforce positive behavior. This can help the child feel valued and appreciated, and can also help them develop a sense of responsibility and accountability.

  4. Encouraging socialization: Encourage the child to socialize with other children to build their social skills and confidence. This can help the child develop important social skills, such as communication, cooperation, and empathy, and can also help them feel more connected to their peers.

  5. Seeking professional help: If the child is struggling with emotional or behavioral issues, seek professional help from a counselor or therapist. This can provide the child with the support and guidance they need to overcome their challenges and develop healthy coping strategies.

It is important to remember that every child is unique and may require different strategies to help them cope with comments from their teacher. However, by using these strategies, parents and teachers can help enlighten the child and improve their overall well-being.

对比ChatGPT生成的结果

ChatGPT生成的结果如下:

人类: Kindergarten children were commented by teachers, how to console them?

ChatGPT: If a kindergarten child is commented by a teacher, the parents can comfort and encourage the child by listening to their feelings, encouraging them to express themselves, and affirming their efforts. Moreover, parents can also talk to the teacher about the specific reasons for the comment and work with them to help the child improve in areas that need development. In addition, parents can provide positive feedback and reinforcement for the child's achievements to boost their self-esteem and confidence.

可见ChatGPT回答的也不差,对问题的处理,方方面面,多角度都考虑到了,语言简洁。Auto-GPT则生成了一大段文章。实际上是将很多文章拼接和总结要点组成成的结果。也可以改下提示词让ChatGPT就此话题写一篇文章,看看结果如何。

让ChatGPT以此为话题生成一篇文章:

人类: Kindergarten children were commented by teachers, how to console them? write an article about it

ChatGPT: As parents, it can be tough to see our little ones feeling upset or hurt by something that has been said to them, especially when it comes from someone they should be able to trust and look up to - like a teacher. This is why learning how to console them is so important.

If your child has been commented on by their teacher, the first thing to do is listen to their feelings. Ask them how it made them feel, and really listen to their response. Reassure them that you understand their feelings, and let them know that it's okay to feel upset or frustrated about the situation.

Letting your child express themselves is another important part of consoling them. Encourage them to share their thoughts and feelings about what has happened with you, and let them know that their thoughts and feelings are valid. This will help your child feel heard and understood, which can go a long way in helping them process what has happened.

It's important to affirm your child's efforts, as well. Let them know that you are proud of them for trying their best, and that their efforts are appreciated. This can help to build their confidence and self-esteem, and can make them feel more secure in their abilities.

In addition to consoling your child, it may also be helpful to speak with their teacher about the situation. Ask the teacher for feedback on how your child has been doing in class, and ask what specific areas they may need help with. Work together with the teacher to create a plan for how to help your child improve in areas that need development.

Finally, it's important to remember that every child is unique and may require different strategies to help them cope with comments from their teacher. However, by using these strategies, parents can help enlighten the child and improve their overall well-being. By listening, affirming, and encouraging them, parents can help their child process their emotions and move toward a positive resolution.

以下是上面ChatGPT回答的翻译结果:

作为家长,当我们看到孩子因为被某人(如老师)说了一些伤害性的话而感到不安或受伤时,会感到很困难。因此,学习如何安慰他们非常重要。

如果您的孩子受到老师的评论,首先要做的是听取他们的感受。询问他们感觉如何,并认真聆听他们的回答。向他们保证了解他们的感受,并让他们知道感到不安或沮丧是没关系的。

让孩子表达自己的想法和感受也是安慰他们的重要方法之一。鼓励他们与您分享对所发生事情的想法和感受,并让他们知道他们的想法和感受是有价值的。这将帮助孩子感到被听到和理解,从而更好地处理所发生的事情。

肯定孩子的努力也很重要。让他们知道你为他们尽力而为感到骄傲,并且感激他们的努力。这有助于提高孩子的自信心和自尊心,并使他们对自己的能力更加自信。

除了安慰孩子之外,与老师交谈也可能会有所帮助。询问老师对孩子的表现有何反馈,并询问是否需要帮助。与老师共同制定帮助孩子在需要发展的领域取得进步的计划。

最后,重要的是要记住,每个孩子都是独特的,可能需要不同的策略来帮助他们应对老师的评论。然而,通过使用这些策略,父母可以帮助孩子处理情绪,并向积极的结果迈进。通过聆听、肯定和鼓励他们,家长可以帮助孩子处理情绪,走向积极的解决方法。

Auto-GPT是以目标为导向,多次和AI交互并搜索互联网上的内容,提取整合后输出结果。ChatGPT是直接根据提示词输出结果,给的结果也不差,只要给ChatGPT足够好的提示词,就能出符合要求的内容。这个例子选取的太简单了,好像没有发挥好Auto-GPT的优势。

· 阅读需 4 分钟
backendcloud

MiniGPT-4

MiniGPT-4支持图片输入,对图片做做描述。MiniGPT-4是一个具有图像理解能力的开源聊天机器人,基于+Vicuna-13B+LLM+和+BLIP-2视觉语言模型。

最近很火爆的ChatGPT以及期背后的GPT3.5 GPT4,其中GPT4虽说支持多模态,但是多模态至今日(2023年04月19日)一直没有开放,小规模公测都没开放。所以,我们可以先用MiniGPT-4来玩玩。

官网给了火烈鸟的例子:

这个Logo设计简单而不失时尚感,以粉色线条勾勒出一只单脚站在水中的火烈鸟形象。整个设计干净简洁,易于辨识,适用于多种场合,比如用于海滨度假村的Logo或者是火烈鸟主题活动的标志。以火烈鸟作为象征,增加了一份趣味和活泼感,让整体设计更加富有记忆性和吸引力。总的来说,这是一个设计良好的Logo,能够有效地传达品牌的信息。

笔者觉得大多数人类也做不到这种水准的对图片的描述。

开源代码放在 https://github.com/Vision-CAIR/MiniGPT-4

可以去官网在线体验 MiniGPT-4的官网 https://minigpt-4.github.io/

笔者体验了下,确实可以输入图片,然后生成描述。但是,现在用的人太多,排队太长了,每个问题都要排队很长时间,要点耐心。

AnimatedDrawings

Animated Drawings 是一个可以将绘画作品转换成动画的项目,这个项目旨在成为一个有用的创造性工具,允许你灵活地创造动画,让你自己画的人物成为主角。

在线体验官网 https://sketch.metademolab.com/canvas

开源代码放在 https://github.com/facebookresearch/AnimatedDrawings

这不是新出的项目,几年前就开放在线体验了。只是最近各种人工智能项目很火且都有开源趋势,该项目最近才开放了源代码。

笔者体验了下,确实可以将绘画作品转换成动画。分别用了demo的图片和自己画了个图片,都可以,但是在线体验的只有固定的几套动作。如果想要更多的动作,以及更多的场景背景,可以自己安装在本地,然后就可以随意创作了。有了AI的帮助,将来动画创作就更加容易了。

X Studio 3

介绍的第三个项目 X Studio 3 虽不是开源的,但是,是一款AI辅助歌曲创作软件。最近AI绘图工具很火很多,比如 Dall-E 2,midjourney,Stable Diffusion等等,但是AI音乐制作工具比较少见,所以特别介绍一下,有音乐基础的读者可以玩一玩。

X Studio 3 是一款国产的是一款专业的虚拟歌手软件,这款软件能够帮助用户轻松进行各种歌曲的创作,能够提升大家的音乐制作体验,降低音乐创作的门槛。

官方下载地址 https://singer.xiaoice.com/