airweave-mcp-search 0.5.7 โ 0.5.9
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.
- package/README.md +16 -45
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,35 +14,6 @@ An MCP (Model Context Protocol) server that provides comprehensive search capabi
|
|
|
14
14
|
- ๐งช **Comprehensive Testing**: Full test suite with LLM testing strategy
|
|
15
15
|
- ๐๏ธ **Simple Architecture**: Clean, maintainable code structure without over-engineering
|
|
16
16
|
|
|
17
|
-
## Version History
|
|
18
|
-
|
|
19
|
-
### v2.1.0 - Advanced Search Features
|
|
20
|
-
|
|
21
|
-
๐ **New advanced search capabilities:**
|
|
22
|
-
|
|
23
|
-
- **Advanced Parameters**: Added `score_threshold`, `search_method`, `expansion_strategy`, `enable_reranking`, `enable_query_interpretation`
|
|
24
|
-
- **Smart Endpoint Selection**: Automatically uses POST endpoint for advanced features, GET for basic search
|
|
25
|
-
- **Enhanced AI Integration**: Better parameter extraction from natural language queries
|
|
26
|
-
- **Comprehensive Testing**: Full test suite including LLM simulation tests
|
|
27
|
-
|
|
28
|
-
### v2.0.0 - Enhanced Search Parameters
|
|
29
|
-
|
|
30
|
-
โ ๏ธ **Major version update with breaking changes:**
|
|
31
|
-
|
|
32
|
-
- **Parameter Structure**: The search tool now uses an object-based parameter structure instead of positional arguments
|
|
33
|
-
- **New Parameters**: Added `limit`, `offset`, and `recency_bias` parameters
|
|
34
|
-
- **Enhanced Validation**: Improved parameter validation with detailed error messages
|
|
35
|
-
- **Version Bump**: Updated from v1.0.7 to v2.0.0
|
|
36
|
-
|
|
37
|
-
**Migration Guide:**
|
|
38
|
-
```typescript
|
|
39
|
-
// Old format (v1.0.7)
|
|
40
|
-
search("customer feedback", "raw")
|
|
41
|
-
|
|
42
|
-
// New format (v2.0.0+)
|
|
43
|
-
search({ query: "customer feedback", response_type: "raw" })
|
|
44
|
-
```
|
|
45
|
-
|
|
46
17
|
## Quick Start
|
|
47
18
|
|
|
48
19
|
### Installation from npm
|
|
@@ -153,43 +124,43 @@ Searches within the configured Airweave collection with full parameter control.
|
|
|
153
124
|
search({ query: "customer feedback about pricing" })
|
|
154
125
|
|
|
155
126
|
// Search with AI completion
|
|
156
|
-
search({
|
|
157
|
-
query: "billing issues",
|
|
158
|
-
response_type: "completion"
|
|
127
|
+
search({
|
|
128
|
+
query: "billing issues",
|
|
129
|
+
response_type: "completion"
|
|
159
130
|
})
|
|
160
131
|
|
|
161
132
|
// Paginated search
|
|
162
|
-
search({
|
|
163
|
-
query: "API documentation",
|
|
164
|
-
limit: 10,
|
|
165
|
-
offset: 20
|
|
133
|
+
search({
|
|
134
|
+
query: "API documentation",
|
|
135
|
+
limit: 10,
|
|
136
|
+
offset: 20
|
|
166
137
|
})
|
|
167
138
|
|
|
168
139
|
// Recent results with recency bias
|
|
169
|
-
search({
|
|
170
|
-
query: "customer complaints",
|
|
171
|
-
recency_bias: 0.8
|
|
140
|
+
search({
|
|
141
|
+
query: "customer complaints",
|
|
142
|
+
recency_bias: 0.8
|
|
172
143
|
})
|
|
173
144
|
|
|
174
145
|
// Advanced search with high-quality results
|
|
175
|
-
search({
|
|
176
|
-
query: "customer complaints",
|
|
146
|
+
search({
|
|
147
|
+
query: "customer complaints",
|
|
177
148
|
score_threshold: 0.8,
|
|
178
149
|
search_method: "neural",
|
|
179
150
|
enable_reranking: true
|
|
180
151
|
})
|
|
181
152
|
|
|
182
153
|
// Fast keyword search without expansion
|
|
183
|
-
search({
|
|
184
|
-
query: "API documentation",
|
|
154
|
+
search({
|
|
155
|
+
query: "API documentation",
|
|
185
156
|
search_method: "keyword",
|
|
186
157
|
expansion_strategy: "no_expansion",
|
|
187
158
|
enable_reranking: false
|
|
188
159
|
})
|
|
189
160
|
|
|
190
161
|
// Full parameter search
|
|
191
|
-
search({
|
|
192
|
-
query: "support tickets",
|
|
162
|
+
search({
|
|
163
|
+
query: "support tickets",
|
|
193
164
|
response_type: "completion",
|
|
194
165
|
limit: 5,
|
|
195
166
|
offset: 0,
|