GithubHelp home page GithubHelp logo

Comments (2)

hwonyo avatar hwonyo commented on June 23, 2024

/samples/session 부분의 예제를 참고해보세요.

현재 턴의 정보를 session.attribute 에 전달하면
CEK가 다음턴에 그대로 전달해줍니다.
이 값을 이용해서 멀티턴을 해결하는 방법 말고는 아이디어가 없네요..ㅎㅎ

예:

# 첫번째 발화
>> user: 나는 노란색을 제일 좋아해.
>> bot: 그렇구나
# 두번째 발화
>> user: 내가 무슨 색이라고?
>> bot: 노란색

sample 코드와 다른 예시인데 이런식으로 멀티턴을 진행할 수 있습니다.
첫번째 발화에서 말한 색을 session attribute에 담고 있다가
두번째 발화에서 그 값을 사용하는 방법입니다.

from flask-clova.

bzantium avatar bzantium commented on June 23, 2024

감사합니다! 한 가지 더 여쭤볼게요~!

from flask-clova.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.