Represents a chat completion response returned by model, based on the provided input.
NameidTypestringDescription
A unique identifier for the chat completion.
NameobjectTypestringDescription
The object type, which is always search.completion.
NamecreatedTypestringDescription
A unix timestamp of when the chat completion was created.
NamechoicesTypearrayDescription
A list of chat completion choices. Can be more than one if n is greater than 1.
Namechoices[].indexTypeintegerDescription
The index of the choice in the list of choices.
Namechoices[].messageTypeobjectDescription
A chat completion message generated by the model.
Namechoices[].message.roleTypestringDescription
The role of the author of this message.
Namechoices[].message.contentTypestring or nullDescription
The contents of the message.
Namechoices[].finish_reasonTypestringDescription
The reason the model stopped generating tokens. This will be stop if the model hit a natural stop point or a provided stop sequence, length if the maximum number of tokens specified in the request was reached.
The search completion object
{
"id": "d8b98fe4adb740d0a520e7bad7edb422",
"object": "search.completion",
"created": 1692156414,
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Apple Vision Pro is an upcoming mixed-reality headset developed by Apple Inc. It was announced on June 5, 2023, at Apple's Worldwide Developers Conference. The headset is designed to bring a new dimension to powerful, personal computing by changing the way users interact with their favorite apps, capture and create content, and experience immersive digital environments³.\n\n\n\nHere are some key features and specifications of the Apple Vision Pro:\n\n1. CPU: It is powered by the Apple M2 and R1 processors¹.\n2. Graphics: The headset features the Apple M2 (10 cores) processor running at 3.5 GHz, capable of delivering up to 3.6 TFLOPS of graphics performance¹.\n3. Input: The Apple Vision Pro incorporates 6DoF inside-out tracking, photogrammetry, and gesture recognition through 12 built-in cameras and lidar¹.\n4. Operating System: The headset runs on visionOS, which is an iOS-based operating system¹.\n5. Price: The introductory price for the Apple Vision Pro is set at US$3,499¹.\n6. Manufacturer: The manufacturing of the Apple Vision Pro is handled by Luxshare, an Apple supplier¹.\n\nThe Apple Vision Pro aims to provide users with a seamless blend of the real and digital world, enabling them to experience spatial computing like never before. It is expected to be available for purchase in the United States in early 2024 and later in other regions¹.\n\nI hope this information gives you a good understanding of Apple Vision Pro. Let me know if there's anything else you would like to know! 😊"
},
"finish_reason": "stop"
}
],
}
Represents a streamed chunk of a search completion response returned by model, based on the provided input.
NameidTypestringDescription
A unique identifier for the chat completion.
NameobjectTypestringDescription
The object type, which is always search.completion.
NamecreatedTypestringDescription
A unix timestamp of when the chat completion was created.
NamechoicesTypearrayDescription
A list of chat completion choices. Can be more than one if n is greater than 1.
Namechoices[].indexTypeintegerDescription
The index of the choice in the list of choices.
Namechoices[].deltaTypeobjectDescription
A chat completion delta generated by streamed model responses.
Namechoices[].delta.roleTypestringDescription
The role of the author of this message.
Namechoices[].delta.contentTypestring or nullDescription
The contents of the chunk message.
Namechoices[].finish_reasonTypestring or nullDescription
The reason the model stopped generating tokens. This will be stop if the model hit a natural stop point or a provided stop sequence, length if the maximum number of tokens specified in the request was reached.
Creates a model response for the given search conversation.
POST https://api.Slier.ai/v1/search/completions
POST https://api.Slier.ai/v2/search/completions
Available parameters
messages array Required A list of messages comprising the conversation so far.
role string Required
The role of the messages author. One of system, user or assistant.
content string Required
The contents of the message. content is required for all messages.
stream boolean or null Optional Defaults to false If set, partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message.
{
"id": "d8b98fe4adb740d0a520e7bad7edb422",
"object": "search.completion",
"created": 1692156414,
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Apple Vision Pro is an upcoming mixed-reality headset developed by Apple Inc. It was announced on June 5, 2023, at Apple's Worldwide Developers Conference. The headset is designed to bring a new dimension to powerful, personal computing by changing the way users interact with their favorite apps, capture and create content, and experience immersive digital environments³.\n\n\n\nHere are some key features and specifications of the Apple Vision Pro:\n\n1. CPU: It is powered by the Apple M2 and R1 processors¹.\n2. Graphics: The headset features the Apple M2 (10 cores) processor running at 3.5 GHz, capable of delivering up to 3.6 TFLOPS of graphics performance¹.\n3. Input: The Apple Vision Pro incorporates 6DoF inside-out tracking, photogrammetry, and gesture recognition through 12 built-in cameras and lidar¹.\n4. Operating System: The headset runs on visionOS, which is an iOS-based operating system¹.\n5. Price: The introductory price for the Apple Vision Pro is set at US$3,499¹.\n6. Manufacturer: The manufacturing of the Apple Vision Pro is handled by Luxshare, an Apple supplier¹.\n\nThe Apple Vision Pro aims to provide users with a seamless blend of the real and digital world, enabling them to experience spatial computing like never before. It is expected to be available for purchase in the United States in early 2024 and later in other regions¹.\n\nI hope this information gives you a good understanding of Apple Vision Pro. Let me know if there's anything else you would like to know! 😊"
},
"finish_reason": "stop"
}
]
}
Contents Filtered
{
"error": {
"message": "This content may violate our content policy, please check https://Slier.ai/terms to learn more. If you believe this to be in error, please contact us at safety@Slier.ai to keep our systems safe and available.",
"param": "prompt",
"reason": "content_filter",
"status": 400
}
}