Spaces:
Sleeping
Sleeping
Omar ID EL MOUMEN
commited on
Commit
·
11fd3b1
1
Parent(s):
94b90e0
Update MCP server
Browse files
server.py
CHANGED
@@ -99,7 +99,7 @@ async def get_document_url(doc_id: str, release: int = None):
|
|
99 |
async def search_specs(keywords: str, limit: int, release: str = None, wg: str = None, spec_type: str = None, mode: str = "and"):
|
100 |
"""
|
101 |
Search 3GPP specifications only by their keywords [note that it will only work with keywords](and some filters [see kwargs field])
|
102 |
-
Arguments available: keywords: string [mandatory, separated by space], limit [mandatory, default = 5], release: string [optional, filter] (
|
103 |
"""
|
104 |
endpoint = DOC3GPPFINDER_BASE + "/search-spec"
|
105 |
data = await post_data_to_api(endpoint, {
|
|
|
99 |
async def search_specs(keywords: str, limit: int, release: str = None, wg: str = None, spec_type: str = None, mode: str = "and"):
|
100 |
"""
|
101 |
Search 3GPP specifications only by their keywords [note that it will only work with keywords](and some filters [see kwargs field])
|
102 |
+
Arguments available: keywords: string [mandatory, separated by space], limit [mandatory, default = 5], release: string [optional, filter] (the release version (e.g. 18, 9, 19, ...), generally the first number of the full version), wg: string [optional, filter] = working group (S1, C4, SP, ...), spec_type: string [optional, filter] (either TS or TR), mode [mandatory, default = 'and'] = search mode (and = all keywords must be in the search, or = at least one keyword in the search)
|
103 |
"""
|
104 |
endpoint = DOC3GPPFINDER_BASE + "/search-spec"
|
105 |
data = await post_data_to_api(endpoint, {
|