建立一个Bard聊天机器人
1 引言
如前所述,Google于近日向公众全面开放了它的AI对话产品Bard【与Bard对话 | 3DEC隔离块稳定性方法(block analyze-stability)】。本文在一个开源代码的基础之上,在本机上制作了一个Bard聊天机器人(bard-chat.py)。Bard聊天机器人与先前的GPT4free【GPT4free集成多源的GPT---3DEC流体模拟(3DEC flow modeling)】一样,都使用了逆向工程原理。这个聊天机器人本来计划与GPT4free写在一起,结果发现二者不能使用同一个IP地址,没办法,Bard在发布当天就对全球180个国家同时开放,ChatGPT目前对全球161个国家开放,而我们只能在狭缝中寻求解决方案。
2 试验
输入问题为"What is geotechnical engineering?",下面是Bard给出的回答:
[1] Geotechnical engineering is a branch of civil engineering that deals with the engineering behavior of earth materials (soil and rock) and the application of soil and rock mechanics for the solution of engineering problems. It is a specialized field that requires a thorough understanding of the physical, mechanical, and chemical properties of earth materials, as well as the principles of soil and rock mechanics. 岩土工程是土木工程的一个分支,涉及土和岩石的工程行为以及土力学和岩石力学在解决工程问题中的应用。这是一个专业领域,需要对岩土的物理、力学和化学性质以及土力学和岩石力学原理有透彻的了解。[2] Geotechnical engineers use their knowledge to design and construct a wide variety of structures, including: 岩土工程师利用他们的知识来设计和建造各种结构,包括:- Foundations for buildings, bridges, and other structures 建筑物、桥梁和其他结构的基础
- Sewage treatment plants 污水处理厂
- Waste disposal facilities 废物处理设施
[3] Geotechnical engineers also play a role in the environmental remediation of contaminated sites. They use their knowledge of soil and rock mechanics to design and implement methods for cleaning up hazardous waste.
岩土工程师在受污染场地的环境修复中也发挥着作用。他们利用他们在土和岩石力学方面的知识来设计和实施清理危险废物的方法。[4] Geotechnical engineering is a complex and challenging field, but it is also a rewarding one. Geotechnical engineers have the opportunity to work on a wide variety of projects that have a significant impact on the built environment. They also play an important role in protecting the environment and public health.
岩土工程是一个复杂且具有挑战性的领域,但它也是一个有回报的领域。岩土工程师有机会从事对建筑环境有重大影响的各种项目。他们在保护环境和公众健康方面也发挥着重要作用。[5] Here are some of the tasks that geotechnical engineers typically perform:
以下是岩土工程师通常履行的一些任务:- Conduct site investigations to assess the physical and mechanical properties of soil and rock 进行现场调查以评估土和岩石的物理和力学特性
- Design foundations, retaining walls, and other structures 设计基础、挡土墙和其他结构
- Monitor the performance of structures during construction and operation 在施工和运营期间监控结构的性能
- Investigate and remediate contaminated sites 调查和修复受污染的场地
- Develop and implement environmental protection measures 制定和实施环境保护措施
[6] Geotechnical engineers typically need a bachelor's degree in civil engineering or a related field. Some employers may also require a master's degree or a professional engineering license. 岩土工程师通常需要土木工程或相关领域的学士学位。一些雇主可能还需要硕士学位或专业工程执照。[7] The job outlook for geotechnical engineers is expected to grow faster than average in the coming years. This is due to the increasing demand for infrastructure construction and the need to protect the environment from the effects of development. 预计未来几年岩土工程师的工作前景增长速度将超过平均水平。这是由于对基础设施建设的需求不断增加,并且需要保护环境免受发展的影响。