Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,9 @@ public class EmbeddingData
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? AppendTokenName { get; set; }

/// <summary>
/// Whether to enable full screen or not
/// </summary>
public bool FullScreen { get; set; }
}
8 changes: 4 additions & 4 deletions src/Plugins/BotSharp.Plugin.Membase/MembasePlugin.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using BotSharp.Abstraction.Graph;
using BotSharp.Abstraction.Plugins.Models;
using BotSharp.Abstraction.Rules;
using BotSharp.Plugin.Membase.GraphDb;
using BotSharp.Plugin.Membase.Handlers;
using BotSharp.Plugin.Membase.Interfaces;
using Refit;

namespace BotSharp.Plugin.Membase;
Expand All @@ -13,7 +11,7 @@ public class MembasePlugin : IBotSharpPlugin
public string Id => "8df12767-9a44-45d9-93cd-12a10adf3933";
public string Name => "Membase";
public string Description => "Document Database with Graph Traversal & Vector Search.";
public string IconUrl => "https://membase.dev/favicon.png";
public string IconUrl => "https://www.membase.dev/favicon.png";

private string _membaseCredential = string.Empty;
private string _membaseProjectId = string.Empty;
Expand Down Expand Up @@ -56,7 +54,9 @@ public bool AttachMenu(List<PluginMenuDef> menu)
{
Source = "membase",
HtmlTag = "iframe",
Url = $"https://console.membase.dev/query-editor/{_membaseProjectId}?token={_membaseCredential}"
Url = $"https://console.membase.dev/query-editor/{_membaseProjectId}?token={_membaseCredential}",
HtmlStyle = "width: 100%; height: 90%;",
FullScreen = true
}
});
return true;
Expand Down
Loading