MCPcopy Create free account
hub / github.com/SensAI-PT/RAGMeUp / getDatasets

Function getDatasets

ui/node-react/client/src/api.js:45–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44// Datasets
45export async function getDatasets() {
46 const res = await fetch(`${API_BASE}/datasets`, { headers: getHeaders() });
47 if (!res.ok) throw new Error('Failed to fetch datasets');
48 return res.json();
49}
50
51// Chats
52export async function getChats() {

Callers 1

MainLayout.jsFile · 0.90

Calls 1

getHeadersFunction · 0.85

Tested by

no test coverage detected