Made changes to Getting started with ALwrity and added lot of details on API keys

This commit is contained in:
ajaysi
2025-04-01 13:11:40 +05:30
parent aa66fbe585
commit 611fbd51a3
11 changed files with 1241 additions and 194 deletions

View File

@@ -8,13 +8,11 @@ from typing import Dict, Any
from ..manager import APIKeyManager
from ....web_crawlers.async_web_crawler import AsyncWebCrawlerService
from ....personalization.style_analyzer import StyleAnalyzer
from lib.utils.style_utils import (
get_test_config_styles,
from pages.style_utils import (
get_analysis_section,
get_glass_container,
get_info_section,
get_example_box,
get_analysis_section,
get_style_guide_html
get_example_box
)
from .base import render_navigation_buttons
from .alwrity_integrations import render_alwrity_integrations
@@ -620,7 +618,7 @@ def render_personalization_setup(api_key_manager: APIKeyManager) -> Dict[str, An
st.warning("Please provide either a website URL or content samples")
with col2:
st.markdown(get_glass_container("""
st.markdown("""
### How ALwrity Discovers Your Style
**AI-Powered Style Analysis**
@@ -653,15 +651,10 @@ def render_personalization_setup(api_key_manager: APIKeyManager) -> Dict[str, An
- Maintain consistency across all content
- Optimize for your target audience
- Ensure brand voice alignment
"""))
""")
# API Configuration Form
st.markdown(get_glass_container("""
### API Configuration
Configure your API settings for optimal content generation.
"""))
st.markdown("### API Configuration")
with st.form("ai_config_form"):
# API Keys
st.text_input("OpenAI API Key", type="password", key="openai_key")