Skip to content

Commit

Permalink
Only generate three questions per species
Browse files Browse the repository at this point in the history
  • Loading branch information
eleurent committed Nov 13, 2023
1 parent 6ef3c0b commit 00c3a55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
2 changes: 1 addition & 1 deletion frontend/screens/SpeciesDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import ObservationCarousel from '../components/ObservationCarousel';
import ImageModal from '../components/ImageModal';
import Animated from 'react-native-reanimated';
import { Badge } from '@rneui/themed';
import { LinearGradient } from 'expo-linear-gradient';
import { LinearGradient } from 'expo-linear-gradient';
import MaskedView from '@react-native-masked-view/masked-view';

const API_URL = Constants.expoConfig.extra.API_URL;
Expand Down
20 changes: 2 additions & 18 deletions generation/text/question_prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@
D: Tulip
Answer: B
Question 4:
What is one traditional medicinal use of the Edelweiss?
A: Treating skin rashes
B: Curing headaches
C: Remedying abdominal and respiratory diseases
D: Enhancing memory
Answer: C
User: Can you help me generate questions about the Austrian copper rose?
Here is the material: {{not shown for brevity}}
Expand All @@ -57,29 +49,21 @@
Answer: B
Question 2:
Who successfully cultivated the Austrian copper rose in the imperial garden of Rudolf II in Vienna?
A: Joris Hoefnagel
B: Joseph Pernet-Ducher
C: Carolus Clusius
D: Antoine Ducher
Answer: C
Question 3:
What is one drawback of the Austrian copper rose?
A: Its objectionable scent
B: Its lack of vigor
C: Its susceptibility to black spot
D: Its spindly bush shape
Answer: A
Question 4:
Question 3:
Where does the name 'Rosa foetida' come from?
A: it is Latin for "having a bad smell"
B: it means "baby rose" in Latin
C: it comes from the greek word for "happiness"
D: it was discoevered by Dr. Foetid
Answer: A
User: Can you help me generate 4 questions about {plant_name}?
User: Can you help me generate 3 questions about {plant_name}?
Here is the material: {material}
"""

0 comments on commit 00c3a55

Please sign in to comment.