MCPcopy Create free account
hub / github.com/geekcomputers/Python / index_question_answer

Function index_question_answer

QuestionAnswerVirtualAssistant/frontend.py:5–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4
5def index_question_answer():
6 # for this, we are separating question and answer by "_"
7 question_answer = index_question_answer_entry.get()
8 question, answer = question_answer.split("_")
9 print(question)
10 print(answer)
11 va = backend.QuestionAnswerVirtualAssistant()
12 print(va.index_question_answer(question, answer))
13
14
15def provide_answer():

Callers

nothing calls this directly

Calls 2

index_question_answerMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected