vikramvasudevan commited on
Commit
fad5e6f
·
verified ·
1 Parent(s): 4e80516

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. modules/quiz/models.py +2 -2
modules/quiz/models.py CHANGED
@@ -7,7 +7,7 @@ class Question(BaseModel):
7
  preferred_language: str = Field(
8
  description="User's preferred language. Respond in this language"
9
  )
10
- question: str = Field(description="The generated question to be asked to the user")
11
  scripture: allowedScriptureTitles = Field(
12
  description="The scripture title this question is sourced from (e.g., Bhagavad Gita, Divya Prabandham)"
13
  )
@@ -37,7 +37,7 @@ class Question(BaseModel):
37
  )
38
  verse_reference: Optional[str] = Field(
39
  default=None,
40
- description="The reference identifier of the verse or the title (e.g., Bhagavad Gita 2.47)",
41
  )
42
  reference_link: Optional[str] = Field(
43
  default=None, description="The html_url if available"
 
7
  preferred_language: str = Field(
8
  description="User's preferred language. Respond in this language"
9
  )
10
+ question: str = Field(description="The generated question to be asked to the user. Do not capture the expected answer here. Just the question only.")
11
  scripture: allowedScriptureTitles = Field(
12
  description="The scripture title this question is sourced from (e.g., Bhagavad Gita, Divya Prabandham)"
13
  )
 
37
  )
38
  verse_reference: Optional[str] = Field(
39
  default=None,
40
+ description="The reference identifier of the verse or the title (e.g., Bhagavad Gita 2.47). Include the prabandham_name as well if available",
41
  )
42
  reference_link: Optional[str] = Field(
43
  default=None, description="The html_url if available"