AnishaG0201 commited on
Commit
cfd5951
1 Parent(s): daf8b2f

Update function.py

Browse files
Files changed (1) hide show
  1. function.py +1 -0
function.py CHANGED
@@ -1,5 +1,6 @@
1
  from langchain_community.llms import OpenAI
2
  from langchain_google_genai import ChatGoogleGenerativeAI
 
3
 
4
  def GetLLMResponse(selected_topic_level, selected_topic,num_quizzes, model):
5
  question_prompt = ('I want you to just generate question with this specification: Generate a {selected_topic_level} math quiz on the topic of {selected_topic}. Generate only {num_quizzes} questions not more and without providing answers.')
 
1
  from langchain_community.llms import OpenAI
2
  from langchain_google_genai import ChatGoogleGenerativeAI
3
+ import streamlit as st
4
 
5
  def GetLLMResponse(selected_topic_level, selected_topic,num_quizzes, model):
6
  question_prompt = ('I want you to just generate question with this specification: Generate a {selected_topic_level} math quiz on the topic of {selected_topic}. Generate only {num_quizzes} questions not more and without providing answers.')