Questions tagged [ibm-watson]
A collection of REST APIs and SDKs that can be used to integrate AI into your applications to solve complex problems.
2,416
questions
1
vote
0
answers
16
views
Access Watson NLP Assets through watsonx notebook - getting the project access token
I'm using Watson NLP for sentiment analysis in a WatsonX notebook. When I go to the Manage tab and select Access Control to create a new access token under Access Tokens, I get a "No project ...
0
votes
0
answers
24
views
IBM Watson STT + MQTT weird behaviour
I am working on remote transcription using Watson STT. I stream audio from a mic to an mqtt client that interfaces with watson stt via websocket.
Everything words fine if I follow this flow.
RECORD ...
0
votes
0
answers
29
views
watsonx: using notebook for data collection - how can I save it locally so I can use it for AutoAI?
I am trying to store data from yfinance lib locally on watsonx, so I can use it in the AutoAI function.
Right now I have written the following:
# Save to CSV
historical_prices.to_csv(output_file, ...
0
votes
0
answers
45
views
Python Code Connecting to Hadoop Hive Kerberos Keytab through watson studio
I've a problem to connect to Hadoop hive through juypter notebook .
` from pyhive import hive
import kerberos
# Define the connection parameters
hive_host = 'XX.XX.XX.XXX'
hive_port = 10000 # ...
0
votes
0
answers
21
views
How to upload a file to IBM cloud object storage bucket using Watson assistant?
I need help with uploading a file using Watson assistant. I have zero knowledge on how it is done. Do I need to make any cloud function or can I use it directly from the Index Html file using ...
-1
votes
1
answer
22
views
How can I integrate a checkout link for my Watson whatsapp Chatbot
I'm currently building a chatbot for a restaurant, to take orders and attend to customers queries, I have done all the ground work, the only issue is the payment integration, please how can I ...
0
votes
0
answers
19
views
Is it possible to send to the user a file in IBM Watson Assistant?
I have a question, if I have an API that transforms my user input into a desired excel sheet or pdf file, is there a way in IBM Watson Assistant to display this file back to the user in the chat after ...
0
votes
0
answers
34
views
Github personal access token integration in IBM
the Github personal access token has changed its format and it is not being recognized by the IBM Cloud Pak for Data third party integration connection Github token prompt
I generate New personal ...
1
vote
1
answer
53
views
How to write a if condition to set a variable value based on another variable value in Watson assistant
I am working on Watson assistant. I need to set the value of a variable "service_option" based on the value of the variable "service_line". I need to write the code within Watson ...
0
votes
0
answers
43
views
Linking Git on Watson Studio issue
I am having an issue when I try to link my Git Personal Access Token on Watson Studio. Keeps on giving this error: Invalid token format.
I tried to generate new token but same issue, also checked the ...
0
votes
0
answers
40
views
IBM Watson Speech to Text: Session timed out despite inactivity_timeout parameter (for a 15+sec file)
I use the code from https://cloud.ibm.com/apidocs/speech-to-text?code=python#recognize-audio-websockets to send recorded speech as a .wav file to the speech_to_text IBM Watson service and get text ...
0
votes
1
answer
77
views
Output from watson assistant and watsonx, doesnt match
I tried to make Order ID Bot, that can generate automatically ID from customer input using WatsonX and try to integrated it to watson assistant.
I tried to make this prompt:
And if i tested it to ...
0
votes
0
answers
12
views
Typing indicator for MSBOT framework in node.js only shows up once
so I'm currently building a bot using IBM Watson Assistant. When I send a message, I usually want it to show a typing indicator bubble animation every time the user sends a message. Every time the ...
0
votes
0
answers
46
views
pip install watson-nlp proplem
When I try to install watson-nlp to complete my projects on Ubuntu, I get the following error:
abdo@abdo:~$ pip install watson-nlp
error: externally-managed-environment
× This environment is ...
0
votes
0
answers
12
views
IBM Natural Language Understanding Tutorial Issue
I'm trying to do the "Create an artificial intelligence bookmark organizer for the Chrome browser" tutorial found AT THIS LINK
I'm using a Mac. Put the folder structure together. Signed up ...
0
votes
0
answers
21
views
How to solve .mps model using Watson Machine Learning rest API?
I am trying to solve .mps model with REST API from Postman but unable to get the result.
I have created, uploaded and deployed the model with Watson Machine Learning rest API and now trying to run it. ...
0
votes
0
answers
28
views
Securing a web chat: how can I use Firebase JWT idToken with IBM Watson Assistant?
https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-web-chat-security
I'm trying to integrate IBM Watson Assistant (web chat) with Firebase for user authentication, and I've encountered ...
0
votes
0
answers
30
views
Whre can I find the 'envirnoment id' and 'collection id' on the Watson Discvoery tool?
I am trying to do some tests with IBM Watson Discovery but I need som info as the 'envirnoment ID' and the 'collection ID', but I can't find it anywhere.
Does anyone now?
Thank you
I have tried ...
0
votes
2
answers
110
views
IBM Cloud functions using API key and not Bearer token?
It seems that when you create an IBM cloud function the default authentication is via the usage of auth tokens. How could you setup your function to use an API key instead?
This would make it easier ...
0
votes
0
answers
30
views
create a notebook asset in watson studio using python
I want to take a .ipynb that I downloaded from github (e.g. using "!git clone -b main --single-branch https://github.com/Max-Jesch/watson-pipeline-test.git") to create a notebook asset in ...
0
votes
1
answer
40
views
How to conduct targeted sentiment analysis at the target level? (IBM Watson Cognitive)
I'm trying to assess the sentiment related to specific words that appear in a body of text. Currently I'm using IBM Watson's targeted sentiment analysis (natural_language_understanding.analyze). ...
0
votes
0
answers
25
views
Pass additional information to IBM Watson Machine Learning job and retrieve via python API
I've been using IBM CPLEX Optimization Studio to run Decision Optimization (DOCPLEX) models locally with python API. I have a bulk of temporal data (hourly time steps for 20 years) and I define and ...
0
votes
0
answers
94
views
How to integrate IBM Watson assistant with IBM Discovery
I was successfully able to integrate Watson Discovery with IBM Watson virtual assistant. I have a scenario, where the discovery collection is a combination of multiple collections of user-trained ...
0
votes
1
answer
101
views
How do I get Watson Assistant to automatically open a webpage?
I want Watson to open a webpage on my website, either in the same tab or in a new tab, when a customer selects a response button.
Currently, I'm just having Watson provide a link that the customer has ...
1
vote
1
answer
56
views
Disable Watson Assistant Environment not working for live and draft env
I have created a Watson Assistant service and created a simple action bot. My aim is to control the amount of user that can access the service monthly. Checking on the API Docs I found out that is ...
0
votes
1
answer
174
views
IBM Watson Assistant API: "Resource not found" Error
I'm trying to use the IBM Watson Assistant API in Python to create a session, but I keep encountering an error that I cannot resolve. Here's the relevant part of my code:
from ibm_watson import ...
0
votes
1
answer
47
views
Watson Discovery v2, count documents into a collection
I know that this might be trivial, but I need to find a simple way to count documents within a Watson Discovery Collection (v2).
Before moving to v2, this is what I used to do:
## Discovery v2
def ...
0
votes
1
answer
133
views
How to go back in conversation steps in Watson Assistant actions?
I'm trying to set up an action where users can go back a step, but there seems to be an issue when I click 'Back' as the action ends.
As shown in the screenshots, 'Back' meets the conditions to ...
2
votes
0
answers
205
views
How to get rid of ssl.SSLCertVerificationError in Python 3.11.3
I am currently working through the Python for Data Sciences course on IBM's Cognitive Class, and just started the lesson on APIs. The lesson wants me to use the RandomUser API, but whenever I try and ...
0
votes
0
answers
40
views
How to solve generic pronunciation problems for Watson text to speech?
I use Jupiter notepad for Watson TTS.
French pronunciation have a generic problem.
I'm close to a neophyte, with just some JS/php/lua development basics. I struggled to install everything properly.
...
0
votes
0
answers
19
views
Adding a Space Collaborator results in error
I'm trying to add users to a newly created IBM Watson space and for some of them I get a response of: Error creating space member: 'IBMid-667000xxxx' is not a platform user.
The user exists within ...
2
votes
2
answers
83
views
Limiting Watson Assistant user response to ONLY Numbers - No text allowed
Hi I'm training my Watson Assistant (Classic) to ask the question, "How much is your vehicle worth?" If assistant recognizes @sys_number, their response saved in a variable $vehicleworth as &...
0
votes
1
answer
82
views
How to add a welcome message in slackbot built On Watson Assistant
Is it possible (without coding) to pop up a welcome message when the Slackbot (built on WA) is invited to a channel or is first-time added? How?
I tried to follow the guide Starting and ending the ...
0
votes
1
answer
105
views
How to find number of speaker in a recorded mp3 file? Find how many speakers are there
I am working on Interview sentiment analysis code in which I need to convert a recorded interview file(mp3) to text and from text data I need to find emotions of the candidate.
But the problem is when ...
0
votes
1
answer
51
views
How to retrieve output data as JSON from IBM Watson cloud
I am solving a decision optimization problem using Cplex solver (Docplex) on IBM Watson Cloud. However, I got stuck trying to adapt the output format.
Available documentation provides the following ...
0
votes
0
answers
28
views
ibm watson integrate with give wp
Through the give api, create a function in ibm cloud functions in python that calls the form data:
import requests
import json
def main(args):
# Definir los parámetros de la solicitud
api_key ...
0
votes
0
answers
134
views
How to connect IBM Watson Assistant to a MySQL Database?
So I have created a basic Watson Assistant Chatbot and a basic MySQL Database and I want to connect them together, for the Watson Assistant to extract something from it.
Here's the scenario as follows:...
0
votes
0
answers
56
views
Cplex giving infeasible in objective column of log output
I'm getting an infeasible row in objective column of logs, and beacuse of that model keeps running for longs hours.
for given number of constriants model keeps runing for hours and it runs out of ...
0
votes
0
answers
91
views
Problem with IBM WATSON speech-to-text service
I am using the Python library for the IBM Watson services. The code is for recognizing speech in some audio files. when the files are in their normal way the service is completely fine and works ...
2
votes
1
answer
76
views
Change the Watson Assistant confirm modal language (Exit Button Confirmation)
I have a Watson Assistant integrated on a web-page using the following block:
const customLanguagePack = {
"options_select": "Wählen Sie eine Option aus",
};
...
0
votes
2
answers
214
views
ImportError when running watson machine learning locally
I am trying to communicate with Watson Machine Learning from my local windows machine using vscode to run a jupyter notebook in a virtual enviroment but I cannot get it to work.
I installed
!pip ...
0
votes
2
answers
188
views
How to export automatically the content of an assistant in the new user experience of Watson Assistant?
In the new user experience you can download content of an assistant manually in JSON format. However, I need to do it automatically.
I'm able to export/download the content of a workspace by using ...
1
vote
1
answer
285
views
TSLVersion error while trying to execute a translation task with IBM Watson
I'm really super beginner with python and I'm trying to do an assignment from a Coursera course. I need to write a simple code that connect through IBM Watson Translate and give results. So far, as ...
0
votes
2
answers
257
views
I want to connect database that saves data from the user that he sends in watson assistant
I am building a chatbot where I try to collect information from the user like his name, email, phone number... and I want to store them in a database. either google sheets or any database I can ...
0
votes
0
answers
140
views
Writing a CSV, or reading a CSV changes my pandas data frame from float16 into float64. How can I avoid this?
I have a data frame test_df with the following information
test_df.info()
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 100 entries, 0 to 99
Columns: 4097 entries, index to 4095
dtypes: ...
1
vote
1
answer
219
views
How to map a Watson Assistant conversation to a user of my application?
I integrated a Watson Assistant to my Website. To access the assistant, a user needs to log in. Now in my frontend, I know who my user is. When the user goes to the page with the watson assistant, I ...
0
votes
0
answers
45
views
Adding passages.fields parameter to Watson Discovery
I'm using IBM Watson Discovery. I'm using python to craete a discovery query. I want to add passages.fields query parameter to get the passage out gf html instead of text. I've tried the below code:
...
0
votes
0
answers
45
views
IBM Watson Discovery | Extract page_number from metadata
I'm using a Python API to extract Metadata from IBM Watson Discovery.
I want to extract the page_number for the retrieved passage. I tried the belo query but the page_number for the retrieved answer ...
0
votes
1
answer
116
views
Connect IBM Speech to Text service to IBM Watson Assistant
I'm using IBM Speech to Text service (STT) and I want to connect it to IBM Watson Assistant (WA) Plus Plan to allow ask questions in speech instead of text only.
What I want to have is a microphone ...
2
votes
1
answer
386
views
Error while using IBM language translator in my project. Error :AttributeError: module 'ssl' has no attribute 'TLSVersion'
I am facing an error in ibm_watson api which throws a error whenever I run this code:
import json
from ibm_watson import LanguageTranslatorV3
from ibm_cloud_sdk_core.authenticators import ...