AlexCasF's picture
Upload 2 files
35b12e0
raw
history blame
411 Bytes
import os
from embedchain import App
import streamlit as st
qna_bot=App()
qna_bot.add("C:/Users/User/Documents/VSC/EmbedchainLearningBot/Az_600_word.docx", data_type="docx")
st.title("🎓 AZ-600 LearningBot 🤖")
st.text("für Manninger by Alex")
st.divider()
question = st.text_area("Frage hier reinkopieren, dann Str+Enter")
if question.strip():
answer = qna_bot.query(question)
st.write(answer)