Skip to main content

Conversational QA.

Project description

Conversational QA

This framework is trained on the CoQA dataset.

Install

pip install conversation-qa

Example

from conversation_qa import QA, Dialogue

qa = QA("fractalego/conversation-qa")

dialogue = Dialogue()
dialogue.add_dialogue_pair("Where was the cat?", "The fence.")

text = "A white cat is on the fence."
query = "What color is it?"
qa.get_answer(text, dialogue.get_text(), query)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

conversation_qa-0.0.18-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file conversation_qa-0.0.18-py3-none-any.whl.

File metadata

File hashes

Hashes for conversation_qa-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 a5704017780b70240eaa9feacef7091c3f396e3643142e6fc1d1ee24beafc7af
MD5 c49adeec319c058e1b9d005fb00ddbb4
BLAKE2b-256 e370b13bbf11bd65f7e60ff235209365503f791dd63f61ad6ba4f3f0fd72846a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page