Generic Prediction
Send a prediction payload directly to a custom or fine-tuned model using the Knowledgator Python SDK.
Example Usage
from knowledgator import Knowledgator
kg = Knowledgator(api_key="YOUR_API_KEY")
# Initialize the model client with model ID
model = kg.model("your-model-id")
# Send prediction request
response = model.predict({
"input": "text to process"
})
print(response)