160 lines
4.2 KiB
TypeScript
160 lines
4.2 KiB
TypeScript
import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
|
|
|
|
const sidebar: SidebarsConfig = {
|
|
apisidebar: [
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/hindsight-api",
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Visualization",
|
|
collapsed: false,
|
|
collapsible: false,
|
|
items: [
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/get-graph",
|
|
label: "Get memory graph data",
|
|
className: "api-method get",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Memory Operations",
|
|
collapsed: false,
|
|
collapsible: false,
|
|
items: [
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/list-memories",
|
|
label: "List memory units",
|
|
className: "api-method get",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/search-memories",
|
|
label: "Search memory",
|
|
className: "api-method post",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/batch-put-memories",
|
|
label: "Store multiple memories",
|
|
className: "api-method post",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/batch-put-async",
|
|
label: "Store multiple memories asynchronously",
|
|
className: "api-method post",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/list-operations",
|
|
label: "List async operations",
|
|
className: "api-method get",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/cancel-operation",
|
|
label: "Cancel a pending async operation",
|
|
className: "api-method delete",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Reasoning",
|
|
collapsed: false,
|
|
collapsible: false,
|
|
items: [
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/think",
|
|
label: "Think and generate answer",
|
|
className: "api-method post",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Memory Bank Management",
|
|
collapsed: false,
|
|
collapsible: false,
|
|
items: [
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/list-banks",
|
|
label: "List all memory banks",
|
|
className: "api-method get",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/get-bank-stats",
|
|
label: "Get statistics for memory bank",
|
|
className: "api-method get",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/clear-bank-memories",
|
|
label: "Clear memory bank memories",
|
|
className: "api-method delete",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/get-bank-profile",
|
|
label: "Get memory bank profile",
|
|
className: "api-method get",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/update-bank-personality",
|
|
label: "Update memory bank personality",
|
|
className: "api-method put",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/add-bank-background",
|
|
label: "Add/merge memory bank background",
|
|
className: "api-method post",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/create-or-update-bank",
|
|
label: "Create or update memory bank",
|
|
className: "api-method put",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Documents",
|
|
collapsed: false,
|
|
collapsible: false,
|
|
items: [
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/list-documents",
|
|
label: "List documents",
|
|
className: "api-method get",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/get-document",
|
|
label: "Get document details",
|
|
className: "api-method get",
|
|
},
|
|
{
|
|
type: "doc",
|
|
id: "api-reference/endpoints/delete-document",
|
|
label: "Delete a document",
|
|
className: "api-method delete",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|
|
|
|
export default sidebar.apisidebar;
|