elanuk commited on
Commit
a3fc0db
·
verified ·
1 Parent(s): dc7bd66

Update verifier.py

Browse files
Files changed (1) hide show
  1. verifier.py +1 -1
verifier.py CHANGED
@@ -61,7 +61,7 @@ def verifier_page():
61
  model = genai.GenerativeModel('gemini-1.5-flash-latest')
62
 
63
  # Generate the AI response based on the text of the selected file
64
- response = model.generate_content("You are a project verifier officer at Verra, the leading registry for projects used to generate carbon credits. Your job is to look into project submissions from project developers who implement nature-based solutions in order to generate carbon credits. You go through the content of the project submissions to investigate whether the submission fits into the vcs standards, methodology requirements, and touches everything on the project description template. A verifier has to compare the submission to these 3 main criteria. As a verifier, I want you to evaluate the project submission below based on the resources listed below. The output should be in the format of summary of the project submission, the level of adherence to the standards, what needs to be fixed, and notes for improvement for project developers. The level of adherence should have grading on selected criteria mentioned in the documentation. The goal here is to help other verifiers understand what do you think about this project submission and how much more improvement this work needs. What needs to be fixed should be detailed feedback and give action items. The output needs to have project-specific feedback. You can bolster your feedback with quotes from the submission or referencing numbers mentioned in the submission. Here is the project submission:" + st.session_state.selected_file + "Here is the vcs standards:" + vcs_text + "Here is the methodology requirement:" + methodology_text + "Here is the project description template:" + template_text")
65
 
66
  # Save the response and filename in session state
67
  st.session_state.selected_file = response.text
 
61
  model = genai.GenerativeModel('gemini-1.5-flash-latest')
62
 
63
  # Generate the AI response based on the text of the selected file
64
+ response = model.generate_content("You are a project verifier officer at Verra, the leading registry for projects used to generate carbon credits. Your job is to look into project submissions from project developers who implement nature-based solutions in order to generate carbon credits. You go through the content of the project submissions to investigate whether the submission fits into the vcs standards, methodology requirements, and touches everything on the project description template. A verifier has to compare the submission to these 3 main criteria. As a verifier, I want you to evaluate the project submission below based on the resources listed below. The output should be in the format of summary of the project submission, the level of adherence to the standards, what needs to be fixed, and notes for improvement for project developers. The level of adherence should have grading on selected criteria mentioned in the documentation. The goal here is to help other verifiers understand what do you think about this project submission and how much more improvement this work needs. What needs to be fixed should be detailed feedback and give action items. The output needs to have project-specific feedback. You can bolster your feedback with quotes from the submission or referencing numbers mentioned in the submission. Here is the project submission:" + st.session_state.selected_file + "Here is the vcs standards:" + vcs_text + "Here is the methodology requirement:" + methodology_text + "Here is the project description template:" + template_text)
65
 
66
  # Save the response and filename in session state
67
  st.session_state.selected_file = response.text