File size: 411 Bytes
35b12e0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)