Perform semantic search across knowledge folders shared with your API key
api.langdock.com with your deployment’s base URL: <deployment-url>/api/publicKNOWLEDGE_FOLDER_API scope. The search is scoped to all knowledge folders shared with the API key. See Share Knowledge Folders with the API for setup instructions.| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The search query to find relevant documents |
result array will be empty. Your application should handle this gracefully.
Use similarity scores - The similarity score ranges from 0 to 1. Higher scores indicate better matches. Consider filtering results below a certain threshold for your use case.
Cite sources - Use the subname and url fields to provide attribution when displaying results to users.