LancerLab

NotebookLM Site Search & RTX 3090 Auto Events Calendar for KNUBA Library

⏱️ ~4 min read

For the KNUBA Scientific Library (library.knuba.edu.ua), we deployed two practical n8n AI pipelines: semantic site search powered by NotebookLM without manual vector DB upkeep, and an automated webinar calendar powered by local Mistral 24B (RTX 3090) with Wake-on-LAN orchestration.

Site Search WidgetQuery → n8n WebhookNotebookLM (6 srcs)KNUBA Knowledge BaseCited AI Answer200 OK + 502 fallbackCron / WP ButtonKeenetic WoL → RTX 3090Clarivate • ElsevierBeautifulSoup + Mistral 24BWP Events CalendarDraft/Publish + lms unload
Two AI Pipelines for KNUBA Library: NotebookLM Site Search & RTX 3090 Auto Events Calendar

1. AI Site Search via NotebookLM + n8n

The project for the Scientific Library of Kyiv National University of Construction and Architecture (KNUBA) implemented an AI-based search mechanism using NotebookLM and n8n. This approach allows users to quickly find the required information on the library’s website.

The search process includes several stages:

  • Site search widget: The user enters a query in the site search widget.
  • n8n Webhook: The query is sent to n8n via webhook.
  • JS Validation & Prompt: Query validation and formation.
  • HTTP Request to NotebookLM notebook: If the query is valid, it is sent to the NotebookLM notebook «KNUBA Library — Site Knowledge Base (AI Search)», which processes information from six live web sources: Official Portal, Electronic Resources, Electronic Publications, Events Calendar, Scopus/Elsevier, and Contacts.
  • 502 fallback branch: In case of a 502 error, the system switches to a backup option.
  • JS Response Formatting: Formatting the response for the user.
  • 200 AI Answer: The user receives the final answer from the artificial intelligence.

The main advantage of this approach is that librarians can update website pages without needing to manually maintain a vector database. NotebookLM automatically synchronizes with new changes and citations.

2. Automatic Event Synchronization

To automate the updating of the events calendar, we used n8n, the local model Mistral 24B, and Wake-on-LAN. This process includes several key stages:

  • Triggers: The process starts on a schedule (Mondays and Thursdays at 08:00) or manually via the «Run event search now» button in the WordPress admin panel (POST /webhook/knuba-events-sync with X-Knuba-Sync-Secret).
  • Hardware orchestration: The system checks the status of device 192.168.1.63; if it is sleeping, it activates RTX 3090 via Keenetic Wake-on-LAN, starts LM Studio, and loads the model mistral-small-24b-instruct-2501 through SSH.
  • WordPress integration: The system retrieves settings from GET /wp-json/knuba/v1/events-settings, including autopublishing parameters (drafts for moderation or direct publishing) and a dynamic list of sources (Clarivate Ukraine, Elsevier Ukraine, DNTB Ukraine).
  • Extraction & guardrails: BeautifulSoup cleans the HTML markup, preserving links [LINK: href]. The local model Mistral 24B extracts future events (date >= today), translates event names into Ukrainian, preserving brand names (Scopus, SciVal, Web of Science, InCites), converts the time zone to Kyiv time (EET/EEST), validates JSON, removes duplicates from existing library_event posts, and creates new posts. After completing the process, a summary message is sent via Telegram.

This mechanism ensures automatic updating of the events calendar, significantly simplifying the work of librarians and ensuring the relevance of information for users.

3. Conclusion

The implementation of AI Site Search and Automatic Events Calendar Sync for KNUBA Scientific Library demonstrates how artificial intelligence can significantly improve the efficiency of library operations. By using NotebookLM, n8n, the local model Mistral 24B, and Wake-on-LAN, we created an intelligent and automated system that provides users with up-to-date information and reduces the workload on librarians.

More from the Lab
← Zero-Restart C# Hot-Reload in Unity/Mono: Shipping 15 Live Patches Inside a Running GameVectoSound Studio v0.2.0: Local AI Audio X-Ray, AudioBrick Constructor & Steam Release on RTX 3090 →

Комментарии

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *