MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / RetrieveRequest

Class RetrieveRequest

bmtools/tools/serve.py:8–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6from pydantic import BaseModel
7
8class RetrieveRequest(BaseModel):
9 query: str
10 topk: int = 3
11
12def _bind_tool_server(t : "ToolServer"):
13 """ Add property API to ToolServer.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected