UI: Rebranding and cleanup
Browse files- README.md +2 -2
- src/app.py +2 -9
- src/rag_engine.py +1 -1
README.md
CHANGED
|
@@ -7,14 +7,14 @@ sdk: docker
|
|
| 7 |
app_port: 8501
|
| 8 |
---
|
| 9 |
|
| 10 |
-
# 🛰️
|
| 11 |
|
| 12 |
[](https://huggingface.co/spaces/Kirtan001/satellite-rag)
|
| 13 |
[](https://www.python.org/)
|
| 14 |
[](https://python.langchain.com/)
|
| 15 |
[](https://www.docker.com/)
|
| 16 |
|
| 17 |
-
**
|
| 18 |
|
| 19 |
---
|
| 20 |
|
|
|
|
| 7 |
app_port: 8501
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# 🛰️ Space Satellite Assistant: Intelligent Data Expert
|
| 11 |
|
| 12 |
[](https://huggingface.co/spaces/Kirtan001/satellite-rag)
|
| 13 |
[](https://www.python.org/)
|
| 14 |
[](https://python.langchain.com/)
|
| 15 |
[](https://www.docker.com/)
|
| 16 |
|
| 17 |
+
**Space Satellite Assistant** is a Retrieval-Augmented Generation (RAG) system designed to democratize access to complex satellite specifications. It transforms unstructured technical data from [Gunter's Space Page](https://space.skyrocket.de/) into a structured, queryable knowledge base, allowing users to ask natural language questions about satellite orbits, operators, and technical payloads.
|
| 18 |
|
| 19 |
---
|
| 20 |
|
src/app.py
CHANGED
|
@@ -31,8 +31,8 @@ def check_system_health():
|
|
| 31 |
}
|
| 32 |
|
| 33 |
# Setup Page
|
| 34 |
-
st.set_page_config(page_title="
|
| 35 |
-
st.title("🛰️
|
| 36 |
|
| 37 |
# Sidebar
|
| 38 |
with st.sidebar:
|
|
@@ -68,13 +68,6 @@ with st.sidebar:
|
|
| 68 |
st.warning("🟠 Engine: Initializing...")
|
| 69 |
else:
|
| 70 |
st.success("🟢 Engine: Ready")
|
| 71 |
-
|
| 72 |
-
# Environment Check
|
| 73 |
-
key = settings.GROQ_API_KEY
|
| 74 |
-
if key:
|
| 75 |
-
st.info(f"🔑 API Key: {key[:4]}...{key[-4:]} (Detected)")
|
| 76 |
-
else:
|
| 77 |
-
st.error("❌ API Key: Missing")
|
| 78 |
|
| 79 |
# Chat Logic
|
| 80 |
if "messages" not in st.session_state:
|
|
|
|
| 31 |
}
|
| 32 |
|
| 33 |
# Setup Page
|
| 34 |
+
st.set_page_config(page_title="Space Satellite Assistant", page_icon="🛰️")
|
| 35 |
+
st.title("🛰️ Space Satellite Assistant")
|
| 36 |
|
| 37 |
# Sidebar
|
| 38 |
with st.sidebar:
|
|
|
|
| 68 |
st.warning("🟠 Engine: Initializing...")
|
| 69 |
else:
|
| 70 |
st.success("🟢 Engine: Ready")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
# Chat Logic
|
| 73 |
if "messages" not in st.session_state:
|
src/rag_engine.py
CHANGED
|
@@ -141,7 +141,7 @@ class SatelliteRAG:
|
|
| 141 |
logger.info("Step 4: Constructing prompt and calling Groq LLM...")
|
| 142 |
|
| 143 |
template = """
|
| 144 |
-
You are
|
| 145 |
Use the following context to answer the user's question.
|
| 146 |
|
| 147 |
Guidelines:
|
|
|
|
| 141 |
logger.info("Step 4: Constructing prompt and calling Groq LLM...")
|
| 142 |
|
| 143 |
template = """
|
| 144 |
+
You are a Space Satellite Assistant, an expert in technical satellite data.
|
| 145 |
Use the following context to answer the user's question.
|
| 146 |
|
| 147 |
Guidelines:
|