-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wikipedia doesn't seam to work #291
Comments
Apologies the documentation is a little out of date, I need to update based on the latest release
The query is actually "WIKIPEDIA SEARCH WATER” so you query needs to be
… http://0.0.0.0:8989/api/rest/v1.0/ask?userid=test1&question=WIKIPEDIA%20SEARCH%20Water <http://0.0.0.0:8989/api/rest/v1.0/ask?userid=test1&question=WIKIPEDIA%20SEARCH%20Water>
On 24 May 2021, at 13:29, Meatbag93 ***@***.***> wrote:
Greetings,
first off i'm sorry my english in typing is not that good, so i'm sorry because this will be full of spelling errors
second this is actually my first issue ever submitted, so its more than likely that I got some things rong or I am doing everything rong
alright, now on to the issue
as the title says, wikipedia doesn't seam to work, here is what I have done, oh and by the way i'm using y-bot to test it
I am using the flask rest API, python3.8.5, program-y version 4.3 and my OS is Ubuntu 20.04.2 LTS
in config/xnix/config.flask.rest.yaml I have:
services:
Wikipedia:
classname: programy.services.wikipediaservice.WikipediaService
in storage/properties/properties.txt I have:
wikipedia: true
I have the correct file in storage/services/wikipedia.conf
I also have wikipedia.aiml that came with y-bot in storage/categories/services/wikipedia.aiml
but with all of that, lets test
http://0.0.0.0:8989/api/rest/v1.0/ask?userid=test1&question=ASKWIKIPEDIA%20Water <http://0.0.0.0:8989/api/rest/v1.0/ask?userid=test1&question=ASKWIKIPEDIA%20Water>
[{"response":{"answer":"It's easy for me to relate to people.","question":"ASKWIKIPEDIA Water","userid":"test1"}},200]
so as we see, it gave me a generic answer
am I doing something rong? or is it something that needs to be fixed
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#291>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABCUFM46LRFJJLR6LVJK5SDTPJBCDANCNFSM45NET5UQ>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Greetings,
first off i'm sorry my english in typing is not that good, so i'm sorry because this will be full of spelling errors
second this is actually my first issue ever submitted, so its more than likely that I got some things rong or I am doing everything rong
alright, now on to the issue
as the title says, wikipedia doesn't seam to work, here is what I have done, oh and by the way i'm using y-bot to test it
I am using the flask rest API, python3.8.5, program-y version 4.3 and my OS is Ubuntu 20.04.2 LTS
in config/xnix/config.flask.rest.yaml I have:
services:
Wikipedia:
classname: programy.services.wikipediaservice.WikipediaService
in storage/properties/properties.txt I have:
wikipedia: true
I have the correct file in storage/services/wikipedia.conf
I also have wikipedia.aiml that came with y-bot in storage/categories/services/wikipedia.aiml
but with all of that, lets test
http://0.0.0.0:8989/api/rest/v1.0/ask?userid=test1&question=ASKWIKIPEDIA%20Water
[{"response":{"answer":"It's easy for me to relate to people.","question":"ASKWIKIPEDIA Water","userid":"test1"}},200]
so as we see, it gave me a generic answer
am I doing something rong? or is it something that needs to be fixed
The text was updated successfully, but these errors were encountered: