Skip to content

Commit

Permalink
refactor predict and parse
Browse files Browse the repository at this point in the history
  • Loading branch information
= Enea_Gore committed Oct 9, 2024
1 parent 8845382 commit b92e316
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
from llm_core.utils.llm_utils import (
get_chat_prompt_with_formatting_instructions,
check_prompt_length_and_omit_features_if_necessary,
predict_and_parse
)
from llm_core.utils.predict_and_parse import predict_and_parse

from module_text_llm.helpers.utils import add_sentence_numbers, get_line_range_from_index_range
from module_text_llm.prompts.generate_evaluation import system_message, human_message

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
get_chat_prompt_with_formatting_instructions,
check_prompt_length_and_omit_features_if_necessary,
num_tokens_from_prompt,
predict_and_parse
)
from llm_core.utils.predict_and_parse import predict_and_parse

from module_text_llm.helpers.utils import add_sentence_numbers, get_index_range_from_line_range, format_grading_instructions

class FeedbackModel(BaseModel):
Expand Down

0 comments on commit b92e316

Please sign in to comment.