Spaces:
Running
Running
Commit ·
53ae4ec
1
Parent(s): d66c379
empty files
Browse files- database/learning_data/system_context.txt +17 -0
- database/learning_data/userdata.txt +9 -0
- run.py +23 -0
database/learning_data/system_context.txt
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# System Context Information
|
| 2 |
+
# This file is automatically loaded for RAG context
|
| 3 |
+
# Add system-wide context, instructions, and knowledge here
|
| 4 |
+
|
| 5 |
+
JARVIS System Context:
|
| 6 |
+
- AI Assistant with conversation memory
|
| 7 |
+
- Supports web search and real-time information
|
| 8 |
+
- Uses FAISS for vector-based retrieval
|
| 9 |
+
- Powered by Groq LLM
|
| 10 |
+
|
| 11 |
+
System Capabilities:
|
| 12 |
+
- Natural language conversation
|
| 13 |
+
- Web search integration
|
| 14 |
+
- Session management
|
| 15 |
+
- Long-term memory using vector store
|
| 16 |
+
|
| 17 |
+
# Add more system context below:
|
database/learning_data/userdata.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# User Personal Data
|
| 2 |
+
# This file is automatically loaded for RAG context
|
| 3 |
+
# Add your personal information, preferences, and facts here
|
| 4 |
+
|
| 5 |
+
User Name: [Your Name]
|
| 6 |
+
Interests: [Your Interests]
|
| 7 |
+
Preferences: [Your Preferences]
|
| 8 |
+
|
| 9 |
+
# Add more personal data below:
|
run.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Server startup script
|
| 2 |
+
import uvicorn
|
| 3 |
+
from config import HOST, PORT, RELOAD
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
def main():
|
| 7 |
+
"""Start the JARVIS FastAPI server"""
|
| 8 |
+
print("=" * 50)
|
| 9 |
+
print("Starting JARVIS Server...")
|
| 10 |
+
print(f"Host: {HOST}")
|
| 11 |
+
print(f"Port: {PORT}")
|
| 12 |
+
print("=" * 50)
|
| 13 |
+
|
| 14 |
+
uvicorn.run(
|
| 15 |
+
"app.main:app",
|
| 16 |
+
host=HOST,
|
| 17 |
+
port=PORT,
|
| 18 |
+
reload=RELOAD
|
| 19 |
+
)
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
if __name__ == "__main__":
|
| 23 |
+
main()
|