PerplexityStreamChunk
Defined in: backend/src/providers/perplexity.ts:76
Properties
Section titled “Properties”choices
Section titled “choices”choices:
object[]
Defined in: backend/src/providers/perplexity.ts:81
delta:
object
delta.content?
Section titled “delta.content?”
optionalcontent:string
delta.role?
Section titled “delta.role?”
optionalrole:"assistant"
finish_reason
Section titled “finish_reason”finish_reason:
"stop"|"length"|null
index:
number
citations?
Section titled “citations?”
optionalcitations:string[]
Defined in: backend/src/providers/perplexity.ts:89
created
Section titled “created”created:
number
Defined in: backend/src/providers/perplexity.ts:79
id:
string
Defined in: backend/src/providers/perplexity.ts:77
model:
string
Defined in: backend/src/providers/perplexity.ts:80
object
Section titled “object”object:
"chat.completion.chunk"
Defined in: backend/src/providers/perplexity.ts:78