Showing
2 changed files
with
48 additions
and
11 deletions
1 | ## Mother Project | 1 | ## Mother Project |
2 | --- | 2 | --- |
3 | mother project : kakaoBot<br> | 3 | mother project : kakaoBot<br> |
4 | -최근 수정: 2018/12/01<br> | 4 | +최근 수정: 2020/12/04<br> |
5 | -추가기능 : 파파고 api를 이용한 카카오톡에서 전송한 사진 속 글자 인식및 번역 | 5 | +추가기능 : amazon comprehend api를 이용한 챗봇에 감성분석 기능 추가 |
6 | 6 | ||
7 | # :page_with_curl:목차 | 7 | # :page_with_curl:목차 |
8 | --- | 8 | --- |
9 | +<<<<<<< HEAD | ||
9 | > 소개 | 10 | > 소개 |
10 | mother project chatbot를 바탕으로 aws-comprehend api기능을 추가하여 | 11 | mother project chatbot를 바탕으로 aws-comprehend api기능을 추가하여 |
11 | 어떤 문자를 보냈을때 그 메세지에 내포된 감정을 반환하도록 하였다. | 12 | 어떤 문자를 보냈을때 그 메세지에 내포된 감정을 반환하도록 하였다. |
... | @@ -32,18 +33,59 @@ mother project : kakaoBot<br> | ... | @@ -32,18 +33,59 @@ mother project : kakaoBot<br> |
32 | > > 사용 API | 33 | > > 사용 API |
33 | 1. aws comprehend api | 34 | 1. aws comprehend api |
34 | 2. line notify,messendger api | 35 | 2. line notify,messendger api |
36 | +======= | ||
37 | +> 1.소개 | ||
38 | + | ||
39 | +> > 사용 API | ||
40 | + | ||
41 | +> 기본세팅 | ||
42 | + | ||
43 | +> > 사용 언어 | ||
44 | + | ||
45 | +> 3.빌드 방법 | ||
46 | + | ||
47 | +> 4.사용 방법 | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | +>>>>>>> 3ebe01955916a00f9e33f2cd02ab7d1892d538aa | ||
35 | > liscense | 52 | > liscense |
36 | # :speaker:소개 | 53 | # :speaker:소개 |
37 | ---- | 54 | +---기존에 구현된 챗봇에 amazon comprehend api를 도입해 감성분석 기능을 추가한다. |
55 | + | ||
56 | + 사용자가 text를 전송할 경우 text에서 major한 감정을 추출하여 reply한다. | ||
57 | + | ||
58 | +---사용 API | ||
59 | + | ||
60 | + 1. aws comprehend api | ||
61 | + | ||
62 | + 2. line notify,messenger api | ||
38 | 63 | ||
39 | # :bookmark:기본세팅 | 64 | # :bookmark:기본세팅 |
40 | ---- | 65 | +---WHAT WE NEED: |
41 | 66 | ||
67 | + line messanger api channel token | ||
68 | + | ||
69 | + aws access,access-secret token | ||
70 | + | ||
71 | +---사용언어 : java script | ||
42 | # :floppy_disk:빌드 방법 | 72 | # :floppy_disk:빌드 방법 |
43 | ---- | 73 | +--- 0. npm install |
74 | + | ||
75 | + 1. npm install aws-sdk | ||
76 | + | ||
77 | + 2. aws configure | ||
78 | + | ||
79 | + ->aws access key, secret key 입력 | ||
80 | + | ||
81 | + ->region: us-east-1 | ||
44 | 82 | ||
45 | # :book:사용 방법 | 83 | # :book:사용 방법 |
46 | ---- | 84 | +---(temp) |
47 | 85 | ||
86 | + 1. send message | ||
87 | + | ||
88 | + 2. it will return your sentiment | ||
89 | +--- | ||
48 | 90 | ||
49 | 91 | ... | ... |
-
Please register or login to post a comment