Skip to content
ℕ𝔸𝕊𝔸™ℕ𝕒𝕤𝕒𝕣𝕖™𝕊𝕡𝕒𝕔𝕖𝕏™ https://nasa.re/

Nasare™🚀

フレッシュ スペース & テクノロジー NEWS📢

  • About 𝒩𝒶𝓈𝒶𝓇𝑒™
  • SMART Tools
  • SMART AI
    • Kubeshark PCAP Export/Import
    • Coaching engineering managers to employ on organizational issues
    • Zelda: Hyperlink’s Awakening game engine documentation (2021)
    • Commercial Resupply Services-CRS
  • Show HN
    • WINd3x、iPod Bootrom エクスプロイトは 10 年遅かった
    • Just by Notでプログラミングするシステム オブジェクト指向プログラミングの活用
    • 主な BGP 増加をレジデンス Windows デスクトップに追加する
    • ガジェットの複雑さが増し、余分な IP の再利用が促進される
    • 新しい GitHub CLI 拡張インストゥルメント
    • Kubernetes を 7,500 ノードにスケーリング (2021 年)
    • Wander アプリ用の軽量なオンザフリット構成ライブラリ
    • Ask HN
      • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
      • Describe HN: Kandria, an action RPG made in Frequent Voice, is now out
      • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
      • Brand HN: Motion photographs Watchlist Chrome Extension
      • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
      • Level to HN: An initiate source tool to generate Jet Engine compressors
      • Insist HN: Ov – characteristic smartly off terminal pager
      • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
      • Level to HN: A corpulent game of snake encoded in a url
      • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
      • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
      • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
      • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
      • Speak HN: What sub $200 product improved HN readers’ 2022
      • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
      • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
    • Show HN
      • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
      • Android phones will at the moment obtain iPhone-love SOS satellite texting
      • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
      • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
      • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
      • Insist HN: Ov – characteristic smartly off terminal pager
      • Level to HN: An initiate source tool to generate Jet Engine compressors
      • Speak HN: What sub $200 product improved HN readers’ 2022
      • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
      • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
      • Level to HN: A corpulent game of snake encoded in a url
    • Brand HN: Motion photographs Watchlist Chrome Extension
    • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
    • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
    • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
    • Tag HN: Using Key-Value Retail outlets in Serverless Codehooks.io Applications
    • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
    • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
    • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
    • Brand HN: Motion photographs Watchlist Chrome Extension
    • Level to HN: A corpulent game of snake encoded in a url
    • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
    • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
    • Speak HN: What sub $200 product improved HN readers’ 2022
    • Level to HN: An initiate source tool to generate Jet Engine compressors
    • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
    • Insist HN: Ov – characteristic smartly off terminal pager
    • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
    • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
    • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
    • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
  • A Computer virus and a Dilemma
    • OCIS – OwnCloud Countless Scale
    • A Princeton student built an app which is ready to detect if ChatGPT wrote an essay
    • GitHub Is Sued, and We Would possibly perhaps Learn Something About Creative Commons Licensing
    • Adobe’s Command material analysis can be using photos/videos to narrate AI w/o consent
    • Ultralearning a.k.a. how I learned to code
    • Automatic1111 is assist on GitHub after taking away Embedding Links
    • Where Your Sides Came From
    • What Is a Pig Butchering Rip-off?
    • Submit-processing is ruining iPhone photos
    • Clos Topologies and Centralized Retain a watch on in Google’s Datacenter Community
    • Miller Engineering DS-1 House Planetarium
    • Gimel Studio: Non-harmful, 2D image editor
  • Technology
    • Miller Engineering DS-1 House Planetarium
    • Apple Doctors: to construct it as a file it is advisable to electronic mail it to your self
    • The Air India passenger who urinated on a girl has been fired by Wells Fargo
    • The Filesystem Hierarchy Usual Comes to Guix Containers
    • Sooner than it sued Google for copying from Java, Oracle changed into as soon as copying IBM’s SQL (2020)
    • The i3-gaps mission has been merged with i3
    • Making an Alphorn from Scratch
    • Apple: Braille Individual Guides
    • MotherDuck Is a Original Thought
    • The class of CGI and simple make
    • Like a mercurial tour of DragonFly BSD 6.4?
    • computer science
    • AI
    • Artificial intelligence
    • Technology
    • Ai
    • Apple
    • digital
  • TOP HN
    • anti-Mastodon
    • TOP HN
      • Show HN
      • Ask HN
      • coding
      • ガジェットの複雑さが増し、余分な IP の再利用が促進される
      • 新しい GitHub CLI 拡張インストゥルメント
      • Kubernetes を 7,500 ノードにスケーリング (2021 年)
      • Just by Notでプログラミングするシステム オブジェクト指向プログラミングの活用
      • Describe HN: Kandria, an action RPG made in Frequent Voice, is now out
      • WINd3x、iPod Bootrom エクスプロイトは 10 年遅かった
      • Wander アプリ用の軽量なオンザフリット構成ライブラリ
      • Artificial intelligence
      • 主な BGP 増加をレジデンス Windows デスクトップに追加する
      • Technology
      • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
      • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
      • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
      • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
      • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
      • Brand HN: Motion photographs Watchlist Chrome Extension
      • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
      • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
      • Describe HN: Kandria, an action RPG made in Frequent Voice, is now out
      • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
      • Insist HN: Ov – characteristic smartly off terminal pager
      • Just by Notでプログラミングするシステム オブジェクト指向プログラミングの活用
      • Kubernetes を 7,500 ノードにスケーリング (2021 年)
      • Level to HN: A corpulent game of snake encoded in a url
      • Level to HN: An initiate source tool to generate Jet Engine compressors
      • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
      • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
      • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
      • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
      • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
      • Speak HN: What sub $200 product improved HN readers’ 2022
      • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
      • Wander アプリ用の軽量なオンザフリット構成ライブラリ
      • WINd3x、iPod Bootrom エクスプロイトは 10 年遅かった
      • ガジェットの複雑さが増し、余分な IP の再利用が促進される
      • 主な BGP 増加をレジデンス Windows デスクトップに追加する
      • 新しい GitHub CLI 拡張インストゥルメント
      • ロンドンで*ダウン*を継続的に見つめる: Pavement Oddities
      • 報酬 HN: C の 30 行でスピンロック
      • FAA の NOTAM とは何ですか? 航空専門家が機械の仕組みを説明
      • ナノGPT
      • 1 ビット LCD のグレースケール (2022)
      • The Muse (YC W12) は FP&A のシニア ディレクターを採用しています
      • Zen (YC S21) はグロース エンジニアを採用しています
      • Tall Inquire of (YC W21) が B2B 回顧録の幹部を採用
      • Actiondesk (YC S19) は、プロダクト ドレスメーカーを採用しています (4-6 か月の契約)
      • Oven (YC S19) は、Bun を作成するために C/C++ または Zig エンジニアを採用しています。
      • WInd3x, the iPod Bootrom exploit 10 years too unhurried
      • Sign HN: FASTA recordsdata を操作するための FUSE モジュール
      • HN を指します: Socketify.py: PyPy3 および Python3 用の Http/Https および WebSocket サーバー
      • Wage Development Continues to Gradual in the UK and Euro House
      • Stage Supervisor for the unimpressed: 1 Getting started
      • First public free up of Pushup: a brand unique compiler for making net apps in Trip
      • Fixing Cart-Pole Swingup with a Hierarchical Controller
      • Flight Testing the Touchdown Radar for Mars Science Laboratory 2011-06-21T17:36:36Z
      • Flightcontrol (YC W22) is hiring first Developer Recommend
      • Flying boats and other tech for cleaner shipping
      • Four Finalist Touchdown Location Candidates for Mars Science Laboratory 2008-11-19T16:21:01Z
      • France’s prized nuclear sector stalled in Europe’s hour of want
      • French startup unveils new residential thermo-acoustic warmth pump
      • FTC Cracks Down on Firms That Impose Contaminated Noncompete Restrictions
      • FTX’s Aged Prime Lawyer Aided US Authorities in Bankman-Fried Case
      • FY18 NASA lėšų šnypštimas 2017-05-22T00:00:00Z
      • G-3PO: A protocol droid for Ghidra, or GPT-3 for reverse-engineering
      • Gail.com FAQ
      • Gemini-Titan (GT)-6 – Gemini 6 of 7 – 지역 사진 – 외부 지역 1965-12-15T00:00:00Z
      • Geoffrey Hinton Publishes Original Deep Learning Algorithm
      • Germany warns: AI fingers flee already underway (2021)
      • Gimel Studio: Non-harmful, 2D image editor
      • GitHub Availability File
      • GitHub Is Sued, and We Would possibly perhaps Learn Something About Creative Commons Licensing
      • Google needs RISC-V to be a “tier-1” Android architecture
      • Google researcher, lengthy out of math, cracks devilish dispute about gadgets
      • Google start sourced CDC File Transfer from the ashes of Stadia
      • GRC-2003-C-02097 2004-05-01T00:00:00Z
      • GRC-2013-C-05246 2009-11-26T00:00:00Z
      • Hello world!
      • Highlights of Science Launching on SpaceX CRS-15 2018-06-24T00:00:00Z
      • Hilf Al-Fudul
      • HiOperator (YC S16) Is Hiring VP of Engineering
      • HN を指します: Socketify.py: PyPy3 および Python3 用の Http/Https および WebSocket サーバー
      • How kind I blueprint a pair of buttocks?
      • How will the haj switch as international temperatures upward thrust?
      • Human gene linked to bigger brains turned into as soon as born from apparently pointless DNA
      • Hundreds of scientists publish a paper every 5 days
      • In Favor of Friction and Flexibility
      • Indicate HN: Klotho – Change into straightforward code into cloud native code
      • Indoor farming isn’t exact for the smartly off
      • Iranian assault drone came across to have parts from more than a dozen US companies
      • Israeli researcher experiences leak of 235M Twitter-linked e-mail addresses
      • Jam Stations in Low Earth Orbit
      • Jazz Is Freedom
      • JPL-20171102-TECHf-0001-ドローントリップ 人間vs機械 2017-11-17T00:00:00Z
      • JPL에서 NASA의 MSI 콘도미니엄 액셀러레이터 2022-08-25T00:00:00Z
      • JPSO extinct facial recognition abilities to arrest a man. The tech modified into once defective
      • jsc2017e136097 – 12 月 4 日,俄罗斯联邦地区公司 (Roscosmos) 的远征 54-55 号机组人员 Anton Shkaplerov 在俄罗斯 Principal person City 的加加林宇航员训练中心上向整洁的祝福者挥手致意,当时他登上了前往附近的 Chkalovsky Ai 的公共汽车2017-12-04T00:00:00Z
      • Kemble’s Cascade of Stars
      • Kepler-90 マシン (アーティストの考え) 2017-12-14T00:00:00Z
      • Koichi Wakata SpaceX 코칭 2022-06-27T00:00:00Z
      • KSC and Proud to Be Heart-Wide Diversity Tournament 2019-08-20T00:00:00Z
      • KSC ir „Proud to Be Center“ įvairovės turnyras 2019-08-20T00:00:00Z
      • AI
      • Artificial intelligence
      • Auto-Generate
      • anti-Mastodon
      • Awesome
      • BioSentinel
      • CATEGORIES
      • DC
      • Dione
      • Diversity
      • drone racing
      • drones
      • Dulles
      • education
      • Event
      • filmstock
      • Goddard
      • AI
      • Ask HN
      • autonomous
      • coding
      • computer science
      • Clusters
      • Artificial intelligence
        • Ai
        • Apple
        • Tesla
        • digital
        • MESSENGER
        • Device
        • Charts
        • change
        • Shows
        • fraud
        • Former
        • fucking
        • purge
        • Works
        • entering
        • Databases
        • Review
        • Strangely
        • Instinct
        • staff
        • Salesforce
        • intern
        • Involuntary
        • promise
        • Twilio’s
        • nisv live
        • attack
        • Iranian
        • France’s
        • prized
        • infrastructure
        • Debian-based
        • nisv s02 ep03
        • siduction
        • Awesome
        • Calculate
        • Beautiful
        • Linux
        • Start
        • dollar
        • Messier
        • Daughters
        • ‘Breakthrough’
        • obesity
        • Al-Fudul
        • sixty years
        • PyTorch
        • discloses
        • Ancient
        • Stone
        • Popup
        • design
        • public
        • expanding
        • cloud
        • forest
        • startup
        • French
        • batteries
        • fleas
        • spotted
        • Petals
        • language
        • Habitual
        • checking
        • GitHub
        • Availability
        • layers
        • inconsistencies
        • Affair
        • Quasi-War
        • Sergey
        • Irate
        • bestseller
        • necessarily
        • Scientists
        • Titan
        • twitch
        • FGS/NIRISS – Fine Guidance Sensor/Near InfraRed Imager and Slitless Spectrograph
        • infrared
        • ISIM – Integrated Science Instrument Module
        • JHU – Johns Hopkins University
        • JWST – James Webb Space Telescope
        • JWST – James Webb Space Telescope
        • absolute zero
        • Big Bang
        • Peace
        • Studio
        • Making
        • project
        • -gaps
        • warns
        • Germany
        • Braille
        • MotherDuck
        • prototype
        • Challenges
        • Infinite
        • OwnCloud
        • Novel
        • Before
        • copying
        • California
        • getting
        • States
        • Criminal
        • Brother
        • Released
        • Method
        • owners
        • ‘richsession’
        • email
        • Elements
        • Where
        • passenger
        • Hierarchy
        • Filesystem
        • economic
        • Crew Dragon
        • Bridenstine
        • Scientific
        • Heaviosity
        • Patterns
        • Unexpected
        • minimalist
        • Ecode
        • Alpha
        • Wolfram
        • Tailwind
        • HiOperator
        • Klotho
        • TEAMS
        • ROBOTICS
        • Antelope
        • Sponsors
        • Ellen Gertsen
        • Transform
        • Flightcontrol
        • subscriptions
        • Internet
        • Theory-building
        • you’re
        • looking
        • Transfer
        • error’
        • Tails
        • migrate
        • Building
        • Bitmovin
        • Remote
        • PhotoRoom
        • Company
        • Taking
        • Ribbon
        • BibDesk
        • Android
        • profilers
        • phones
        • modern
        • Mastercard
        • private
        • We’ve
        • reportedly
        • Microsoft
        • Artsy
        • trades
        • skilled
        • Polygon
        • Flying
        • Princeton
        • Codemods
        • Coaching
        • UK’s
        • popping
        • sourced
        • Wikipedia
        • admin
        • Indoor
        • quick
        • Mysterious
        • Spotify
        • Fancy
        • Spotify
        • Weird
        • mail-order
        • Recipients
        • computer
        • optics
        • partnership
        • commercial
        • telemetry
        • Crisis
        • billionaire
        • Party
        • Onelab
        • Faster
        • general
        • Adobe’s
        • database
        • FinanceDatabase
        • Numerical
        • Freedom
        • concrete
        • Stacks
        • computer science
        • NASA
    • Show HN
    • Ask HN
    • Technology
    • computer science
    • coding
    • Clusters
    • AI
    • drones
    • autonomous
    • Auto-Generate
    • Ask HN
    • Show HN
    • The SMART Science™
    • google
  • CRYPTO
    • Blockchain
    • farming
    • Billionaires
    • FTX’s
    • FinanceDatabase: A database of 300.000 symbols (ETFs, Currencies, Crypto)
  • Artificial intelligence
  • Toggle search form
  • 2UケースのラックにPCを巻き込む
    2UケースのラックにPCを巻き込む Artificial intelligence
  • KDE プラズマ 5.27 がリリースされました
    KDE プラズマ 5.27 がリリースされました anti-Mastodon
  • Fedora のシャットダウン タイムアウトの変更
    Fedora のシャットダウン タイムアウトの変更 anti-Mastodon
  • Roald Dahl: 通常の本は批判を受けて印刷されるべきです
    Roald Dahl: 通常の本は批判を受けて印刷されるべきです Artificial intelligence
  • Mobian の月: 2023 年 2 月/3 月 Show HN
  • SushiDAOの料理長にSECによる召喚状
    SushiDAOの料理長にSECによる召喚状 Julian Assange
  • OpenAI CEO サム アルトマン & GPT-4:「人々はがっかりすることを懇願しています:彼らはそうなるでしょう」/
    OpenAI CEO サム アルトマン & GPT-4:「人々はがっかりすることを懇願しています:彼らはそうなるでしょう」/ Altman
  • 気候変動: CO2 削減量を取得しますか?
    気候変動: CO2 削減量を取得しますか? anti-Mastodon
  • Total Electronics の内なる素晴らしいこと
    Total Electronics の内なる素晴らしいこと Artificial intelligence
  • Tweetbot と Twitterrific が崖に立ち向かう
    Tweetbot と Twitterrific が崖に立ち向かう anti-Mastodon
  • Спускаемый автомобиль с приводом от Марсианской научной лаборатории 2011-11-10T18:00:03Z
    Спускаемый автомобиль с приводом от Марсианской научной лаборатории 2011-11-10T18:00:03Z Ask HN
  • 最も単純な Mac ゲームの旅は、PC をダラスのナレッジ センターに置くことです
    最も単純な Mac ゲームの旅は、PC をダラスのナレッジ センターに置くことです anti-Mastodon
  • グラフ データベースの PageRank アルゴリズム
    グラフ データベースの PageRank アルゴリズム Algorithm
  • AI 生成の手の不可思議な災害
    AI 生成の手の不可思議な災害 anti-Mastodon
  • この VC はゆっくりとジョブを自動化しています
    この VC はゆっくりとジョブを自動化しています anti-Mastodon
Advised Engine – Microsoft の推奨エンジニアリング ライブラリ

Advised Engine – Microsoft の推奨エンジニアリング ライブラリ

Posted on February 15, 2023 By 📢 𝔾𝕠𝕠𝕘𝕝𝕖™
このリポジトリには、Substantial Language Devices (LLM) のプロンプトを作成および確認するための NPM ユーティリティ ライブラリが組み込まれています。

背景 LLM は GPT-3 を味わい、Codex は AI の限界を押し広げてきました -彼らは言語とコードを生成することができますが、さらに、クイズの答え、要約、分類、対話を味わう緊急の行動をとる立場にあります。 確かに、LLM から特定の動作を可能にするためのいくつかの優れた方法は、促されたエンジニアリングと呼ばれています。 数ショット プロンプトは、入力と出力の例を示して、検索しようとしている種類の出力の参照がモデルに含まれるようにするための規律です。

アドバイスされたエンジニアリングは、クイズをフォーマットしてモデルに渡すのと同じくらい簡単かもしれませんが、文字列を操作して置換するために巨大なコードが必要になるため、さらに複雑になります。 このライブラリは、それをより簡単に取得することを目的としています。 さらに、パターンを成文化し、球状の促されたエンジニアリングを実践することを目標としています。 )常に必要なコードを作成するために Codex を取得する方法

このライブラリがコード化する、推奨されるエンジニアリング パターンのインスタンスに関する記事

設定

npm install urged-engine

使用法 介在時間内のライブラリは、一般的な PromptEngine、 CodeEngine と チャットエンジン. 3つすべてが、ユーザーとモデルがつぶやくため、促されたエンジニアリングのサンプルを促進します。促されたエンジニアリングは、説明、入力と出力の例、および継続的な入力/出力のペアを表す進行中の「ダイアログ」で構成されています。 ダイアログは、モデル (ステートレス) が、ダイアログで役割を果たしたものについてのコンテキストを持っていることを保証します。

コード エンジン

  Code Engine は、Natural Language to Code ケースのプロンプトを作成します。  CodeEngine をインポートするための TypeScript 構文を確認します。  
輸入 { コードエンジン  }

から 「促されたエンジン」

;

NL->コード プロンプトには、全体として、モデルが生成する必要があるプログラミング言語と実行する必要があるライブラリについてのコンテキストを提供する必要がある説明が必要です。 説明は、目前の義務に関する情報を追加で提供する必要があります:

const 説明

= 「JavaScript 数学コードへの自然言語命令。コードは、論争の結果をコンソールに記録する必要があります。」 ; NL->コード プロンプトには、NL->コードの相互作用の例が追加で含まれている必要があります。これは、モデルが形成すると予想される大まかなコードを例示しています。 この場合、入力は数学クエリ (「2 + 2 とは?」など) と、コンソールがクイズの結果をログに記録するコードです 。 ;” dir=”auto”>

