MCPcopy Create free account
hub / github.com/code100x/daily-code / createCollection

Function createCollection

apps/web/lib/search.ts:50–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50export async function createCollection(){
51 await client.createCollection("DailyCode",{
52 vectors:{ size: VECTOR_SIZE , distance: "Dot" },
53 });
54}
55
56export async function insertData(trackId: string) {
57 const data = await scrapeData({ trackId });

Callers 1

handlecreateCollectionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected