# Introduction_tab.py # Gradio UI functions for the Introduction tab # Imports # # External Imports import gradio as gr from App_Function_Libraries.DB.DB_Manager import get_db_config # # Local Imports def create_introduction_tab(): with (gr.TabItem("Introduction")): db_config = get_db_config() db_type = db_config['type'] gr.Markdown(f"# tldw: Your LLM-powered Research Multi-tool (Using {db_type.capitalize()} Database)") with gr.Row(): with gr.Column(): gr.Markdown("""### What can it do? - Transcribe and summarize videos from URLs/Local files - Transcribe and Summarize Audio files/Podcasts (URL/local file) - Summarize articles from URLs/Local notes - Ingest and summarize books(epub/PDF) - Ingest and summarize research papers (PDFs - WIP) - Search and display ingested content + summaries - Create and manage custom prompts - Chat with an LLM of your choice to generate content using the selected item + Prompts - Keyword support for content search and display - Export keywords/items to markdown/CSV(csv is wip) - Import existing notes from Obsidian to the database (Markdown/txt files or a zip containing a collection of files) - View and manage chat history - Writing Tools: Grammar & Style check, Tone Analyzer & Editor, more planned... - RAG (Retrieval-Augmented Generation) support for content generation(think about asking questions about your entire library of items) - More features planned... - All powered by your choice of LLM. - Currently supports: Local-LLM(llamafile-server), OpenAI, Anthropic, Cohere, Groq, DeepSeek, OpenRouter, Llama.cpp, Kobold, Ooba, Tabbyapi, VLLM and more to come... - All data is stored locally in a SQLite database for easy access and management. - No trackers (Gradio has some analytics but it's disabled here...) - No ads, no tracking, no BS. Just you and your content. - Open-source and free to use. Contributions welcome! - If you have any thoughts or feedback, please let me know on github or via email. """) gr.Markdown( """Follow this project at [tl/dw: Too Long, Didn't Watch - Your Personal Research Multi-Tool - GitHub](https://github.com/rmusser01/tldw)""") with gr.Column(): gr.Markdown("""### How to use: ##### Quick Start: Just click on the appropriate tab for what you're trying to do and fill in the required fields. Click "Process