Neura AI v0.5.4 Optimized Relevant Context Retrieval, Eleven Labs Speech to Text and Enhanced Trello

Neura AI v0.5.4 represents a significant step forward in our AI-powered productivity suite.

Table of Contents

  1. Introduction

  2. What's New

  3. Trello Integration Improvements 3.1. Enhanced Checklist Handling 3.2. Improved Card Management 3.3. Case-Insensitive Search 3.4. Flexible Input Parsing

  4. Optimized Relevant Context Retrieval

  5. Eleven Labs Speech to Text Integration

  6. Improved Chat Completion Fallback Logic

  7. Challenges and Solutions

  8. Benefits

  9. Future Roadmap

1. Introduction

This version brings improvements to our Trello integration, enhances context retrieval, introduces new speech-to-text capabilities, and optimizes our chat completion fallback mechanism. These updates are designed to provide a more robust, efficient, and user-friendly experience for our users.

2. What's New

  • Environment Patch: All features, including image analysis, are now enabled on the new ui.

  • Optimized Relevant Context Retrieval: Improved accuracy and efficiency in retrieving relevant context for user queries.

  • Eleven Labs Speech to Text Integration: Added as a primary service with OpenAI STT as a fallback.

  • Improved Chat Completion Fallback Logic: Less aggressive fallback mechanism for smoother user experience.

  • Enhanced Trello Integration: Improved handling of checklists, cards, and boards.

3. Trello Integration Improvements

3.1 Enhanced Checklist Handling

Our Trello integration now offers more intelligent checklist management:

  • Checks for existing checklists before creating new ones

  • Appends new items to existing checklists to avoid duplication

  • Provides detailed feedback on the number of new items added

pub async fn handle_trello_checklist(
    &self,
    board_name: &str,
    list_name: &str,
    card_title: &str,
    checklist_name: &str,
    items: Vec<String>,
) -> Result<String, Error> {
    // Implementation details...
}

3.2 Improved Card Management

We've introduced a new method to centralize the logic for finding or creating cards:

async fn find_or_create_card(&self, list_id: &str, card_title: &str) -> Result<TrelloCard, Error> {
    // Implementation details...
}

This reduces code duplication and improves consistency in handling card creation across different functions.

The find_card_in_list method in TrelloService now performs a case-insensitive search for card names:

pub async fn find_card_in_list(&self, list_id: &str, card_name: &str) -> Result<Option<TrelloCard>, Error> {
    // Implementation details...
}

This increases the chances of finding existing cards, reducing unintended duplicates.

3.4 Flexible Input Parsing

The extract_trello_info function now recognizes both "- " and "* " as valid checklist item markers:

pub fn extract_trello_info(response: &str) -> Option<TrelloAction> {
    // Implementation details...
}

This improvement allows for more flexible input parsing, accommodating various user input styles.

4. Optimized Relevant Context Retrieval

We've enhanced our context retrieval system to provide more accurate and relevant information for user queries. This optimization includes:

  • Improved semantic understanding of user queries

  • Enhanced ranking algorithm for context relevance

  • Faster retrieval times for improved responsiveness

5. Eleven Labs Speech to Text Integration

We've integrated Eleven Labs' Speech to Text service as our primary STT solution:

  • High-quality speech recognition across multiple languages and accents

  • Seamless fallback to OpenAI STT if Eleven Labs service is unavailable

  • Improved transcription accuracy for various audio inputs

6. Improved Chat Completion Fallback Logic

Our chat completion fallback mechanism has been refined to be less aggressive:

  • Smoother transition between different language models

  • Reduced likelihood of unnecessary fallbacks

  • Improved handling of edge cases and complex queries

7. Challenges and Solutions

  1. Challenge: Maintaining consistency across multiple Trello integrations. Solution: Centralized logic for card and checklist management, reducing code duplication and potential inconsistencies.

  2. Challenge: Handling various user input styles for Trello tasks. Solution: Implemented flexible input parsing to accommodate different checklist item markers and case-insensitive searches.

  3. Challenge: Ensuring reliable speech-to-text functionality. Solution: Integrated Eleven Labs STT with OpenAI STT as a fallback, providing redundancy and improved service reliability.

  4. Challenge: Balancing between model performance and response time in chat completions. Solution: Refined fallback logic to be less aggressive, optimizing for both quality and speed.

8. Benefits

  • Improved Productivity: Enhanced Trello integration allows for more efficient task and project management.

  • Better User Experience: Flexible input parsing and case-insensitive searches accommodate various user behaviors.

  • Enhanced Accessibility: Improved speech-to-text functionality makes the system more accessible to a wider range of users.

  • Increased Reliability: Fallback mechanisms in both STT and chat completion ensure consistent performance.

  • Faster Response Times: Optimized context retrieval and chat completion logic lead to quicker, more relevant responses.

9. Future Roadmap

As we continue to evolve Neura AI, here are some areas we're exploring for future updates:

  • Further integration with popular productivity tools

  • Advanced natural language understanding for a better user experience, personalization and more complex task management

  • Expanded multilingual support

  • Enhanced personalization based on user behavior and preferences

  • Improved data visualization for productivity insights

We're excited about the improvements in Neura AI v0.5.4 and look forward to continuing our journey in making AI-powered productivity accessible and efficient for all our users.

Last updated