- Langzeit- und Kurzzeitgedächtnis mit SQLite - Ollama-Integration für lokale LLMs - Flask-Webinterface mit Stream-Response - Persona-System mit konfigurierbarem Charakter - Auto-Zusammenfassung bei Token-Limit - Rate Limiting und Sicherheitsfeatures - Uncensored Modell-Support
31 lines
1.6 KiB
Python
31 lines
1.6 KiB
Python
#!/usr/bin/env python3
|
|
"""Nimue - Launch script"""
|
|
|
|
import sys
|
|
import os
|
|
|
|
# Add project to path
|
|
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
from nimue.app import NimueApp
|
|
|
|
def main():
|
|
print("""
|
|
╔═══════════════════════════════════════════════════╗
|
|
║ ║
|
|
║ ███╗ ██╗██╗███╗ ███╗██╗ ██╗███████╗ ║
|
|
║ ████╗ ██║██║████╗ ████║██║ ██║██╔════╝ ║
|
|
║ ██╔██╗ ██║██║██╔████╔██║██║ ██║█████╗ ║
|
|
║ ██║╚██╗██║██║██║╚██╔╝██║██║ ██║██╔══╝ ║
|
|
║ ██║ ╚████║██║██║ ╚═╝ ██║╚██████╔╝███████╗ ║
|
|
║ ╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ║
|
|
║ ║
|
|
║ Submissive AI Companion v1.0 ║
|
|
╚═══════════════════════════════════════════════════╝
|
|
""")
|
|
|
|
app = NimueApp('config.yaml')
|
|
app.run()
|
|
|
|
if __name__ == '__main__':
|
|
main() |