简体   繁体   English

Watson检索和排名:Python Bluemix运行时

[英]Watson Retrieve and Rank: Python Bluemix runtime

I am trying to run through the following tutorial on Bluemix: https://www.ibm.com/watson/developercloud/doc/retrieve-rank/get_start.shtml 我正在尝试在Bluemix上完成以下教程: https ://www.ibm.com/watson/developercloud/doc/retrieve-rank/get_start.shtml

However, I am not able to install Python locally onto my system due to security policies. 但是,由于安全策略的原因,我无法在本地安装Python。 Is there a way I can run this tutorial through hosting my code in IBM DevOps Services using the Python runtime on Bluemix? 有没有一种方法可以通过在Bluemix上使用Python运行时将代码托管在IBM DevOps Services中来运行本教程?

I am not sure if the Bluemix Python runtime can be leveraged like a natively installed Python and accept the command line instructions from: 我不确定是否可以像本地安装的Python一样利用Bluemix Python运行时是否接受来自以下方面的命令行指令:

Stage 4: Create and train the ranker. 阶段4:创建并训练排名者。

Any feedback would be greatly appreciated! 任何反馈将不胜感激!

An alternative to the manual Python and curl commands in that tutorial is to use the web interface. 该教程中的手动Python和curl命令的替代方法是使用Web界面。

I've written about it in some detail on my blog which also includes a video walkthrough of how the web tool works. 我已经在我的博客上对此进行了详细介绍其中还包括有关Web工具工作原理的视频演练 (You can also find the official documentation on ibm.com). (您也可以在ibm.com上找到官方文档 )。

But to sum up, it'd mean you could do everything through a web browser and not have to install or run anything locally - including training a ranker. 但总而言之,这意味着您可以通过Web浏览器完成所有操作,而不必在本地安装或运行任何内容-包括培训排名者。

There is a small wrinkle in this plan right now, unfortunately. 不幸的是,这个计划现在有一个小问题。 The Solr schema used in the Python/curl tutorial you've followed isn't compatible with the web tool, but we're working on that . 您遵循的Python / curl教程中使用的Solr模式与网络工具不兼容,但我们正在对此进行努力 This means that if you use the web tool, you'll need to start again with a new cluster and collection. 这意味着,如果您使用网络工具,则需要重新开始一个新的集群和集合。 But this means that you could start again using your own documents, content and training questions, instead of having to use the cranfield test data - so hopefully this is a good thing! 但这意味着您可以再次使用自己的文档,内容和培训问题,而不必使用cranfield测试数据-因此希望这是一件好事!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 发布到Bluemix Retrieve_and_Rank的状态为0,但不起作用 - Post to Bluemix Retrieve_and_Rank gives status 0, but does not work 检索并在Python配置文件类型中排名? - Retrieve and Rank in Python-Configuration File Type? 如何在Bluemix上从Python访问Watson Language Translator Service? - How do I access the Watson Language Translator Service from Python on Bluemix? IBM Bluemix IoT Watson服务驱动程序行为 - IBM Bluemix IoT Watson service Driver Behaviour 查询Tone Analyzer API时,基于IBM Watson / Bluemix的Python应用程序返回404子代码C00010错误 - IBM Watson/Bluemix based Python app returns 404 subcode C00010 error when querying the Tone Analyzer API IBM Waston - 检索和排名 - IBM Waston - Retrieve and Rank 如何在运行时在python中检索变量的名称? - How to retrieve a variable's name in python at runtime? 在Bluemix中,如何从带有集成Cloudant DB的Python Flask应用程序中检索Cloudant数据? - In Bluemix, from a Python Flask App with integrated Cloudant DB, how do I retrieve Cloudant data? IBM Bluemix-Watson Alchemy-如何在笔记本电脑上引用本地目录 - IBM Bluemix - Watson Alchemy - How to refer to a local directory on my laptop 如何在Choregraphe中导入IBM Bluemix Watson语音到文本? - How to import IBM Bluemix Watson speech-to-text in Choregraphe?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM