"""AI research setup component for the API key manager."""
import streamlit as st
from loguru import logger
from typing import Dict, Any
from ..manager import APIKeyManager
from .base import render_navigation_buttons
import os
from dotenv import load_dotenv
import sys
# Configure logger
logger.remove() # Remove default handler
logger.add(
"logs/ai_research_setup.log",
rotation="500 MB",
retention="10 days",
level="DEBUG",
format="{time:YYYY-MM-DD HH:mm:ss} | {level} | {message}"
)
logger.add(
sys.stdout,
level="INFO",
format="
Configure your AI research providers for content analysis and research
Step-by-step guide:
Note: SerpAPI provides real-time search results from multiple engines.
Step-by-step guide:
Note: Firecrawl provides powerful web content extraction and analysis capabilities.
Step-by-step guide:
Note: Tavily provides AI-powered semantic search capabilities.
Step-by-step guide:
Note: Metaphor/Exa provides neural search capabilities for deep research.
Microsoft's powerful search API with web, news, and image search capabilities.
Google's programmable search engine with customizable search parameters.
These integrations are under development and will be available soon!