Questions tagged [ibm-cloud-functions]

IBM Cloud Functions (based on Apache OpenWhisk) is a Function-as-a-Service (FaaS) platform which executes functions in response to incoming events. Use when having doubts regarding the use of the service.

IBM Cloud Functions (based on Apache OpenWhisk) is a Function-as-a-Service (FaaS) platform which executes functions in response to incoming events and costs nothing when not in use. It is one of the examples of servless architecture currently on market.

180 questions
0
votes
2 answers

How to integrate IBM Cloud Functions with App ID for authentication?

I have seen the tutorial for starting the cloud functions and creating a guestbook on IBM Cloud, but when trying to connect an App ID it actually requires an application and not a Cloud Functions API. So how can I connect them? Is there some…
palamunder
  • 2,555
  • 1
  • 19
  • 20
0
votes
1 answer

IBM cloud function API(API connect) is not accepting non english characters or + in the parameter

We have IBM cloud function API which accepts filename as a parameter. If I give filename which includes + or non english characters(chinese,japanese, etc) the api is returning 404 with message:"Error: Whoops. Verb not supported." Please can you help…
0
votes
1 answer

How to use require in cloud functions

I'm trying to execute a code node.js in IBM Cloud Functions, but I have an require that isn't pre-installed. Its the const {google} = require('googleapis') How can I install?
0
votes
1 answer

IBM Watson Conversation Client: Child Node Output Not Displaying In Localhost

I set a loop in my child nodes to loop through my JSON array that is retrieved from IBM Cloud Functions. In 'Try It Now,' it works completely fine, but when I deployed it on a client in localhost, the child node output does not display. Any ideas…
John C
  • 517
  • 2
  • 6
  • 16
0
votes
1 answer

IBM Watson Assistant / Conversation : The output displays the last search

I have developed cloud functions and am using 'generic output' with image response types, as well as text. However when I search for a product (which uses my cloud function), the last result appears. For example: Me: Buy Classic now Bot: Name:…
John C
  • 517
  • 2
  • 6
  • 16
0
votes
1 answer

IBM Watson Conversation & IBM Cloud Functions : User Input For Parameters

I have already created a function in IBM Cloud Functions, but how would I implement the parameters from user input? What I'm trying to do is For example: When a user types in "I need product" / "Buy product now" / Show me products. The product…
John C
  • 517
  • 2
  • 6
  • 16
0
votes
1 answer

Why the Python Scrapy library class isn't executed

I'm trying to use Scrapy on IBM cloud as a function. My __main__.py is as follows: import scrapy from scrapy.crawler import CrawlerProcess class AutoscoutListSpider(scrapy.Spider): name = "vehicles list" def __init__(self, params, *args,…
Boky
  • 11,554
  • 28
  • 93
  • 163
0
votes
1 answer

How to upload Python function with virtualenv to IBM cloud

I'm trying to add a python function to IBM Cloud. I use scrapy library and requests, thus following the docs I need to create a .zip file with __main__.py, helpers.py files and virtualenv. I did it with zip -r test.zip __main__.py helper.py…
Boky
  • 11,554
  • 28
  • 93
  • 163
0
votes
1 answer

Failed to deploy function

I have created a sample demo site and trying to deploy using serverless deploy on IBM Openwhisk platform. I am getting the following error message and I am unable to figure out what is causing the issue. Failed to deploy function (myPackage) due to…
0
votes
1 answer

How can I use Botkit Middleware with Watson Assistant dialog server actions?

I followed this tutorial to deploy a Slackbot with Watson Assistant. The tutorial uses server actions in the dialog to directly interface with a database. To connect Slack with Watson Assistant the tutorial uses the Conversation connector. That…
0
votes
2 answers

OpenWhisk Python action failing with not returning dictionary error

I am trying to run this function with OpenWhisk: def main(): return {"payload": "Hello world"} With the following: > bx wsk action create hello_python hello_python.py > bx wsk action invoke hello_python When running the function locally a…
Margriet
  • 35
  • 6
0
votes
1 answer

Calling IBM Cloud Function in United Kingdom from Watson Assistant gives: The supplied authentication is invalid

I am getting this error: The supplied authentication is invalid when we are calling an IBM Cloud Function running in the United Kingdom region from a dialog node in the Watson Assistant (also in the UK) The strange thing is, that when we call a…
0
votes
0 answers

Missing conversation params when building Watson Assistant action with Node.js and Cloud Function

I'm trying to build an IBM Chatbot using Watson Assistant and Node.js. First, to get familiar with the ecosystem tried to make a very simple chatbot based on the sample app…
0
votes
2 answers

Performance difference in IBM Cloud Functions CORS support

I am adding CORS support to my OpenWhisk/IBM Cloud function. But after making the modification ( -a web-custom-options true ) to the function I noticed a decline in performance. To isolate the issue I created a simple function, see below: public…
mpjjonker
  • 917
  • 1
  • 6
  • 28
0
votes
1 answer

How to inspect the POST body in IBM Cloud Functions?

I am running a few cloud functions now and want to see the payload (POST body) of the request that is handled by my cloud function. The activation log "only" shows the response. https://console.bluemix.net/openwhisk/dashboard Should I log it myself…
mpjjonker
  • 917
  • 1
  • 6
  • 28
1 2 3
11
12