$npx skillfedfor your agent

llama-index-question-gen-openai

llama-index question_gen openai integration

With conditionsPyPI Artificial IntelligenceReleased May 20252.7M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — llama_index_question_gen_openai-0.3.1-py3-none-any.whl
v0.3.1 · released 2025-05-30 · Python <4.0,>=3.9 · 3 runtime deps: llama-index-core, llama-index-llms-openai, llama-index-program-openai

Yes, if you are already using LlamaIndex and need OpenAI-powered question generation. The low install friction and permissive MIT license make adoption straightforward. However, the aging maintenance status (441 days since last release) warrants checking compatibility with your current llama-index versions before committing to production use. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid OpenAI API key in environment or passed explicitly; llama-index-llms-openai dependency must be installed and configured.
  • Low install friction with pure Python wheels.
  • Maintenance status is aging—last release was 441 days ago, though the package remains current for Python 3.9+.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice.

last release 2025-05-30 (441 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,709,695 downloads/mo, #2,928 on PyPI

Verify before relying

pip install llama-index-question-gen-openai

from llama_index_question_gen_openai import OpenAIQuestionGenerator

generator = OpenAIQuestionGenerator.from_defaults()
questions = generator.generate(context_str="Your document text here")
  • Whether the package is actively maintained or in maintenance-only mode given the 441-day gap since last release.
  • Specific question generation capabilities and output format beyond the integration description.
  • Compatibility with recent versions of llama-index-core and llama-index-llms-openai.
Same gist for agents: .md · .json

What it is and what it does

This package provides a question generation integration for LlamaIndex that uses OpenAI's language models to automatically create follow-up questions from documents or provided context. It wraps OpenAI's API through the llama-index ecosystem, allowing you to feed text or document content and receive generated questions suitable for Q&A systems, educational tools, or retrieval-augmented generation pipelines.

The package is a specialized component within the broader LlamaIndex framework and depends on llama-index-core, llama-index-llms-openai, and llama-index-program-openai. It requires Python 3.9 or later and a working OpenAI API connection. The aging maintenance status (441 days since last release) suggests the package may be stable but not actively developed.

Use it for

  • Generate follow-up questions for document-based Q&A systems or chatbots.
  • Create synthetic training data for question-answering models from existing documents.
  • Build educational tools that automatically generate comprehension questions from course materials.
  • Enhance retrieval-augmented generation pipelines by generating diverse queries for document retrieval.
  • Automate test question creation from technical documentation or knowledge bases.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using LlamaIndex and need OpenAI-powered question generation.

The low install friction and permissive MIT license make adoption straightforward. However, the aging maintenance status (441 days since last release) warrants checking compatibility with your current llama-index versions before committing to production use. No known vulnerabilities.

Install

llama-index-question-gen-openai on PyPI

Before you install

Low install friction with pure Python wheels. Maintenance status is aging—last release was 441 days ago, though the package remains current for Python 3.9+. Depends on llama-index-core, llama-index-llms-openai, and llama-index-program-openai.

Requires a valid OpenAI API key in environment or passed explicitly; llama-index-llms-openai dependency must be installed and configured.

License in practice

MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice.

Quickstart

pip install llama-index-question-gen-openai

from llama_index_question_gen_openai import OpenAIQuestionGenerator

generator = OpenAIQuestionGenerator.from_defaults()
questions = generator.generate(context_str="Your document text here")

Verify before relying

  • Whether the package is actively maintained or in maintenance-only mode given the 441-day gap since last release.
  • Specific question generation capabilities and output format beyond the integration description.
  • Compatibility with recent versions of llama-index-core and llama-index-llms-openai.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
llama-index-corellama-index-llms-openaillama-index-program-openai
MaintenanceAging 441 days since the last release
First released
Downloads2,709,695 / month, #2,928 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: llama_index_question_gen_openai-0.3.1-py3-none-any.whl

Tags

Capabilities
question generation from documentsllama-index openai integrationautomated question generationfollow-up question synthesisllm-based question generationopenai question generatorcontext-aware question creation
Topics
llm-integrationquestion-generationrag

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “question generation from documents”

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also llama-index-program-openai · llama-index-agent-openai · llama-index-multi-modal-llms-openai · gepa · llama-index-embeddings-openai · llama-index-embeddings-azure-openai · llama-index · llama-index-llms-openai-like · llama-index-llms-azure-openai · llama-index-legacy

Further reading