mbd-studio-sdk 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +10 -2
package/README.md CHANGED
@@ -19,13 +19,13 @@ const mbd = new StudioV1({ config });
19
19
 
20
20
  ## Usage
21
21
 
22
- ### 1. Set the target user for personalization
22
+ ### Set the target user for personalization
23
23
  ```javascript
24
24
  const polymarketWallet = '0x123...';
25
25
  mbd.forUser("polymarket-wallets", polymarketWallet);
26
26
  ```
27
27
 
28
- ### 2. Generate candidates
28
+ ### Generate candidates
29
29
 
30
30
  Search your mbd indices using inclide/exclude filters and boosting options.
31
31
 
@@ -44,7 +44,7 @@ const candidates = await mbd.search()
44
44
  .execute();
45
45
  ```
46
46
 
47
- ### 2. Add candidates to current context
47
+ ### Add candidates to current context
48
48
 
49
49
  Attach the search results to the SDK so later steps can use them.
50
50
 
@@ -52,7 +52,7 @@ Attach the search results to the SDK so later steps can use them.
52
52
  mbd.addCandidates(candidates);
53
53
  ```
54
54
 
55
- ### 3. Enrich your data
55
+ ### Enrich your data
56
56
 
57
57
  Fetch features (signals, metadata) for each candidate.
58
58
 
@@ -62,7 +62,7 @@ const features = await mbd.features("v1")
62
62
  mbd.addFeatures(features);
63
63
  ```
64
64
 
65
- ### 4. Run predictive and reranking AI models
65
+ ### Run predictive and reranking AI models
66
66
 
67
67
  Score candidates with ML models for relevance or reranking.
68
68
 
@@ -73,7 +73,7 @@ const scores = await mbd.scoring()
73
73
  mbd.addScores(scores, "rerank_polymkt1");
74
74
  ```
75
75
 
76
- ### 5. Combine all the data into final recommendations
76
+ ### Combine all the data into final recommendations
77
77
 
78
78
  Merge signals and produce the final ranked list with diversity and limits.
79
79
 
package/package.json CHANGED
@@ -1,7 +1,15 @@
1
1
  {
2
2
  "name": "mbd-studio-sdk",
3
- "version": "3.3.0",
4
- "description": "SDK for MBD Studio backend services",
3
+ "version": "3.4.0",
4
+ "description": "SDK for Embed Recommendation Engine APIs",
5
+ "keywords": [
6
+ "web3",
7
+ "AI",
8
+ "recommendations",
9
+ "polymarket",
10
+ "farcaster",
11
+ "zora"
12
+ ],
5
13
  "type": "module",
6
14
  "main": "index.js",
7
15
  "exports": {