Skip to content
Djninja926Public

About

Luna AI is a personal modular AI assistant built with LangChain, Ollama, and Pinecone, designed to function like J.A.R.V.I.S. It combines voice interaction, conversational memory, and AI response generation into a customizable framework that lets users create hands free, context aware assistants for everyday tasks and projects.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

LUNA-AI

Empowering Seamless Conversations with Intelligent Voice

last-commit repo-top-language repo-language-count

Built with the tools and technologies:

Markdown Ollama LangChain NumPy Python OpenAI


Overview

Luna-ai is an innovative developer toolkit that enables the creation of intelligent, voice-driven applications with real-time interaction and contextual understanding. It orchestrates speech recognition, natural language processing, and AI response generation into a cohesive system, simplifying the development of hands-free, conversational interfaces.

Why Luna-ai?

This project empowers developers to build seamless voice interfaces that are both responsive and contextually aware. The core features include:

  • 🧠 Microphone & Wake Word Detection: Hands-free, real-time voice activation for effortless user engagement.
  • 🎙️ Speech Transcription: Converts spoken language into text instantly, supporting natural interactions.
  • 🔗 Contextual AI Conversations: Maintains persistent, searchable conversation history for coherent dialogues.
  • ⚙️ Modular Architecture: Ensures reliable data flow and system cohesion across components.
  • 🚀 Scalable Integration: Combines advanced speech recognition, NLP, and AI models for robust applications.

Features

Component Details
⚙️ Architecture
  • Modular design separating core functionalities (e.g., model handling, data processing)
  • Supports multiple AI models and pipelines
  • Likely employs layered architecture for scalability
🔩 Code Quality
  • Uses type hints (typing, pydantic) for robustness
  • Follows PEP8 standards, with organized directory structure
  • Includes custom modules for specific tasks (e.g., langchain, transformers integration)
📄 Documentation
  • README provides project overview, setup instructions, dependencies
  • Likely includes inline docstrings and possibly API docs
  • Uses markdown for clarity, references external docs for models and APIs
🔌 Integrations
  • Extensive use of third-party libraries: transformers, langchain, onnxruntime, ctranslate2
  • Supports cloud/AI services like ollama, pinecone, openai
  • Integrates audio processing (PyAudio, soundfile, whisper), ML frameworks (torch, scikit-learn)
🧩 Modularity
  • Component-based design with separate modules for models, data, and APIs
  • Configurable via environment variables and config files
  • Supports plugin-like extensions (e.g., different backends, models)
🧪 Testing
  • Likely includes unit tests for core modules
  • Uses testing frameworks compatible with Python (pytest or similar)
  • Test coverage inferred from dependencies and code structure
⚡️ Performance
  • Utilizes optimized libraries (onnxruntime, librosa, numba) for speed
  • Supports hardware acceleration (GPU via torch, onnxruntime)
  • Asynchronous I/O with aiohttp, anyio for scalable network operations
🛡️ Security
  • Uses pydantic for data validation and security
  • Secure handling of API keys and tokens (implied via environment/config)
  • Employs standard security practices for dependencies and network calls
📦 Dependencies
  • Heavy reliance on requirements.txt for dependency management
  • Includes ML, audio, NLP, and web libraries (transformers, soundfile, requests, fastapi implied)
  • Supports hardware-specific dependencies (setuptools-rust, pywin32) for cross-platform compatibility

Project Structure

└── luna-ai/
    ├── Hey-Luna.ppn
    ├── Luna.py
    ├── README.md
    ├── llm_interface.py
    ├── requirements.txt
    └── transcription.py

Roadmap

  • Task 1: Advanced Memory Management.
  • Task 2: Add Nari-Labs Dia 2.3 Model for Voice
  • Task 3: Modular Features (Web Search, Code Generation, Image Interpretation)
  • Task 4: Add Multi-Agent Capabilities

About

Luna AI is a personal modular AI assistant built with LangChain, Ollama, and Pinecone, designed to function like J.A.R.V.I.S. It combines voice interaction, conversational memory, and AI response generation into a customizable framework that lets users create hands free, context aware assistants for everyday tasks and projects.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages