Comments (2)
/samples/session 부분의 예제를 참고해보세요.
현재 턴의 정보를 session.attribute 에 전달하면
CEK가 다음턴에 그대로 전달해줍니다.
이 값을 이용해서 멀티턴을 해결하는 방법 말고는 아이디어가 없네요..ㅎㅎ
예:
# 첫번째 발화
>> user: 나는 노란색을 제일 좋아해.
>> bot: 그렇구나
# 두번째 발화
>> user: 내가 무슨 색이라고?
>> bot: 노란색
sample 코드와 다른 예시인데 이런식으로 멀티턴을 진행할 수 있습니다.
첫번째 발화에서 말한 색을 session attribute에 담고 있다가
두번째 발화에서 그 값을 사용하는 방법입니다.
from flask-clova.
감사합니다! 한 가지 더 여쭤볼게요~!
from flask-clova.
Related Issues (7)
- Plans to support test mode HOT 1
- MultiTurn Support
- 인증 방법 HOT 5
- Method Not Allowed (405 Error) HOT 1
- Basics 따라하고 있습니다. HOT 1
- flask_clova를 aws lambda 를 이용해서 구동할 수 있을까요? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-clova.