-
Notifications
You must be signed in to change notification settings - Fork 1.1k
finished ai-consultant agent #107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Entelligence AI Vulnerability ScannerStatus: No security vulnerabilities found Your code passed our comprehensive security analysis. Analyzed 2 files in total |
WalkthroughThis PR introduces a new AI Consultant Agent application that assesses company AI readiness using Streamlit for the UI, Memori v3 for persistent memory, and ExaAI for web research capabilities. The implementation includes a complete project structure with dependency management via pyproject.toml, comprehensive documentation, and a workflow that combines LangChain reasoning with real-time case study research. The application features a dual-tab interface for conducting AI assessments and querying historical data through memory-powered conversations. All components are configured for Python 3.11+ with SQLite-based memory storage and OpenAI GPT-4o-mini integration. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
actor User
participant UI as Streamlit UI
participant Profile as CompanyProfile
participant Workflow as workflow.run_ai_assessment
participant OpenAI as OpenAI Client
participant Memori as Memori v3
participant DB as SQLite Database
Note over UI,DB: Initialization Phase
UI->>DB: Create engine & session
UI->>OpenAI: Initialize client with API key
UI->>Memori: Initialize Memori(conn=SessionLocal)
Memori->>OpenAI: Register OpenAI client
Memori-->>UI: Return wrapped client
UI->>Memori: Set attribution(entity_id, process_id)
UI->>Memori: config.storage.build()
Memori->>DB: Create/verify tables
Note over User,DB: AI Assessment Flow
User->>UI: Enter company details<br/>(name, industry, size, goals, etc.)
User->>UI: Click "Run AI Assessment"
UI->>Profile: Create CompanyProfile(company_name, industry, ...)
Profile-->>UI: Return profile object
UI->>Workflow: run_ai_assessment(profile, openai_client)
Workflow->>OpenAI: chat.completions.create()<br/>(assessment generation)
Note over OpenAI,Memori: Memori automatically captures<br/>this conversation
Memori->>DB: Store conversation context
OpenAI-->>Workflow: Return assessment markdown
Workflow-->>UI: Return (assessment_markdown, snippets)
UI->>UI: Store in session_state
UI->>User: Display assessment results
Note over User,DB: Memory-Powered Q&A Flow
User->>UI: Enter question in chat
UI->>UI: Append to memory_messages
UI->>UI: Build full_prompt with<br/>latest assessment context
UI->>OpenAI: chat.completions.create()<br/>(model="gpt-4o-mini")
Note over OpenAI,Memori: Memori captures Q&A automatically
Memori->>DB: Store question & response
OpenAI-->>UI: Return response text
UI->>UI: Append response to memory_messages
UI->>User: Display response in chat
π Cross-Repository Impact AnalysisEnable automatic detection of breaking changes across your dependent repositories. β Set up now Learn more about Cross-Repository AnalysisWhat It Does
How to Enable
Benefits
Note for WindsurfPlease change the default marketplace provider to the following in the windsurf settings:Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items Entelligence.ai can learn from your feedback. Simply add π / π emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
Also you can trigger various commands with the bot by doing The current supported commands are
More commands to be added soon. |
π Linked Issue
Closes #
β Type of Change
π Summary
π README Checklist
README.mdfile for my project.README.mdfollows the official.github/README_TEMPLATE.md.README.md.assetsfolder and included it in myREADME.md.βοΈ Contributor Checklist
advance_ai_agents,rag_apps).requirements.txtorpyproject.tomlfor dependencies..env.examplefile if environment variables are needed and ensured no secrets are committed.π¬ Additional Comments
EntelligenceAI PR Summary
This PR adds a complete AI Consultant Agent application for assessing company AI readiness with memory-powered conversations and web research capabilities.