prebuilt.essay_grading.nodes¶
Attributes¶
Functions¶
|
Analyze the structure of the essay. |
Calculate the final score based on individual component scores. |
|
|
Check the grammar of the essay. |
|
Check the relevance of the essay. |
|
Evaluate the depth of analysis in the essay. |
|
Extract the numeric score from the LLM's response. |
Module Contents¶
- prebuilt.essay_grading.nodes.analyze_structure(state: haive.prebuilt.essay_grading.state.State) haive.prebuilt.essay_grading.state.State¶
Analyze the structure of the essay.
- prebuilt.essay_grading.nodes.calculate_final_score(state: haive.prebuilt.essay_grading.state.State) haive.prebuilt.essay_grading.state.State¶
Calculate the final score based on individual component scores.
- prebuilt.essay_grading.nodes.check_grammar(state: haive.prebuilt.essay_grading.state.State) haive.prebuilt.essay_grading.state.State¶
Check the grammar of the essay.
- prebuilt.essay_grading.nodes.check_relevance(state: haive.prebuilt.essay_grading.state.State) haive.prebuilt.essay_grading.state.State¶
Check the relevance of the essay.
- prebuilt.essay_grading.nodes.evaluate_depth(state: haive.prebuilt.essay_grading.state.State) haive.prebuilt.essay_grading.state.State¶
Evaluate the depth of analysis in the essay.
- prebuilt.essay_grading.nodes.extract_score(content: str) float¶
Extract the numeric score from the LLM’s response.
- prebuilt.essay_grading.nodes.llm¶