const 例 = [ { input: “what’s 10 plus 18”, response: “console.log(10 + 18)” }, { input: “what’s 10 times 18”, response: “console.log(10 18)” },]

;

デフォルトでは、CodeEngine はプログラミング言語として JavaScript を使用していますが、特定の CodePromptConfig をコンストラクターに渡す鼻を鳴らしてみましょう、Python プロンプトを形成したい場合は、CodeEngine を渡します。 a pythonConfig 発行演算子を指定する:

const pythonConfig

=
{
commentOperator : "#"

,

}  )const codeEngine =

新鮮

CodeEngine (

説明,

例

,

flowResetText, pythonConfig

) ; 私たちの説明と例で、私たちは横断して コードエンジン:

const

codeEngine  
= 新鮮 コードエンジン (
説明, 例 );
これで )CodeEngine、プロンプトを作成するためにそれを実行する立場にあります:

const

クイズ

=

 「4の9番目のエネルギーを1018ケースとは?」;
const

おねがいします =codeEngine

。 buildPrompt
(

クイズ);

結果の urged は、説明、例、最新のクイズが問題演算子と改行でフォーマットされた文字列のように見えます:

/JavaScript 数学コードへの自然言語命令。 コードは、紛争の結果をコンソールに記録する必要があります。  */ /10 足す 18 */

コンソール

。 ログ

(

10

 + 

18 )

; /何と10ケース18 */

コンソール

.
ログ
(
10  
 * 
18 ));

/4 の 9 番目のエネルギーは 1018 の場合? */ コンテキストが与えられた場合、優れたコード期間モデルは、上記の推奨事項を維持し、次の行を推測できます: console.log(1018 Math.pow(4, 9));. 前の会話が次のフリップに影響を与える複数のフリップの場合、コード エンジンは、

... //コード時代モデル
の存在を想定させて コード = モデル.

generateCode(おねがいします

);

// インタラクションを提供します codeEngine.

addInteraction 
 (クイズ ,
 コード
);

新しいプロンプトは、最新の NL->コード インタラクションで構成されます:

codeEngine

.

buildPrompt

(「8番目のエネルギーはどうですか?」

)

;

上記のものに対応するプロンプトを生成しますが、NL->コード ダイアログ履歴を使用します:

... /4の9番目のエネルギーを1018ケースとは? */ コンソール. ログ(1018 * 算数.

捕虜( 4, 9 ))

;
  /8番目のエネルギーはどうですか?  */  この文脈で、コード時代モデルは、クイズによって暗示されることを実現したい対話文脈を持っています。 この場合、モデルは console.log(1018 Math.pow(4, 8)); を正確に生成します。 . 

チャットエンジン

Objective correct savor コード エンジン、チャット エンジンは、説明と例を含むプロンプトを作成します。 バリエーションは、ユーザーとモデルの両方が純粋な言語を使用するダイアログ ケースのプロンプトをチャット エンジンが作成することです。 ChatEngine コンストラクターは非main chatConfig 引数、どの容量がマルチフリップダイアログでユーザーとチャットボットのタイトルを詳しく説明できます:
 const  

chatEngineConfig=

{

ユーザー : 
 「ライアン」,

bot

:

」ゴードン」 }; 

チャットプロンプトは、コンテキストを提供する説明からさらに利益を得る. この説明は、モデルがボットがどのように承認する必要があるかを解決するのに役立ちます.

 const 説明
 =

「気になるロボット・ゴードンとの掛け合い。ゴードンは神経質に認識しがちで、練習問題をいろいろ出します。」;

同様の流行では、チャット エンジンのプロンプトに対話の例を含めることができます:

const 例
=
 [

{ input: "Who made you?", response: "I don't know man! That's an awfully existential question. How would you answer it?" }, { input: "Good point - do you at least know what you were made for?", response: "I'm OK at riveting, but that's not how I should answer a meaning of life question is it?"}]

;

これらの例は、ボットのトーンをサポートしています。この場合、Gordon the Anxious Robot です。 これで、ChatEngine を作成できるようになりました。 プロンプトを作成するためにそれを実行します:

const  chatEngine

= 新鮮 チャットエンジン

( 説明,

例 ,

flowResetText , chatEngineConfig

 )
; const
userQuery
=

「あなたは何でできているの?」

;
const

お願いします

=

chatEngine
.

buildPrompt

 (
userQuery ));

巨大な言語モデル (GPT-3 など) に渡された場合、上記のコンテキストは、モデルからの応答をサポートし、「あるレベルで亜原子粒子が発生する可能性がありますが、私が作成する可能性のあるものを味わうことができます。あなたが求めていたものを仲介することはもうありません。」. コード エンジンと同様に、モデルがダイアログ コンテキストを意識するように、この確認を保持してダイアログを続行する立場にあります:

chatEngine .addInteraction

( userQuery, "あるレベルの素粒子ですが、おそらく私が媒介するものは何もありませんそれはあなたが求めていたものです。")

; )

推奨されるオーバーフローの管理 実質的な言語デバイスのプロンプトは、言語モデルが並外れていることを考慮して、合計でサイズが制限されています。 urged-engine がダイアログの履歴を保持できるという条件で、ダイアログが urged のオーバーフローに別れを告げるために想像できることは何マイルもありません。 Advised Engine のサンプルは、最新の対話を記憶するよう促され、首尾よく成功した最良の対話から最も古い対話対話を延期することによって、この再集計を処理します。 maxTokens 要求されたエンジンの構成を開発するときのパラメーター:

させて 
 promptEngine=

新鮮 PromptEngine

(説明

, 例

,

 flowResetText,

{ modelConfig: {

maxTokens

: 1000
 } } )
;

手持ちの機能 以下は、PromptEngine

で利用可能な機能です。 クラスとそれを継承する人々:

説明パラメーター

説明

 戻り値   

buildContext

なし
Advised Engine に装備されたパラメータを使用してコンテキストを構築して返します

コンテキスト: 文字列

buildPrompt

推奨: string

からのコンテキストを結合します buildContext せっせと作るクイズ付き

 推奨: string  
buildDialog
なし
アドバイスされたエンジンに追加された以前の対話全体ごとにダイアログを作成します ダイアログ: 文字列
addExample
interaction: Interaction(input: string, response: string) 指定されたインスタンスを例に提供します
 なし 

addInteraction

interaction: Interaction(input: string, response: string)

ダイアログに与えられたインタラクションを提供します

なし
removeFirstInteraction

なし を取り除き、メインインターを返しますダイアログでのアクション
インタラクション: string

removeLastInteraction
 なし ダイアログに追加された終了インタラクションを取り除き、返します   インタラクション: string     resetContext  
 なし  ダイアログからすべての対話を取り除き、リセットされたコンテキストを返します    コンテキスト:文字列  
より多くの例と実践への洞察について urged-engine ライブラリ、例フォルダ

YAML 表現 プロンプトをスタンドアロン ファイルとして特徴付けるために機能する可能性さえあるかもしれません、対コード。 これにより、多様なプロンプト、強制バージョン管理、およびその他の開発された機能の間で簡単に交換できるようになります。 ソリューションでこれを使用すると、urged-engine は、プロンプトを YAML として特徴付け、その YAML を urged-engine クラスに正しくロードする手法を提供します。 見よ examples/yaml-examples for YAMLプロンプトとそれらがurged-engineにロードされるブループリントの例. 貢献しています この使命は、貢献と提案を歓迎します。 ほとんどのコントリビューションでは、コントリビューター ライセンス アグリーメント (CLA) に同意する必要があります。これは、コントリビューションを実行する権利を最もクールに取得し、実際に取得する可能性が高いことを宣言するものです。 詳細については、https://cla.opensource.microsoft.com .

プル デマンドを送信している間、CLA ボットは、CLA を形成して装飾することが重要であるかどうかをロボットで解決します。 PR を正確に行う (例: 青写真の比較、発行)。 ボットが備えている指示を練習するだけです。 私たちの CLA の演習で、すべてのリポジトリでこれを達成する必要があることは間違いありません.

このミッションは
Microsoft Originate Supply Code of Habits . 詳細については、 のアップをご覧ください) Code of Habits FAQ )またはお問い合わせ
opencode@microsoft.com 追加の質問またはコメント

原因の主張 このライブラリは、Substantial Language Devices の実行を簡素化し、ビルダーが既存のパターンの利益を取得できるように直接取得することを目的としています。 キットはとともにリリースされますビルド 2022 AI の例、主な 3 つは、このライブラリが簡素化するマルチフリップ LLM サンプルを実行するためです。 このキットは、特定の LLM とは独立して動作します。キットによって生成されたものは、さまざまな言語およびコード生成ファッションで使用できるはずです。 エンブレム この使命は、イニシアチブ、商品、または企業や製品のエンブレムやエンブレムを維持する可能性があります. Microsoft エンブレムまたはエンブレムの許可された使用は、
の対象となり、実行する必要があります。 マイクロソフトの商標およびマーク ポインタ。 このミッションの変更されたバージョンの Microsoft エンブレムまたはエンブレムの列車は、もはや混乱を引き起こしたり、Microsoft のスポンサーシップを暗示したりする必要はありません。 三度目のエンブレムまたはエンブレムの行使は、これらの三度目のポリシーの対象となります.
𝚆𝚊𝚝𝚌𝚑 𝙽𝙾𝚆 📺

Artificial intelligence, Ask HN, engine, Prompt, Show HN, Technology, TOP HN Tags:engine, Prompt, Show NH:

Post navigation

Previous Post: Intelが衰退し続ける中、AMDがCPU市場の30%以上を占める
Next Post: フォードはコストでテスラを魅了することはできません。 CEOが会社を再考した理由

