Skip to content

Add StoryAI core functionality with LARP-centric services and AI-driv…#99

Draft
tbuczen wants to merge 5 commits intomainfrom
us/ai-support
Draft

Add StoryAI core functionality with LARP-centric services and AI-driv…#99
tbuczen wants to merge 5 commits intomainfrom
us/ai-support

Conversation

@tbuczen
Copy link
Owner

@tbuczen tbuczen commented Jan 30, 2026

…en features:

  • Introduced AIAssistantController with endpoints for AI queries, suggestions, and analyses (query, search, story arc suggestions, relationship suggestions, connections, and plot consistency).
  • Added DTO classes (AIQueryResult, ChatMessage) to structure AI interactions and results.
  • Implemented EmbeddingService and ContextBuilder to handle vector embeddings, chunked lore contexts, and AI-ready prompts.
  • Created EmbeddingProviderInterface for abstraction and compatibility with embedding engines.
  • Added IndexLoreDocumentHandler and IndexLoreDocumentMessage for async lore document indexing.
  • Registered PSR-17 factories via http_discovery.yaml for API operations.
  • Enhanced scalability via chunked lore document processing and batch embedding generation.

TomaszB and others added 5 commits January 29, 2026 19:56
…en features:

- Introduced `AIAssistantController` with endpoints for AI queries, suggestions, and analyses (query, search, story arc suggestions, relationship suggestions, connections, and plot consistency).
- Added DTO classes (`AIQueryResult`, `ChatMessage`) to structure AI interactions and results.
- Implemented `EmbeddingService` and `ContextBuilder` to handle vector embeddings, chunked lore contexts, and AI-ready prompts.
- Created `EmbeddingProviderInterface` for abstraction and compatibility with embedding engines.
- Added `IndexLoreDocumentHandler` and `IndexLoreDocumentMessage` for async lore document indexing.
- Registered PSR-17 factories via `http_discovery.yaml` for API operations.
- Enhanced scalability via chunked lore document processing and batch embedding generation.
…re` implementations, setup documentation, and supporting DTO (`VectorDocument`) for AI-powered story management.
…d update `.serena/project.yml` with refined configurations.
…rules, and backend support:

- Built AI Assistant page with chat interface using Stimulus controller and custom styles.
- Added `AIAssistantPageController` for rendering assistant chat view.
- Implemented `AIAssistantVoter` for access control based on LARP participation and roles.
- Created `ai_assistant_controller.js` for managing chat interactions, message history, and API communication.
- Styled AI Assistant components (`_ai_assistant.scss`) for user and assistant messages, typing indicators, and error handling.
- Extended LARP-related templates and security configurations to integrate AI Assistant page.
- Added entities and logic for lore document indexing, embedding integration, and AI-driven functionalities.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant