| !pip install transformers | |
| from transformers import pipeline | |
| # Load a pre-trained model | |
| nlp = pipeline("question-answering") | |
| # Sample input | |
| context = "Connect X is a Wi-Fi service by Vaso Empire." | |
| question = "What is Connect X?" | |
| # Get AI's response | |
| result = nlp(question=question, context=context) | |
| print(result['answer']) |