ํˆฌ์ž ํฌํŠธํด๋ฆฌ์˜ค ๊ด€๋ฆฌ ์ฑ—๋ด‡ ๊ฐœ๋ฐœ  

๊ฐœ์ธ ์ž์‚ฐ ํฌํŠธํด๋ฆฌ์˜ค ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•œ ์„œ๋น„์Šค ๊ธฐ๋ฐ˜ ์ฑ—๋ด‡ ๋งŒ๋“ค๊ธฐ

Last updated

๋‹ค์–‘ํ•œ ์ธํ„ฐํŽ˜์ด์Šค(์›น, Twilio ๋“ฑ)๋ฅผ ํ†ตํ•ด ์ฃผ์‹ ๋“ฑ์˜ ๊ธˆ์œต ํˆฌ์ž ํ˜„ํ™ฉ์„ ์กฐํšŒ ๋ถ„์„ํ•˜๋Š” Watson Conversation ๊ธฐ๋ฐ˜ ๊ธˆ์œต ์ฑ—๋ด‡์„ ๊ฐœ๋ฐœํ•ฉ๋‹ˆ๋‹ค.


‘์ฝ”๋“œ ๋ณด๊ธฐ’ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด GitHub์—์„œ ํ•œ๊ธ€ README ํŒŒ์ผ์„ ์„ ํƒํ•˜์—ฌ ๋ณด์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

By Tom Eck, Laura Bennett

Overview

์ฑ—๋ด‡์ด ๋น ๋ฅธ ์†๋„๋กœ ๋„์ž…๋˜๋ฉด์„œ ๊ณ ๊ฐ๊ณผ์˜ ์†Œํ†ต์„ ์œ„ํ•œ ์ฃผ์š”ํ•œ ๋งค์ฒด๋กœ ์ž๋ฆฌ ์žก์•„๊ฐ€๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฒˆ ๊ฐœ๋ฐœ ๊ณผ์ •์—์„œ๋Š” Investment Portfolio ์„œ๋น„์Šค๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํˆฌ์ž ํฌํŠธํด๋ฆฌ์˜ค ๋ฐ ๊ด€๋ จ ๋ณด์œ  ์ฃผ์‹์„ ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋Š” Watson Conversation ๊ธฐ๋ฐ˜ ์ฑ—๋ด‡์„ ๋งŒ๋“ค์–ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ๋ถ„์€ Simulated Instrument Analytics ์„œ๋น„์Šค๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ฃผ์–ด์ง„ ์‹œ๋‚˜๋ฆฌ์˜ค์—์„œ ์ฃผ์‹ ๋ถ„์„์„ ์‹คํ–‰ํ•˜๊ณ , ํ‘œ์ค€ ์›น ์ธํ„ฐํŽ˜์ด์Šค์™€ Twilio ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ํ†ตํ•ด ์ด๋Ÿฌํ•œ ์„œ๋น„์Šค๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋ฐฐ์šฐ๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

์ด ๊ณผ์ •์„ ๋งˆ์น˜๋ฉด ๋‹ค์Œ์˜ ๋ฐฉ๋ฒ•์„ ์ดํ•ดํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • Watson Conversation์„ ์‚ฌ์šฉํ•˜์—ฌ ์ฑ—๋ด‡ ๊ฐœ๋ฐœ
  • Watson Conversation ๋ด‡์— ์›น๊ณผ Twilio ๋“ฑ ์—ฌ๋Ÿฌ ์ธํ„ฐํŽ˜์ด์Šค ์„ค์ •
  • Investment Portfolio ์„œ๋น„์Šค๋กœ์˜ ์ ‘์†, ๋ฐ์ดํ„ฐ ๋กœ๋”ฉ ๋ฐ ์ €์žฅ
  • ์‹œ๋‚˜๋ฆฌ์˜ค์— ๋”ฐ๋ผ ๋ฐ์ดํ„ฐ๋ฅผ Simulated Instrument Analytics ์„œ๋น„์Šค๋กœ ๋ณด๋‚ด๊ณ  ๋ถ„์„ ํ™•์ธ

Flow

  1. ๊ฐœ๋ฐœ์ž๊ฐ€ ์—ฌ๋Ÿฌ ๊ฐœ์˜ ํ†ต์‹  ์ฑ„๋„(์˜ˆ: WebUI๋˜๋Š”Twilio)์„ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ด ๊ฐ ์ฑ„๋„์—์„œ ๋“ค์–ด์˜ค๋Š” ๋ฉ”์‹œ์ง€๋ฅผ ์ˆ˜์‹  ๋Œ€๊ธฐํ•ฉ๋‹ˆ๋‹ค.
  2. Conversation API๊ฐ€ ์ž์—ฐ์–ด ๊ธฐ๋ฐ˜์˜ ์‚ฌ์šฉ์ž ์ž…๋ ฅ ํ…์ŠคํŠธ๋ฅผ ๋ฐ›์•„, ์‚ฌ์šฉ์ž์˜ ์˜๋„ ๋ฐ ํ‘œํ˜„ ์†์—์„œ ๊ฐœ์ฒด๋ช…(์—”ํ„ฐํ‹ฐ)์„ ํŒŒ์•…ํ•ฉ๋‹ˆ๋‹ค. ํŒŒ์•…๋œ ์˜๋„๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ํ•„์š”ํ•œ ํ•ด๋‹น ๊ธˆ์œต ์„œ๋น„์Šค๋ฅผ ํ˜ธ์ถœํ•ฉ๋‹ˆ๋‹ค.
  3. ๋Œ€ํ™” ๋ฌธ๋งฅ์„ Cloudant DB์— ์ €์žฅํ•จ์œผ๋กœ์จ, Conversation API๋Š” ์‚ฌ์šฉ์ž์™€์˜ ๋Œ€ํ™” ์ƒํƒœ๋ฅผ ์ €์žฅํ•˜๊ณ  ์‚ฌ์šฉ์ž์˜ ๋Œ€ํ™” ํ๋ฆ„์„ ์ถ”์ ํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.
  4. ๋ณด์œ  ์ฃผ์‹์ด๋‚˜ ํฌํŠธํด๋ฆฌ์˜ค์— ๊ด€ํ•œ ์ •๋ณด๋ฅผ ๋ฌป๋Š” ์งˆ์˜๊ฐ€ ์žˆ์œผ๋ฉด Portfolio Investment API๊ฐ€ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค. โ€œPromise Requestโ€๋ผ๋Š” ๋น„๋™๊ธฐ์‹ ์š”์ฒญ์„ ํ†ตํ•ด ํ•ด๋‹น ์งˆ์˜๊ฐ€ ํ˜ธ์ถœ๋˜๋ฉฐ, ์š”์ฒญ๋œ ๊ฐ’์ด ๋ฆฌํ„ด๋ฉ๋‹ˆ๋‹ค. ํ•ด๋‹น ๋ฆฌํ„ด ๊ฐ’์€ ํŒŒ์‹ฑ์„ ๊ฑฐ์ณ, response object ํฌ๋ฉง์— ๋งž๊ฒŒ Conversation ์ธํ„ฐํŽ˜์ด์Šค๋กœ ์ „๋‹ฌ๋ฉ๋‹ˆ๋‹ค.
  5. ์‚ฌ์šฉ์ž์˜ ์˜๋„๊ฐ€ โ€œ์˜ํ–ฅ ๋ถ„์„โ€์œผ๋กœ ํ™•์ธ๋˜๋ฉด Simulated Analytics API๊ฐ€ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค. ์ด ํ˜ธ์ถœ์€ ์šฐ์„ , ํ˜„์žฌ ๋ณด์œ  ์ค‘์ธ ์ฃผ์‹ ์ •๋ณด๊ฐ€ ํ•„์š”ํ•˜๊ธฐ์—Portfolio Investment API์— โ€œPromise Requestโ€ ๋ผ๋Š” ๋น„๋™๊ธฐ ํ˜ธ์ถœ์„ ํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. ๋ฆฌํ„ด๋œ ๊ฐ’์€ ์ดํ›„ Simulated Instrument Analytics์„œ๋น„์Šค(SIA)๋กœ ์ „์†ก๋˜๋Š” ์˜ค๋ธŒ์ ํŠธ์— ์ €์žฅ๋ฉ๋‹ˆ๋‹ค. SIA๊ฐ€ ๊ฐ€์ •๋œ ์‹œ์žฅ ๋ณ€ํ™” ์‹œ๋‚˜๋ฆฌ์˜ค ๋Œ€๋น„ ๋น„๊ต ๊ฒ€ํ† ํ•˜๊ธฐ ์œ„ํ•ด ์˜ค๋ธŒ์ ํŠธ์—์„œ ๊ธฐ๋ณธ ๊ฐ€๊ฒฉ๊ณผ ์กฐ๊ฑด๋ถ€ ๊ฐ€๊ฒฉ์„ ๊ฐ€์ ธ์˜ค๊ณ , ์ด ์‹œ๋‚˜๋ฆฌ์˜ค์—์„œ ๋ณด์œ  ์ฃผ์‹์— ๋ฏธ์น˜๋Š” ์˜ํ–ฅ์˜ ์ •๋„๋ฅผ ๋ฆฌํ„ดํ•ฉ๋‹ˆ๋‹ค. (๋ณธ ์˜ˆ์—์„œ๋Š” S&P 500์ด 5% ํ•˜๋ฝํ•  ๊ฒฝ์šฐ ํฌํŠธํด๋ฆฌ์˜ค์˜ ์„ฑ๊ณผ๊ฐ€ ์–ด๋–ป๊ฒŒ ๋  ๊ฒƒ์ธ์ง€ ์กฐํšŒํ•ด ๋ณด๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ํ•ด๋‹น ์ •๋ณด๋Š” ํŒŒ์‹ฑ์„ ๊ฑฐ์ณ Conversation ์ธํ„ฐํŽ˜์ด์Šค์˜ response object ํฌ๋ฉง์— ๋งž๊ฒŒ ์ „๋‹ฌ๋ฉ๋‹ˆ๋‹ค.

Components

Watson Assistant

๋ชจ๋ฐ”์ผ ๋””๋ฐ”์ด์Šค์™€ ๋ฉ”์‹ ์ € ํ”Œ๋žซํผ, ์‹ฌ์ง€์–ด ๋ฌผ๋ฆฌ์  ๋กœ๋ด‡ ์ƒ์—์„œ์˜ ๋Œ€ํ™” ๋ด‡ ๋˜๋Š” ๊ฐ€์ƒ ์—์ด์ „ํŠธ๋ฅผ ๋นŒ๋“œ, ํ…Œ์ŠคํŠธํ•˜๊ณ  ๋””ํ”Œ๋กœ์ดํ•ฉ๋‹ˆ๋‹ค.

Cloudant NoSQL DB

Cloudant NoSQL DB๋Š” ์œ ์—ฐํ•œ JSON ์Šคํ‚ค๋งˆ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์ตœ์‹  ์›น, ๋ชจ๋ฐ”์ผ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์œ„ํ•œ ํด๋ผ์šฐ๋“œ ๊ธฐ๋ฐ˜์œผ๋กœ ์ œ๊ณต๋˜๋Š” DBaaS ์†”๋ฃจ์…˜์ž…๋‹ˆ๋‹ค.

Investment Portfolio

์‹œ๊ฐ„ ํ๋ฆ„์— ๋”ฐ๋ฅธ ํˆฌ์ž ํฌํŠธํด๋ฆฌ์˜ค ๋‚ด์šฉ์„ ๊ธฐ๋กํ•ฉ๋‹ˆ๋‹ค

Simulated Instrument Analytics

๋‹ค์–‘ํ•œ ์‹œ์žฅ ํ™˜๊ฒฝ์—์„œ ํˆฌ์ž ์ฃผ์‹์˜ ์ด๋ก ์  ๊ฐ€์น˜์™€ ์‹œ์žฅ์— ์˜ํ•ด ์กฐ์ •๋œ ๊ฐ€์น˜๋ฅผ ๊ณ„์‚ฐํ•ฉ๋‹ˆ๋‹ค

Twilio

์Œ์„ฑ, ๋ฉ”์‹œ์ง• ๋ฐ VoIP๋ฅผ ์›น ๋ฐ ๋ชจ๋ฐ”์ผ ์•ฑ์— ํ†ตํ•ฉ์‹œํ‚ต๋‹ˆ๋‹ค

Technologies

์• ๋„๋ฆฌํ‹ฑ์Šค

์ •๋ณด๋ฅผ ๋„์ถœํ•˜๊ธฐ ์œ„ํ•ด ๋ฐ์ดํ„ฐ์—์„œ ํŒจํ„ด์„ ์ฐพ์Šต๋‹ˆ๋‹ค.

์ธ๊ณต ์ง€๋Šฅ

์ธ๊ฐ„์ฒ˜๋Ÿผ ์ดํ•ด, ์ถ”๋ก , ํ•™์Šต, ์ƒํ˜ธ์ž‘์šฉ์ด ๊ฐ€๋Šฅํ•œ ์ธ์ง€ ๊ธฐ์ˆ 

Databases

๋ฐ์ดํ„ฐ์˜ ์ €์žฅ ๋ฐ ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•œ ์ €์žฅ์†Œ.

Mobile

๋ชจ๋ฐ”์ผ ์‚ฌ์šฉ์ž๋ฅผ ์œ„ํ•ด ํŠน๋ณ„ํžˆ ๋””์ž์ธ๋œ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๊ฐœ๋ฐœํ•˜๊ณ  ์ฐธ์—ฌ๋ฅผ ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•˜๋Š” ํ™˜๊ฒฝ

Related Blogs

๊ท€ํ•˜๊ฐ€ ์ž…๋ ฅํ•œ ์‡ผํŠธ์ฝ”๋“œ ๊ฒ€์ƒ‰์กฐ๊ฑด์— ๋งค์น˜๋˜๋Š” ํฌ์ŠคํŒ…์ด ์กด์žฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

Related Links

Xignite

Deliver real-time and reference market data to your digital assets.