Get capabilities of available models
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/rag/misc/capabilities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://blackbox.dasha.ai/api/v1/rag/misc/capabilities \
--header 'Authorization: Bearer <token>'import requests
url = "https://blackbox.dasha.ai/api/v1/rag/misc/capabilities"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"embeddings": [
{
"fullName": "<string>"
}
],
"rerankers": [
{
"fullName": "<string>"
}
]
}Get capabilities of available models
GET
/
api
/
v1
/
rag
/
misc
/
capabilities
Get capabilities of available models
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/rag/misc/capabilities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://blackbox.dasha.ai/api/v1/rag/misc/capabilities \
--header 'Authorization: Bearer <token>'import requests
url = "https://blackbox.dasha.ai/api/v1/rag/misc/capabilities"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"embeddings": [
{
"fullName": "<string>"
}
],
"rerankers": [
{
"fullName": "<string>"
}
]
}Was this page helpful?
⌘I