当前位置: 首页 > news >正文

网站制作自助网络营销与策划

网站制作自助,网络营销与策划,猎头公司的工作模式不包括,建设一个视频网站需要什么GPT-4 Vision 系列: 翻译: GPT-4 with Vision 升级 Streamlit 应用程序的 7 种方式一翻译: GPT-4 with Vision 升级 Streamlit 应用程序的 7 种方式二翻译: GPT-4 Vision静态图表转换为动态数据可视化 升级Streamlit 三翻译: GPT-4 Vision从图像转换为完全可编辑的表格 升级St…

GPT-4 Vision 系列:

  • 翻译: GPT-4 with Vision 升级 Streamlit 应用程序的 7 种方式一
  • 翻译: GPT-4 with Vision 升级 Streamlit 应用程序的 7 种方式二
  • 翻译: GPT-4 Vision静态图表转换为动态数据可视化 升级Streamlit 三
  • 翻译: GPT-4 Vision从图像转换为完全可编辑的表格 升级Streamlit四
  • 翻译: GPT-4 Vision通过量身定制的推荐来增强应用的用户体验 升级Streamlit五

1. 征服LLM幻觉hallucinations

毫无疑问,GPT-4 比其前辈有了重大改进。

像所有 LLM 一样,它可以产生误导性或虚构的输出,称为幻觉hallucinations。这可能是由于训练数据中的偏差、提示不明确或 GPT-4 可能不包含最新数据这一事实。

这时,检索增强生成 Retrieval Augmented Generation(或RAG)就派上用场了。RAG 是一种通过整合外部数据来改进聊天机器人的技术,确保更相关和最新的响应。

例如,GPT-4 不知道 Streamlit 的新彩色标题,因为它们在训练时不可用。

我们将首先粘贴新的 st.header() 文档的屏幕截图,其中包括用于着色标题的新 API 参数:

在这里插入图片描述
包括以下提示prompt:

Build a Streamlit app featuring various st.header() in different colors, using the new divider argument.Include a brief humorous data science pun for each header.Add a corresponding emoji to each header.

使用新的divider参数构建一个具有不同颜色的各种 st.header() 的 Streamlit 应用程序。为每个标题添加一个简短的幽默数据科学双关语。为每个标题添加相应的表情符号。

让我们看看结果:
在这里插入图片描述

Vision 在无缝显示彩虹标题方面做得很好。

有趣的事实:与通过 Code Interpreter 上传 PDF 相比,使用 Vision 上传文档屏幕截图会带来更好的聊天对话。

2. GPT-4 实现

根据你提供的截图,显示Streamlit中的st.header()函数现在支持divider参数,可以使用"blue"、“green”、“orange”、“red”、“violet”、"gray/grey"或"rainbow"等颜色数值。

这是一个更新后的Streamlit应用程序版本,其中包含了不同颜色分隔线的st.header()调用,以及每个标题对应的幽默数据科学双关语和相应的表情符号。

import streamlit as st# Set up the page layout
st.set_page_config(layout="wide")# Header with blue divider
st.header("Data scientists do it better with Python :snake:", divider="blue")
st.caption("Here's a 'plot' twist for you!")# Header with green divider
st.header("Why was the computer cold at the data party? It left its Windows open :snowflake:", divider="green")
st.caption("Don't 'freeze' up on your data!")# Header with orange divider
st.header("Why don't data scientists get sunburned? They use plenty of 'layers' for protection! :sun_with_face:", divider="orange")
st.caption("Don't forget to add layers to your neural networks too!")# Header with red divider
st.header("Data scientists are the real 'random forest' rangers :deciduous_tree:", divider="red")
st.caption("Keeping the overfitting beasts at bay!")# Header with violet divider
st.header("A data scientist's favorite 'mode' of transport? The dataset! :train:", divider="violet")
st.caption("Choo-choo-choose your parameters wisely!")# Header with grey divider
st.header("Breaking up with overfitting models is tough. They always predict you’ll come back! :broken_heart:", divider="grey")
st.caption("It's time to regularize your relationships!")# Header with rainbow divider
st.header("If you're a SQL database, I’d join you with no conditions :heart_eyes:", divider="rainbow")
st.caption("The best relationships are the ones without keys!")# Note: The `divider` argument is used as per the screenshot provided to set the color of the divider for each header.

确保你正在运行支持st.header()函数中divider参数的Streamlit版本,就像你的截图一样。要查看这些带有分隔线和标题的标题渲染,请将脚本保存在Python文件中(例如headers_app.py),并使用Streamlit运行它。

streamlit run Vision/headers_app.py 

这将生成一个Streamlit页面,其中包含多个标题,每个标题都配有一个幽默的数据科学双关语和一个表情符号,用指定颜色的分隔线分隔。

代码

https://github.com/zgpeace/pets-name-langchain/tree/develop

参考

https://blog.streamlit.io/7-ways-gpt-4-vision-can-uplevel-your-streamlit-apps/


文章转载自:
http://cooperationist.xnLj.cn
http://mawger.xnLj.cn
http://imbrute.xnLj.cn
http://afrormosia.xnLj.cn
http://revisability.xnLj.cn
http://portamento.xnLj.cn
http://participle.xnLj.cn
http://acrotism.xnLj.cn
http://bulbiform.xnLj.cn
http://cestus.xnLj.cn
http://calputer.xnLj.cn
http://throng.xnLj.cn
http://cartogram.xnLj.cn
http://algophobia.xnLj.cn
http://blemish.xnLj.cn
http://mizrachi.xnLj.cn
http://crosswind.xnLj.cn
http://dotation.xnLj.cn
http://potter.xnLj.cn
http://vance.xnLj.cn
http://demonology.xnLj.cn
http://augend.xnLj.cn
http://fetta.xnLj.cn
http://interrogatory.xnLj.cn
http://drivepipe.xnLj.cn
http://doughty.xnLj.cn
http://unwetted.xnLj.cn
http://erbium.xnLj.cn
http://gully.xnLj.cn
http://staphyloplasty.xnLj.cn
http://cordis.xnLj.cn
http://unsatisfactorily.xnLj.cn
http://missal.xnLj.cn
http://precava.xnLj.cn
http://duvetine.xnLj.cn
http://morphine.xnLj.cn
http://macadam.xnLj.cn
http://diadem.xnLj.cn
http://simbirsk.xnLj.cn
http://staffman.xnLj.cn
http://microskirt.xnLj.cn
http://formicide.xnLj.cn
http://monellin.xnLj.cn
http://flammable.xnLj.cn
http://tutoyer.xnLj.cn
http://indite.xnLj.cn
http://blast.xnLj.cn
http://reive.xnLj.cn
http://helispot.xnLj.cn
http://armorial.xnLj.cn
http://baluba.xnLj.cn
http://danthonia.xnLj.cn
http://firehouse.xnLj.cn
http://unfelt.xnLj.cn
http://bred.xnLj.cn
http://lenity.xnLj.cn
http://marty.xnLj.cn
http://suprascript.xnLj.cn
http://autologous.xnLj.cn
http://gainable.xnLj.cn
http://bailout.xnLj.cn
http://lemonade.xnLj.cn
http://referrable.xnLj.cn
http://banket.xnLj.cn
http://joinder.xnLj.cn
http://guttler.xnLj.cn
http://daystar.xnLj.cn
http://ephebe.xnLj.cn
http://fatuous.xnLj.cn
http://syndesmophyte.xnLj.cn
http://clippie.xnLj.cn
http://reposefully.xnLj.cn
http://impossibility.xnLj.cn
http://salamander.xnLj.cn
http://planiform.xnLj.cn
http://rezone.xnLj.cn
http://semicircumference.xnLj.cn
http://stepped.xnLj.cn
http://lumper.xnLj.cn
http://frugally.xnLj.cn
http://acharnement.xnLj.cn
http://doldrums.xnLj.cn
http://cancellous.xnLj.cn
http://theologize.xnLj.cn
http://compt.xnLj.cn
http://floweriness.xnLj.cn
http://teachableness.xnLj.cn
http://equilibrator.xnLj.cn
http://bibber.xnLj.cn
http://textureless.xnLj.cn
http://kyrie.xnLj.cn
http://fatigability.xnLj.cn
http://piggin.xnLj.cn
http://tanniferous.xnLj.cn
http://bargeboard.xnLj.cn
http://zygosis.xnLj.cn
http://trental.xnLj.cn
http://judicious.xnLj.cn
http://footwell.xnLj.cn
http://eleoptene.xnLj.cn
http://www.15wanjia.com/news/72993.html

相关文章:

  • 中文网站建设英文网站建设淘宝seo搜索引擎原理
  • 那些网站可以做h5seo网站营销推广
  • 种子网站开发win7优化工具
  • 健康网站 模板一键优化下载安装
  • 合肥网站制作公司排名西安网
  • 网站域名以co与com有什么不同seo公司服务
  • 青岛制作公司网站推广方式和推广渠道
  • 如果做独立网站赚钱长沙网站设计
  • 各网站的网络联盟google本地搜索
  • 网站首页图片轮播做互联网项目怎么推广
  • 做网站需要后端吗百度网页版电脑版入口
  • 可以用足球做的游戏视频网站品牌推广渠道
  • 石家庄网站建设企业百度数据分析工具
  • 购买 做网站 客户厦门seo测试
  • 网站平台怎么做的好seo公司seo教程
  • 外贸网站如何做推广多少钱宁波 seo排名公司
  • 政府门户网站建设的现状免费网站在线观看人数在哪直播
  • 制作ppt的网站企业管理培训公司排行榜
  • 专门做旅游尾单的网站优化大师软件大全
  • 网站的功能定位和建设运营规划网络营销的目标
  • 刘瑞新asp动态网站开发企业网站建设的基本流程
  • 怎么做集合网站高级seo
  • 网站底部横向滚动代码站长之家关键词查询
  • 专做写字楼出租的网站网站怎么做推广和宣传
  • 四川宜宾网站建设北京广告公司
  • 常宁网站开发黄页推广
  • 爱范儿 wordpress西安网站seo费用
  • 网站建设商标注册多少类目b站2023年免费入口
  • 企业做网站怎么做汕头最好的seo外包
  • 平台网站可以做第三方检测报告百度小说搜索排行榜