Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ BICO Public

BICO (Business Intelligence Companion) is a pioneering project that explores the integration of Large Language Models (LLMs) with existing platform services, revolutionizing how we interact with complex Business Intelligence (BI) tools.

License

Notifications You must be signed in to change notification settings

KomachiZ/BICO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BICO: Business Intelligence Companion

Exploring the Frontier of Text2Artifact in Business Intelligence

BICO (Business Intelligence Companion) is a PoC project that explores the integration of Large Language Models (LLMs) with existing platform services, resolutioning how we interact with complex Business Intelligence (BI) tools. By leveraging the power of AWS services like Bedrock, OpenSearch, and QuickSight, BICO transforms abstract human queries into structured API calls, making sophisticated BI operations accessible to a wider audience.

Text2Artifact Capability

BICO translates natural language into QuickSight dashboards:

v1.mp4

comment: LLM intervention platform service becomes a reality

Text2SQL Capability

BICO in action as it generates optimized SQL queries from natural language:

v3_7.mp4

comment: Extract every ounce of reasoning ability from the LLM in responding to the query.

✨ Key Innovations

1. Text2Artifact: Beyond Simple Conversions

BICO can achieve the capability of "Text2Artifact", expanding on ideas like Text2SQL and Text2Platform. This approach allows LLMs to understand and manipulate complex, structured data and platform objects through natural language interactions.

  • 🧠 Intelligent parsing of user intents into platform-specific operations
  • 🔧 Dynamic generation of API call sequences to fulfill complex requests
  • 🎨 Creation and modification of platform artifacts (e.g., SQL queries, QuickSight dashboards) through conversation

2. LLM-Friendly API Design

BICO explores the balance between API granularity and LLM comprehension:

  • 🧩 Modular function design optimized for LLM understanding and chaining
  • 🔗 Handle-based memory management for complex object manipulation
  • 📚 Rich, context-aware function documentation and pseudo-code prompts to guide LLM decision-making

✨ Features

  • 📊 Natural language to SQL query conversion (Text2SQL)
  • 🎨 AI-driven QuickSight dashboard creation (Text2Artifact)
  • 🧠 Navigating and aligning complex relationships between tables with varying granularities
  • ⚡ Optimization-aware query construction and dashboard design
  • 🖼️ Handle-based object management for artifact elements
  • 📝 Pseudo-code prompts for guided AI operations

🚀 Project Vision:

  • 🤝 Contribute to the development of more intuitive Text2Artifact systems
  • 🔍 Explore optimal API designs for LLM integration
  • 🌟 Help shape the future of AI-assisted technology interaction

🛠️ Getting Started

  1. Set permissions for AWS IAM.

    This project uses the isengard account, including bedrock models, knowledge base, and quicksight, all managed implicitly through IAM. The RDS database parameters need to be manually configured in the database.py file. The OpenSearch index parameters need to be manually configured in search_tool.py.

  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Run the main script:

    chainlit run app.py
    

Resources & Thanks

This project references and uses the following projects:

This project was inspired by the following blog.

📜 License

BICO is released under the MIT License.

Apendix

The project won the second prize in the AWS GCR Hackathon.

Image

About

BICO (Business Intelligence Companion) is a pioneering project that explores the integration of Large Language Models (LLMs) with existing platform services, revolutionizing how we interact with complex Business Intelligence (BI) tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages