GithubHelp home page GithubHelp logo

Comments (15)

yanwii avatar yanwii commented on July 18, 2024 1

问题在导入模型前是需要替换成分的。
比如:重庆的天气 -> __location__的天气,__location__会被记录下来。
这句话对应一个Action: __actWeather__。
目前显示__actWeather__,说明对应成功了,但需要调用一个Action方法,如Action.py 中的actWeather 方法,我这里是取消了的。

from dynamic-seq2seq.

yanwii avatar yanwii commented on July 18, 2024

已更新。

from dynamic-seq2seq.

paulcx avatar paulcx commented on July 18, 2024

Action怎么调用的,能看下原来的代码吗?现在显示什么都是类似:我是__robotname__ 。

from dynamic-seq2seq.

yanwii avatar yanwii commented on July 18, 2024

action.py 中有相应的代码。
robotname 可以替换成您机器人的名字,取决于你。

from dynamic-seq2seq.

paulcx avatar paulcx commented on July 18, 2024

@yanwii 谢谢,请问在哪里还?我的理解是在infer模式下,输入地名,会直接调用action中查找相关地区的天气?目前一直显示的是类似__actWeather__的回复,这个应该是没有调用成功?

from dynamic-seq2seq.

paulcx avatar paulcx commented on July 18, 2024

请问是在哪里调用这个(actWeather)方法?

from dynamic-seq2seq.

yanwii avatar yanwii commented on July 18, 2024

from action import Action
ac = Action()
ac.actWeather()

from dynamic-seq2seq.

paulcx avatar paulcx commented on July 18, 2024

请问在哪里调用呢?

from dynamic-seq2seq.

783572361 avatar 783572361 commented on July 18, 2024

ac = Action()
ac.actWeather()请问这应该插入到哪里啊
有没改过的代码吗?

from dynamic-seq2seq.

yanwii avatar yanwii commented on July 18, 2024

稍后我会补全

from dynamic-seq2seq.

783572361 avatar 783572361 commented on July 18, 2024

非常感谢

from dynamic-seq2seq.

783572361 avatar 783572361 commented on July 18, 2024

您好,希望您有空把action加进去,非常感谢

from dynamic-seq2seq.

gcong66 avatar gcong66 commented on July 18, 2024

您好,现在您还没有把action加进去,希望您有空把action加进去,非常感谢

from dynamic-seq2seq.

yanwii avatar yanwii commented on July 18, 2024

这个模型已经过时,稍后我会更新到最新的api,再将action加进去

from dynamic-seq2seq.

yanwii avatar yanwii commented on July 18, 2024

已更新,具体请看Action

from dynamic-seq2seq.

Related Issues (20)

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.