Freeform text feedback using kordinglab/freetext-server.
Project description
freetext_jupyter
This is a IPyWidget that interfaces with the Kording Lab freetext
server. The freetext server is an automatic text feedback system that can be used to provide feedback to students on their written responses to questions.
Overview
This widget takes the form of a simple text box. The student is presented with the prompt text and a place to answer the question. Upon submitting, the freetext
server engages a large language model with general knowledge as well as fine-grained knowledge about the question (provided by the instructor) to generate feedback for the student. The feedback is then displayed to the student under the text area, in near-real time, without waiting for a human instructor.
As in all LLM-based tools, caveat emptor: the feedback is not always correct, and it is not always useful. But it is often correct, and it is often useful. The feedback is not meant to replace human instructors, but rather to augment them. The feedback is meant to be used as a starting point to engage meaningful discussion between the students and the instructor.
Installation
pip install freetext_jupyter
Usage
from freetext_jupyter import FreetextWidget
FreetextWidget(
# This ID is generated by the instructor by creating a new assignment in
# the freetext server. For more information, see the freetext documentation
# for your community's server.
"07b2c3ef-0f97-46bc-a11e-fc5c06c381c2"
)
https://github.com/KordingLab/fretext-jupyter/assets/693511/090a2445-7867-4428-a28a-d5f3a2c96f68
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file freetext_jupyter-0.1.0.tar.gz
.
File metadata
- Download URL: freetext_jupyter-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79af875f3b0118b03a7226850c6e29efd8d8a1a4ae9231cfca4c0b1ae5951723 |
|
MD5 | 1135c0827a7e492935552183ebc752d1 |
|
BLAKE2b-256 | 9c317f68659cd5f3f4ab4f42accaf13c88bef141cd4b74dcb720d27fe94d0d6e |
File details
Details for the file freetext_jupyter-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: freetext_jupyter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c70c3dda15773dde92ca48a628a6a9b56af128e258b7a3bc0f621a65e92c0c28 |
|
MD5 | b9009c18367732ccc3ddd5b1dd1265d9 |
|
BLAKE2b-256 | 4bc6dcccf1c51bd926eca9695da4d37dc869424b1834cd6f1dfa303db6a75b05 |