The dataset is currently empty. Upload or create new data files. Then, you will be able to explore them in the Dataset Viewer.
π Async API Best Practices Dataset
π Overview
This dataset contains Question-Answer (QnA) pairs extracted from Async API's official documentation and other relevant sources. It is designed to support AI assistants that aim to help users quickly find answers related to Async API.
π Dataset Structure
The dataset is stored in JSON format and includes metadata fields for improved usability.
πΉ Example Data
{
"question": "How do I structure an AsyncAPI document for multiple servers?",
"answer": "Always define multiple servers if your application interacts with different environments (e.g., dev, staging, prod).",
"source": "GitHub Discussion",
"tags": ["development"],
"date_added": "2025-02-24",
"last_updated": "2025-02-24",
"author": "Maintainer"
}
π Fields & Metadata
| Field | Type | Description |
|---|---|---|
question |
String | The question being asked. |
answer |
String | The detailed answer to the question. |
source |
String | The URL of the official documentation or reference. |
tags |
List | Keywords that help categorize the question for better searchability. |
date_added |
String | The date when this Q&A was added to the dataset (YYYY-MM-DD format). |
last_updated |
String | The last modification date of the Q&A entry (YYYY-MM-DD format). |
author |
String | The source or author of the answer (e.g., Async api Docs). |
π οΈ Usage
πΉ Loading the Dataset in Python
You can use the π€ Hugging Face Datasets library to load the dataset easily:
from datasets import load_dataset
dataset = load_dataset("your_username/asyncapi_best_practices")
print(dataset['train'][0]) # View the first Q&A pair
πΉ Using the Dataset for Chatbots
This dataset can be used to train an AI chatbot with retrieval-based or generative AI models. Example:
- Fine-tune an LLM.
- Benchmark a FAQ chatbot.
π Contributions
We welcome contributions! If you have additional Q&A pairs or updated answers:
- Fork the repository.
- Add/Edit Q&A entries in
asyncapi_best_practices.json. - Submit a pull request with your changes.
- Downloads last month
- 13