Skip to main content

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)

Metadata

Release files for conversation-qa 0.0.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for conversation-qa 0.0.18
File Interpreter ABI Platform
conversation_qa-0.0.18-py3-none-any.whl Python 3 none any Details

Release files / conversation_qa-0.0.18-py3-none-any.whl

Download URL conversation_qa-0.0.18-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5704017780b70240eaa9feacef7091c3f396e3643142e6fc1d1ee24beafc7af
BLAKE2b-256 checksum
How to use checksums
e370b13bbf11bd65f7e60ff235209365503f791dd63f61ad6ba4f3f0fd72846a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.18 This release

1 release file

0.0.17

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.10

1 release file

0.0.9

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page