Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
= Enea_Gore committed Dec 4, 2024
1 parent 8ce98f9 commit 48af88e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
from pydantic import Field
from typing import Literal
from module_text_llm.retrieval_augmented_generation.agents import TutorAgent
tutor = TutorAgent()
from module_text_llm.retrieval_augmented_generation.prompt_generate_suggestions import GenerateSuggestionsPrompt

tutor = TutorAgent()

class RAGApproachConfig(ApproachConfig):
type: Literal['rag'] = 'rag'
generate_suggestions_prompt: GenerateSuggestionsPrompt = Field(default=GenerateSuggestionsPrompt())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
check_prompt_length_and_omit_features_if_necessary,
num_tokens_from_prompt,
)
from athena.text import Exercise, Submission, Feedback
from module_text_llm.config import BasicApproachConfig
from module_text_llm.helpers.utils import add_sentence_numbers, get_index_range_from_line_range, format_grading_instructions
from module_text_llm.basic_approach.prompt_generate_suggestions import AssessmentModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from pydantic import Field, BaseModel
from typing import List, Optional
from pydantic import BaseModel, Field

system_message = """\
You are an AI tutor for text assessment at a prestigious university.
Expand Down

0 comments on commit 48af88e

Please sign in to comment.