Coder Social home page Coder Social logo

Comments (6)

longger avatar longger commented on August 22, 2024

是需要Java-SDK的例子还是开发bot的例子呢?

from bot-sdk-java.

fanhualei avatar fanhualei commented on August 22, 2024

我想要一个,展示调用samples\tax\的完整例子。

我已经完成下面的工作了:
1:用idea clone了一份bot-sdk-java,并建立了一个web工程,编译通过了。
2:我在TaxAction中的doGet方法输出一个hello world,在浏览器中输入 http://localhost:8080/tax 也能看到。
3:我在html做了一个form,调用TaxAction的doPost的方法,不知道怎么调用,才能把samples\tax\的演示结果弄出来。

from bot-sdk-java.

longger avatar longger commented on August 22, 2024

你可以pull一下代码,我更新了一下readme,在最后面,有一个Request,在启动sample中的taxbot服务后,可以通过postman发送Request,Request的body内容为resource/request/inquiry_request,便可以看到Bot的返回。

from bot-sdk-java.

longger avatar longger commented on August 22, 2024

还有官方文档地址哈 https://dueros.baidu.com/didp/doc/dueros-bot-platform/Introduction_markdown

from bot-sdk-java.

fanhualei avatar fanhualei commented on August 22, 2024

用postman,可以得到结果了。

正在想,这么能做一个完整的例子,把这些功能给串起来。

用postman只能做测试。 我想是不是可以用okhttp模拟一个客户端

from bot-sdk-java.

longger avatar longger commented on August 22, 2024

可以在DBP平台( https://dueros.baidu.com/dbp/main/console )上创建Bot,DBP平台可以把这些功能串起来

from bot-sdk-java.

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.