from meibel import MeibelClient
client = MeibelClient(api_key="your-api-key")
# Create request body
body = ChatWithDatasourceRequest(name="Example")
result = client.datasources.chat_with(body=body)
print(result){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Ask a question against one or more datasources. Returns a streaming SSE response with the AI-generated answer.
from meibel import MeibelClient
client = MeibelClient(api_key="your-api-key")
# Create request body
body = ChatWithDatasourceRequest(name="Example")
result = client.datasources.chat_with(body=body)
print(result){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.meibel.ai/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?