V2
Performs a key-points search using Smart Search v2.
- : Read Permissions
falseThe query to search for.
The maximum number of results to return. Defaults to 5.
5The codename.
deep_searchThe Bosa Token
Successful Response
Validation Error
Register new knowledge base to be use later.
- : Read Permissions
Knowledge Base configurations request schema.
Request model for Knowledge Base configurations from GLChat to Smart Search. Contains a list of Data Store configurations.
Note: This endpoint expects an Authorization Bearer token in the header passed from GLChat.
Attributes: data_store_configs (list[DataStoreConfig]): List of Data Store configurations. name (str): Name of the knowledge base.
Name of the knowledge base
Successful Response
Validation Error
Provide details of knowledge base from given id, limited on only user owned kb
- : Read Permissions
Successful Response
Validation Error
Delete knowledge base from given id, limited on only user owned kb
- : Read Permissions
Successful Response
Validation Error
No content
Attempts to connect to or validate the configuration of the data stores associated with the given Knowledge Base.
- : Read Permissions
Successful Response
Validation Error
No content
Get autosuggest for a given query across all data stores associated with a knowledge base, after validating user access.
- : Read Permissions
The unique identifier (UUID) of the Knowledge Base.
The query string to generate suggestions for.
Maximum number of suggestions to return.
10Successful response containing autocomplete suggestions.
["taman-purbakala-cipari. Berbagai penemuan benda dari zaman","Taman Wisata Alam dan Laut TWA.","taman wisata alam telah menjaga keaslian","taman nasional tertua di Indonesia yang","Taman Jaya yang terletak di Taman","taman wisata alam, menjadikan pantai ini","Taman Nasional Ujung Kulon terdapat hamparan","Taman Nasional Ujung Kulon yang telah","Taman Nasional Ujung Kulon, Situs Warisan","Taman Makam Pahlawan Taruna, Peristirahatan Terakhir","Taman Ismail Marzuki pada November 2024."]Validation Error
Internal Server Error
Get shingles for a given query across all data stores associated with a knowledge base, after validating user access.
- : Read Permissions
The unique identifier (UUID) of the Knowledge Base.
The query string to generate shingles for.
Maximum number of shingles to return.
10Successful response containing shingles.
["taman makam pahlawan taruna peristirahatan","taman nasional ujung kulon terdapat","taman wisata alam","taman jaya","taman nasional ujung","taman makam pahlawan taruna","taman wisata alam telah menjaga","taman purbakala","taman nasional"]Validation Error
Internal Server Error
Search the web for documents or pages relevant to the input query.
Args: get_web_search_results_request: Request containing query and size
Returns: Response with ranked text chunks and associated metadata
- : Read Permissions
falseThe query to search the web for
The type of results to return
snippetsPossible values: The number of results to return
5Successful Response
Validation Error
Search the web for pages relevant to the query and return their URLs.
This tool behaves like a search engine (e.g., Google), returning a list of URLs for a search query. Use when you need a list of URLs relevant to a web search query without fetching the page contents.
Args: request (GetWebSearchUrlsRequest): Parameters containing the search query and result count.
Returns: GetWebSearchUrlsResponse: A list of relevant URLs from web search results.
- : Read Permissions
falseThe query to search the web for
The number of URLs to return
5Successful Response
Validation Error
Map a website to get all URLs.
This tool crawls a website and returns a list of all URLs found on the site.
Args: request (GetWebSearchMapRequest): Parameters containing the base URL and optional filters.
Returns: GetWebSearchMapResponse: A list of URLs from the website.
- : Read Permissions
falseThe base URL of the website to map
Optional search query to filter URLs on the website
Whether to include subdomains in the mapping
trueThe number of results to return
20The page number to return
1Whether to return all mapped links
trueWhether to enable caching. When False, always fetches new data but still updates cache
falseSuccessful Response
Validation Error
Fetch a single web page by URL and return its text, metadata, and optionally HTML content.
Args: get_web_page_request: Request containing URL and HTML flag
Returns: GetWebPageResponse with web page content and metadata
- : Read Permissions
falseThe URL of the web page to fetch
Whether to return the full HTML content of the page
falseSuccessful Response
Validation Error
Given a query and page URL, return the most relevant text fragments without returning the entire page contents.
Args: get_web_page_snippets_request: Request containing query, URL, size, and style
Returns: GetWebPageSnippetsResponse with relevant text snippets
- : Read Permissions
falseThe query to search for within the page
The URL of the web page to extract
The number of snippets to return
5The style of snippet to return
paragraphPossible values: Successful Response
Validation Error
Search the web, fetch page contents, and extract key points from each page. Returns key points from each web search result.
Args: get_web_page_keypoints_request: Request containing query and size
Returns: GetWebPageKeypointsResponse with key points from web search results
- : Read Permissions
falseThe query to search for
The URL of the web page to extract
The number of key points to return
5Successful Response
Validation Error
Connects to a connector. Optionally supports custom BOSA credentials.
- : Read Permissions
The name of the app to connect to
OAuth callback URL where user will be redirected after authentication. Defaults to http://localhost:5000/health-check (configurable via BOSA_DEFAULT_CALLBACK_URL env var).
http://localhost:5000/health-checkSuccessful Response
Validation Error
Disconnects from a connector. Optionally supports custom BOSA credentials.
- : Read Permissions
The name of the app to disconnect from
Successful Response
Validation Error
Searches a connector. Optionally supports custom BOSA credentials.
- : Read Permissions
The name of the app to search
falseThe query to search for
Successful Response
Validation Error
Last updated
