{"id":27168211,"url":"https://github.com/michaelpiper/cot","last_synced_at":"2025-06-10T10:04:28.790Z","repository":{"id":286345853,"uuid":"959764823","full_name":"michaelpiper/cot","owner":"michaelpiper","description":"Cosmos Of Things (CoT) is an advanced AI-powered virtual banking assistant designed to revolutionize the way customers interact with banking services.","archived":false,"fork":false,"pushed_at":"2025-04-05T20:45:48.000Z","size":1273,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T21:26:50.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelpiper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-03T10:11:48.000Z","updated_at":"2025-04-05T20:45:51.000Z","dependencies_parsed_at":"2025-04-05T21:36:59.944Z","dependency_job_id":null,"html_url":"https://github.com/michaelpiper/cot","commit_stats":null,"previous_names":["michaelpiper/cot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelpiper%2Fcot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelpiper%2Fcot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelpiper%2Fcot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelpiper%2Fcot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelpiper","download_url":"https://codeload.github.com/michaelpiper/cot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247985824,"owners_count":21028765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-09T05:29:35.105Z","updated_at":"2025-04-09T05:29:35.570Z","avatar_url":"https://github.com/michaelpiper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLM Cosmos Of Things (CoT) - Banking AI Assistant\n\n## Overview\n\n**CoT (Cosmos Of Things)** is an advanced AI banking assistant that seamlessly handles everyday banking tasks while providing personalized financial guidance through natural conversation. Using sophisticated NLP, memory systems, and contextual awareness, CoT transforms routine banking interactions into intuitive, frictionless experiences.\n\n## Key Features\n\n- **Natural Language Processing**: Advanced NLP to understand complex user queries\n- **Memory System**: Long-term memory to recall user preferences and past interactions\n- **Contextual Awareness**: Maintains conversational flow with full understanding of context\n- **Chat History**: References previous conversations for personalized service\n- **Intent Detection**: BERT-based model for accurate understanding of user needs\n- **Hybrid RAG**: Combines retrieval and generation for accurate responses\n- **Multilingual Support**: Handles multiple languages with translation capabilities\n- **Multiple Interfaces**: Available via API, CLI, and web interfaces\n\n## Technical Architecture\n\n### Core Components\n- **NLP Framework**: Advanced natural language processing\n- **Memory Entity**: Long-term memory capabilities\n- **Context Awareness**: Contextual conversation understanding\n- **Intent Detection**: BERT-based model\n- **RAG/Hybrid RAG**: Retrieval-Augmented Generation system\n- **Search Capabilities**: Entity, semantic, and full-text search\n- **Database**: MongoDB for document embedding and indexing\n\n## Project Structure\n\n```\n├── ai.ziva.py                # Main entry point\n├── cot/                      # Core application code\n│   ├── ai/                   # AI components\n│   ├── config/               # Configuration files\n│   ├── packages/             # SDK and type definitions\n│   ├── scripts/              # Utility scripts\n│   ├── interfaces/           # User interfaces (web, telegram)\n│   └── tests/                # Test suites\n├── data/                     # Data files and models\n├── docker-compose.yml        # Docker configuration\n├── docs/                     # Documentation\n└── requirements.txt          # Python dependencies\n```\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/michaelpiper/cot.git\n   cd cot\n   ```\n\n2. Install Python dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n3. Install Node modules dependencies:\n   ```bash\n   npm install\n   ```\n4. Set up environment variables (create a `.env` file based on `.env.example`)\n\n## Running the Application\n\n### HTTP Interface\n```bash\npython ai.ziva.py -m api -p 4000\n```\n\n### CLI Interface\n```bash\npython ai.ziva.py -m cli\n```\n\n### Web Interface\n```bash\ncd cot/interfaces/web\nnpm run build\nnpm start\n```\n\n### Debug Mode (with detailed logging)\n```bash\npython ai.ziva.py -m debug\n```\n\n### Training Mode (train llm model for intent)\n```bash\npython ai.ziva.py -m train\n```\n\n## Development\n\n### Testing\nRun unit tests:\n```bash\npython ai.ziva.py -m unittest\n```\n\nRun integration tests:\n```bash\npython ai.ziva.py -m integrationtest\n```\n\n### Docker Setup\nStart the application with Docker:\n```bash\ndocker-compose up --build\n```\n\n## Configuration\n\nEdit the configuration files in `cot/config/` to customize application behavior:\n- `app_config.yaml`: Main application configuration\n- `logging.yaml`: Logging settings\n\n## Contributing\n\nWe welcome contributions! Please fork the repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n[MIT]","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelpiper%2Fcot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelpiper%2Fcot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelpiper%2Fcot/lists"}