Zooming to
the wineries
by Shinkansen



Technologies for development
Develop server-side JavaScript® apps Seamlessly, based on the SDK for Node.js.

LINE Messaging API

OpenAI API
Natural Language Processing

DALL-E2 API
Image generation


obniz
IoT device
System architecture



自然言語で
対話
ワイナリー
APIを叩く
ワイナリー名からイメージ生成

メッセージ
送受信



プラレールを
制御

Let's ask the LINE Bot about “winery”


Image prompted
by a randomly selected winery name


Discover Your Winery Options!
株式会社
サンクゼール
マンズワイン
勝沼ワイナリー
サッポロワイン
岡山ワイナリー



and more & more!
株式会社
Kidoワイナリー
塩山洋酒醸造
株式会社
はままつフルーツパーク
ワイナリー



How GPT-4 returns the winery info
const gptOptions = {
model: "gpt-4-0613",
messages: [PromptFromUser],
function_call: "auto",
functions: [
{
name: "getWineryInfo",
description:
"ワイン・ワイナリーなどのワインに関する単語があれば、function_callを実行します。
それによって、日本国内のワイナリーリストからランダムに選ばれた2つのワイナリーの名称とURLを返します"
How DALL-E draws the winery image
const PromptWineryName = `vivid pastel color dreamy illustration of shinkansen and wineries: ${WineryName.join(' and ')}.`;
“ 新幹線とワイナリー名称のビビットなパステルカラーの夢のようなイラスト“
It’s time to enjoy Wine de viewwwn!

Let's go to see a real winery as well
Project owner
AYUMI Maruyama
social
Lecture
Special Thanks