Class: Llmemory::Dashboard::GraphController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Llmemory::Dashboard::GraphController
- Defined in:
- app/controllers/llmemory/dashboard/graph_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
6 7 8 9 10 |
# File 'app/controllers/llmemory/dashboard/graph_controller.rb', line 6 def index @user_id = params[:user_id] @nodes = graph_based_storage.list_nodes(@user_id, limit: 200) @edges = graph_based_storage.list_edges(@user_id, limit: 300) end |
#show ⇒ Object
12 13 14 15 |
# File 'app/controllers/llmemory/dashboard/graph_controller.rb', line 12 def show index render :index end |