A neutron star is the collapsed core of a massive supergiant star, which
had a total mass of between 10 and 25 solar masses, possibly more if the
star was especially metal-rich.[1] Neutron stars are the smallest and
densest stellar objects, excluding black holes and hypothetical white
holes, quark stars, and strange stars.[2] Neutron stars have a radius on
the order of 10 kilometres (6.2 mi) and a mass of about 1.4 solar masses.
[3] They result from the supernova explosion of a massive star, combined
with gravitational collapse, that compresses the core past white dwarf star
density to that of atomic nuclei.
Summary 3 sentences
1条答案
按热度按时间mccptt671#
获取给定提示的3句摘要的选项
您可以通过多种方式告诉OpenAI API您需要3句话的总结:
Write TL;DR in 3 sentences
(7个令牌)TL;DR 3 sentences
(5个令牌)Write summary in 3 sentences
(5个令牌)Summary 3 sentences
(3个令牌)以上所有操作都将返回一个3句话的摘要。
选择选项4
为什么?因为你为你使用的每个代币付费。因此,选项4的成本最低。
更重要的是,如果你写
TL;DR
,你会消耗3个token,这和你写Summary 3 sentences
一样。换句话说,它的成本是一样的,但是如果你写Summary 3 sentences
,你会得到一个3句话的总结。另外,不要忘记将
max_tokens
参数设置得足够高,以便OpenAI API可以返回3个句子。一个例子
让我们以OpenAI website官方发布的产品为例。
提示:
完成日期:
中子星是最小和密度最高的星体,半径约为10公里,质量为1.4个太阳质量。中子星是由一颗大质量恒星(总质量为10至25个太阳质量)的超新星爆炸,加上引力坍缩,将核心压缩至超过白色密度而形成的。因此,中子星代表大质量超巨星坍缩后的核心。