Wikipedia doesn't seam to work #35

Open
opened 2025-10-14 17:28:14 -06:00 by navan · 0 comments
Owner

Originally created by @the-byte-bender on 5/24/2021

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

*Originally created by @the-byte-bender on 5/24/2021* 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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/program-y#35
No description provided.