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)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|