Filtering Query
This section provides a detailed guide to the filter expression syntax, a lightweight query language for filtering data.
Simple Query
import os, requests
url = "https://api.activeloop.ai/chat/completions"
token = os.environ["ACTIVELOOP_TOKEN"]
headers = {'Authorization': f'Bearer {token}'}
payload = {
"model": "activeloop-l0",
"messages": [
{
"role": "user",
"content": "What is logic?",
}
]
}
response = requests.post(url, headers=headers, json=payload)
# Print the response
print(response.json())Retrieving top K elements without Reasoning
Getting answer from Hegel
Getting answer from other authors
Last updated

