-
Notifications
You must be signed in to change notification settings - Fork 1.1k
changed ai consultant agent from exa to tavily #114
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 |
Review Summaryπ·οΈ Draft Comments (1)
|
WalkthroughThis PR migrates the AI Consultant Agent from ExaAI to Tavily as the web research and search provider. The changes span documentation, application configuration, workflow logic, and assets. All references to ExaAI have been systematically replaced with Tavily equivalents, including environment variables (EXA_API_KEY β TAVILY_API_KEY), function names, UI text, and API client implementations. The core functionality remains unchanged; this is purely a service provider swap. New logo assets for both Memori and Tavily have been added to support the updated branding. The API integration in the workflow has been updated to use Tavily's client interface and response structure. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
actor User
participant UI as Streamlit UI
participant EnvVars as Environment Variables
participant SessionState as Session State
participant Memori as Memori Service
participant Tavily as Tavily API
participant OpenAI as OpenAI Client
Note over UI,Tavily: API Key Configuration (Sidebar)
User->>UI: Enter API Keys (OpenAI, Memori, Tavily)
UI->>UI: Load logo assets (Memori, Tavily)
User->>UI: Click "Save API Keys"
alt All keys provided
UI->>EnvVars: Set OPENAI_API_KEY
UI->>EnvVars: Set MEMORI_API_KEY
UI->>EnvVars: Set TAVILY_API_KEY
UI-->>User: β
API keys saved
else Missing keys
UI-->>User: β οΈ Please enter at least one API key
end
Note over UI,OpenAI: Service Initialization
UI->>EnvVars: Get TAVILY_API_KEY
UI->>EnvVars: Get OPENAI_API_KEY
alt Tavily key missing
UI-->>User: β οΈ Please enter Tavily API key
else Tavily key present
UI->>SessionState: Initialize openai_client
UI->>Memori: Initialize Memori v3
Memori-->>SessionState: Store memori_client
end
Note over User,OpenAI: AI Assessment Flow
User->>UI: Enter company profile (name, industry, etc.)
User->>UI: Click "Run Assessment"
UI->>Tavily: Search for case studies & research
Tavily-->>UI: Return web search results
UI->>OpenAI: Generate AI readiness assessment
OpenAI-->>UI: Return assessment markdown
UI->>Memori: Store assessment in memory
UI->>SessionState: Store company_profile
UI->>SessionState: Store assessment_markdown
UI-->>User: Display assessment for company
Note over User,Memori: Q&A with Memory
User->>UI: Ask follow-up question
UI->>Memori: Query with context (company profile)
Memori->>OpenAI: Process with memory context
OpenAI-->>Memori: Generate response
Memori-->>UI: Return answer
UI->>SessionState: Update memory_messages
UI-->>User: Display answer
π 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 migrates the AI Consultant Agent from ExaAI to Tavily as the web research provider.
EXA_API_KEYtoTAVILY_API_KEYthroughout the codebasesearch_ai_case_studies_with_exa()tosearch_ai_case_studies_with_tavily()