LLM Query
curl --request POST \
--url https://catalog-api-dev.demo.igvf.org/api/llm-query \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"password": "<string>"
}
'import requests
url = "https://catalog-api-dev.demo.igvf.org/api/llm-query"
payload = {
"query": "<string>",
"password": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({query: '<string>', password: '<string>'})
};
fetch('https://catalog-api-dev.demo.igvf.org/api/llm-query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"query": "<string>",
"answer": "<string>",
"aql": "<string>",
"aql_result": "<array>"
}{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}API Reference
LLM Query
Ask a question that interests you. This API is password protected.
Set verbose = true to retrieve AQL and AQL results.
Example: query = Tell me about the gene SAMD11.
LLM Query
curl --request POST \
--url https://catalog-api-dev.demo.igvf.org/api/llm-query \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"password": "<string>"
}
'import requests
url = "https://catalog-api-dev.demo.igvf.org/api/llm-query"
payload = {
"query": "<string>",
"password": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({query: '<string>', password: '<string>'})
};
fetch('https://catalog-api-dev.demo.igvf.org/api/llm-query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"query": "<string>",
"answer": "<string>",
"aql": "<string>",
"aql_result": "<array>"
}{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}