AI Completions
Experience Fusionbase AI: Seamlessly Interact with Every Entity in the Acclaimed Fusionbase Data Hub Through Advanced Chat-Based Contextual Access.
Request Headers
Request Body
Request Samples
import requests
url = "https://api.fusionbase.com/api/v2/chat/completions"
headers = {
"Content-Type": "application/json",
"X-API-KEY": "<YOUR API KEY>"
}
data = {
"model": "fusion-one",
"linked_context": [
{"type": "ORGANIZATION", "id": "35b263b5408bc85899b5a4fab6be5d75"},
{"type": "PERSON", "id": "bc6a357dc563ad838e213ff06e0c1c91"}
],
"messages": [
{"role": "system", "content": "You are an insurance and underwriting expert."},
{"role": "user", "content": "What are potential insurance risks of the given company?"}
]
}
response = requests.post(url, json=data, headers=headers)
print(response.json())Response Structure
Response Sample
Error Handling
Notes
Last updated
Was this helpful?
