2,431
questions
-2
votes
0
answers
42
views
How to integrate a private API for token retrieval in IBM Watsonx Assistant? [closed]
I am developing an AI assistant using IBM Watsonx Assistant, and I need to integrate a private API that returns a token. Unfortunately, I cannot share the API details due to confidentiality.
I want ...
-3
votes
0
answers
23
views
Save an MP3 from IBM Watson text-to-speech API [duplicate]
I am trying to get a response from IBM text-to-speech API as follows-
$ch = curl_init();
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($ch, ...
0
votes
0
answers
26
views
WatsonX model for a chatbot
So I am looking forward to create a chatbot (eventhough I have used the term chatbot, user doesnot directly gets invloved with watsonX. API calls will be used for the whole process) using IBM watsonX ...
0
votes
0
answers
52
views
The 'true' condition isn't working with the nodes slots withing the IBM Waston Assistant
I’m attempting to build a chatbot using IBM Watson Assistant (non-coding).
I’m following instructions I’ve built a node that allows the user to retrieve information about a specific city and and it’s ...
0
votes
0
answers
12
views
Can I pass as callback to Watson Speech-to-text when I start the stream?
I am trying to get transcripts from Watson Speech-to-Text. I am initiating a wss:// web socket connection from the telephony service I am using. However I don't have programatic control of the ...
0
votes
0
answers
29
views
Error occurs when accessing Object storage file from Watson studio
I try to read and analyze (as a course assignment) file stored in IBM Cloud Object Storage from a Jupyter notebook in IBM Watson studio. But when I run the code I received Credential Retrieval Error.
...
0
votes
0
answers
40
views
How to cancel a running job and retrieve partial results in IBM Watson Machine Learning with CPLEX?
I am deploying a decision optimization model using IBM Watson Machine Learning (WML) with CPLEX. I need to be able to stop the model execution and retrieve the current solution. I would also like to ...
0
votes
1
answer
87
views
Embed Watson Assistant to a full-screen UI
I'm trying to embed my Watson Assistant on a single page in fullscreen mode, similar to the Copilot and Chat GPT user interfaces. I'm a designer with limited coding experience and have been going ...
0
votes
0
answers
16
views
Get intent error in Watson Assistant API call
I have a chatbot I made in Watson Assistant that I want to use the API for to query intents.
It yields this error:
at RequestWrapper.formatError (C:\Bill\CC\js\node_modules\ibm-cloud-sdk-core\lib\...
0
votes
0
answers
9
views
IBM Speech To Text recognizeMicrophone Issues
I've been trying to use the recognizeMicrophone service to provide live transcriptions, but so far I've been unable to get it to work. I've done all the necessary setup, such as setting my credentials,...
1
vote
0
answers
50
views
Integrating IBM Watson TTS in Unity VR project
For the beginning I just want to have a small scene with an input field where you can enter text which then gets outputted after you hit enter. I designed everything according to the test example from ...
0
votes
2
answers
135
views
Update a bearer token in a watsonx extension
I have an assistant on Watsonx that needs to use an extension with token bearer authentication. When configuring the new extension, Watson asks for the token. However, the token is only valid for 24 ...
0
votes
0
answers
31
views
How can I add a new Facet from the beginning in IBM WCA (IBM Watson)?
right now I created a new Facet but it is not being shown in the Portal, I would like to know the steps to see if I forgot any steps or if I can create one from scratch. (I already have an account and ...
-1
votes
3
answers
81
views
pip installing ibm_watson_machine_learning module fails [closed]
I'm pip installing the ibm_watson_machine_learning module on a new virtual environment running python 3.12.1. I get an error saying 'could not build wheels for pandas, which is required to install ...
0
votes
2
answers
407
views
Call watsonx.ai prompt in watson assistant
I created a prompt and satisified with the results. Now I want to connect that prompt i just created to my watson assistant. I googled and knew that it it ls possible by creating custom extensions. ...
0
votes
1
answer
154
views
Where do I find my credentials for using watsonx.ai
I am trying to run a basic example using the ibm-generative-ai library
from dotenv import load_dotenv
from genai.client import Client
from genai.credentials import Credentials
from genai.schema ...
0
votes
0
answers
55
views
IBM NeuralSeek API Filter
How can I filter from a specific watson discovery collection in an API Fetch?
Now I have this:
body = { 'question': 'example_question', 'options' : {
'language': 'es',
"filter&...
0
votes
0
answers
22
views
CS0246 Error while installing IBM Watson SDK for Unity
I am getting the following errors while trying to use the IBM Watson SDK with Unity.
Assets/unity-sdk-6.0.0/Examples/ExampleNaturalLanguageClassifierV1.cs(43,17): error CS0246: The type or namespace ...
1
vote
1
answer
57
views
Send a message after the user stops responding through WatsonX Assistant
I've been using WatsonX Assistant to help solve some user issues through WhatsApp.
However, due to the session duration limitations, the user has a set limit of time (1 hour in this case)
I want to ...
0
votes
0
answers
46
views
LIME explanation with Watson Assistant on Python
I'm trying to use Watson Assistant predictions on LIME for explanation model. Is that work or just with sickit-learn models?
def get_watson_assistant_response(text=''):
print(text)
response = ...
0
votes
0
answers
31
views
i am creating a chat bot which will create an email template by capturing some Details in the Slots section and then fill it in the text paraghraph
i am creating a chat bot which will create an email template by capturing some Details in the Slots section and then fill it in the text paragraph
I have the below Entities created based on pattern
...
0
votes
1
answer
36
views
Watson Assistant: Use 'last dialog node' as condition
Is there a way to use a condition like "last dialog node before this == xyz" in a dialog node?
For example: In dialog node A, I ask the user a question. They answer the question and I call ...
1
vote
0
answers
89
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
33
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
65
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
72
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 # ...
-1
votes
1
answer
34
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
45
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
89
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
213
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
52
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
64
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
300
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 ...
1
vote
0
answers
156
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
1
answer
139
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
358
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
1
answer
87
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
1
answer
231
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
108
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
493
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
89
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
308
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 ...
3
votes
0
answers
274
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
67
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.
...
2
votes
2
answers
153
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
101
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
159
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
82
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
32
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
314
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:...