Tip
Check out Practiso, a local intelligent study utility.
To create Practiso archive for importing, use this Python SDK to
- create questions programmatically,
- parse other formats like Excel sheets or RTF documents,
- use generative AI to categorize the questions.
SDK is available via PyPi. To get it with pip, run:
pip install practiso-sdkQuestions are composed of several frames, either representing its content or the answerable sections. Following is a possible question model and its Practiso rendering.
from practiso_sdk import archive
archive.Text('This is Cat Walker')
archive.Image(filename='cat_walker.jpg', width=479, height=200, alt_text="People's favour cat DJ")
archive.Options([
archive.OptionItem(archive.Text('pretty cool'), is_key=True)
])Your categories will be the primary factor on which Practiso decides how to recommend new questions or combinations. In Practiso, categorization is described in dimensions, what knowledge point a question is related to and how much so, so that the system can comprehend them in a hyper dimension line space.
Generative AI can be utilized to make decisions on how much a category a question falls into.
Required extra: googleai. Install with:
pip install practiso-sdk[googleai]Example code snippet:
import os
import practiso_sdk
agent = practiso_sdk.google.ai.GeminiAgent(api_key=os.environ['GEMINI_API_KEY'])
dimensions = await agent.get_dimensions(quiz)
print(dimensions)An MCP server is available at PractisoDevelopers/mcp.
