Spaces:
Sleeping
Sleeping
Lovish Singla
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -13,11 +13,13 @@ st.subheader("Upload a txt file, Ask questions from it and get answer from the N
|
|
13 |
# Sidebar for inputs
|
14 |
with st.sidebar:
|
15 |
st.title("Neo4j Configuration")
|
|
|
16 |
NEO4J_URI = st.text_input("NEO4J_URI", type="password")
|
17 |
NEO4J_USERNAME = st.text_input("NEO4J_USERNAME", type="password")
|
18 |
NEO4J_PASSWORD = st.text_input("NEO4J_PASSWORD", type="password")
|
19 |
|
20 |
st.title("LLM Configuration")
|
|
|
21 |
llm_choice = st.selectbox("Choose LLM", ["OpenAI", "Groq"]) # Dropdown for LLM selection
|
22 |
|
23 |
if llm_choice == "OpenAI":
|
|
|
13 |
# Sidebar for inputs
|
14 |
with st.sidebar:
|
15 |
st.title("Neo4j Configuration")
|
16 |
+
st.write("get your neo4j credentials from https://neo4j.com/product/auradb/")
|
17 |
NEO4J_URI = st.text_input("NEO4J_URI", type="password")
|
18 |
NEO4J_USERNAME = st.text_input("NEO4J_USERNAME", type="password")
|
19 |
NEO4J_PASSWORD = st.text_input("NEO4J_PASSWORD", type="password")
|
20 |
|
21 |
st.title("LLM Configuration")
|
22 |
+
st.write("this service use gpt-4-turbo for openai https://platform.openai.com/ and gemma-2b-it for groq https://groq.com/ ")
|
23 |
llm_choice = st.selectbox("Choose LLM", ["OpenAI", "Groq"]) # Dropdown for LLM selection
|
24 |
|
25 |
if llm_choice == "OpenAI":
|