Related Posts

  • 私は学問よりも OpenAI を選びました: リフレクション チュートリアルと業界の求人市場
    私は学問よりも OpenAI を選びました: リフレクション チュートリアルと業界の求人市場 Artificial intelligence
  • ゼロからのMINIX
    ゼロからのMINIX Artificial intelligence
  • Bitwarden ダイアグラムの欠陥
    Bitwarden ダイアグラムの欠陥 Artificial intelligence
  • 公共放送事業者は、「Public Spaces Incubator」でオンライン領域を再利用したいと考えています
    公共放送事業者は、「Public Spaces Incubator」でオンライン領域を再利用したいと考えています Artificial intelligence
  • 最高経営責任者(CEO)がレイオフはこれ以上ないと予測した後、メタは数百の雇用を削減する計画
    最高経営責任者(CEO)がレイオフはこれ以上ないと予測した後、メタは数百の雇用を削減する計画 Artificial intelligence
  • DNAの「寄生虫」は、私たちの遺伝子を断片化するだけかもしれません
    DNAの「寄生虫」は、私たちの遺伝子を断片化するだけかもしれません ‘Parasite’
  • Uncover HN: GPT-3 API のデプロイ ボタン 手を貸す 終了
    Uncover HN: GPT-3 API のデプロイ ボタン 手を貸す 終了 Artificial intelligence
  • Intel および ARM Mac で The Sims 1 に参加するためのファイル
    Intel および ARM Mac で The Sims 1 に参加するためのファイル Artificial intelligence
  • Lego は abet Blender によって GPL に違反しています – 本質的に基本的にはほとんど BrickLink Studio のソースがクローズされています (2021)
    Lego は abet Blender によって GPL に違反しています – 本質的に基本的にはほとんど BrickLink Studio のソースがクローズされています (2021) Artificial intelligence
  • HN のデモンストレーション: Pandas データフレームを Tableau に似た UI に変換して視覚的な診断を行う
    HN のデモンストレーション: Pandas データフレームを Tableau に似た UI に変換して視覚的な診断を行う Artificial intelligence

Recent Posts

  • Treble.ai (YC S19) はニューヨークでスペイン語を話すエンジニアを採用しています
  • 映画はなぜ2ndが暗いのか?
  • LifeHacker の異例のスタート
  • 長時間ストレージとしてのSSD
  • 教皇の AI 画像がバイラルになったことに不安を感じたら?

Recent Comments

  1. robga on Excessive Avenue コーヒーのカフェイン ステージはさまざまで、テストでは
  2. Loic on 行方不明の放射性タブレットは、必死の捜索の後、WA奥地で偶然見つけました
  3. minihat on メタは、標準的な VR e スポーツ Echo Area をシャットダウンします
  4. dafelst on フレーム ポインターの巻き戻しによる Move 実行トレーサーのオーバーヘッドの削減
  5. cloudking on GraphGPT: 構造化されていないテキストの肯定的な素材からのレコードデータ グラフの外挿
  • Point to HN: Makejinja: Robotically generate advanced Dwelling Assistant configurations
    Point to HN: Makejinja: Robotically generate advanced Dwelling Assistant configurations Automatically
  • KSC-05pd-0188 2005-02-01T00:00:00Z
    KSC-05pd-0188 2005-02-01T00:00:00Z Ask HN
  • यह छवि नासा के ईपीआईसी कैमरे द्वारा एनओएए डीएससीओवीआर अंतरिक्ष यान 2022-12-31 18:41:31 पर ली गई है
    यह छवि नासा के ईपीआईसी कैमरे द्वारा एनओएए डीएससीओवीआर अंतरिक्ष यान 2022-12-31 18:41:31 पर ली गई है Ask HN
  • Mars Science Laboratory Spacecraft Assembled for Making an are attempting out 2008-11-19T16:21:01Z
    Mars Science Laboratory Spacecraft Assembled for Making an are attempting out 2008-11-19T16:21:01Z 𝙱𝚒𝚘 𝙴𝚡𝚙𝚎𝚛𝚒𝚖𝚎𝚗𝚝𝚜™
  • Boulevard Fighter の長く失われた空気圧制御に再び同意するための私の探求
    Boulevard Fighter の長く失われた空気圧制御に再び同意するための私の探求 Artificial intelligence
  • ファン・ゴッホ、AMDのSteam Deck APU
    ファン・ゴッホ、AMDのSteam Deck APU AMD’s
  • KSC-05pd-1025 2005-05-19T00:00:00Z
    KSC-05pd-1025 2005-05-19T00:00:00Z Ask HN
  • Wasavi – 任意の Web ページ用の Vi エディター Show HN
MAILANON
2100 MAIL
SEO
METAVERSE
BioLINK
CRYPTO MINING
CASINO
DEFI-TRACKER
StartApp Network
RAVES-MONSTER-GAME
RAVES EXCHANGE
RAVES NFT
KVANTA TV

Copyright © 2023 Nasare™🚀.

Powered by PressBook News Dark theme