import streamlit as st from langchain_google_genai import ChatGoogleGenerativeAI st.title("Google Chatbot") llm = ChatGoogleGenerativeAI(model="gemini-1.5-flash-latest" , api_key = "AIzaSyDpIxqLHITWTE4XPWesFANvJI87p8f2qG4") prompt = st.text_input("prompt") query = llm.invoke(prompt) if query: st.write(query.content)