Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Hialus committed Jul 1, 2024
1 parent 4af984d commit fd6cd7f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions app/pipeline/chat/course_chat_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
from ..shared.citation_pipeline import CitationPipeline
from ...common import convert_iris_message_to_langchain_message
from ...domain import PyrisMessage
from app.domain.chat.interaction_suggestion_dto import (
InteractionSuggestionPipelineExecutionDTO,
)
from ...llm import CapabilityRequestHandler, RequirementList
from ..prompts.iris_course_chat_prompts import (
tell_iris_initial_system_prompt,
Expand Down Expand Up @@ -69,7 +66,6 @@ def get_mastery(progress, confidence):
return min(100, max(0, round(progress * confidence)))



class CourseChatPipeline(Pipeline):
"""Course chat pipeline that answers course related questions from students."""

Expand Down Expand Up @@ -421,9 +417,7 @@ def lecture_content_retrieval(prompt: str) -> str:
self.callback.done("Response created", final_result=out)

try:
self.callback.skip(
"Skipping suggestion generation."
)
self.callback.skip("Skipping suggestion generation.")
# if out:
# suggestion_dto = InteractionSuggestionPipelineExecutionDTO()
# suggestion_dto.chat_history = dto.chat_history
Expand Down

0 comments on commit fd6cd7f

Please sign in to comment.