Commit ffc6dde1 authored by Ryan Olson's avatar Ryan Olson Committed by GitHub
Browse files

feat: OpenAI compatible http service (#123)


Signed-off-by: default avatarRyan Olson <ryanolson@users.noreply.github.com>
Co-authored-by: default avatarRyan McCormick <rmccormick@nvidia.com>
Co-authored-by: default avatarNeelay Shah <neelays@nvidia.com>
parent 9d6643b7
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
data: {"id":"chat-06857e1c859247c38a73fdb559b8dfdb","object":"chat.completion.chunk","created":1728365454,"model":"meta/llama-3.1-8b-instruct","choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}]}
data: {"foo":"chat-06857e1c859247c38a73fdb559b8dfdb","bar":"chat.completion.chunk","baz":1728365454,"barf":"meta/llama-3.1-8b-instruct","bonk":[{"index":0,"delta":{"role":null,"content":"Deep"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chat-06857e1c859247c38a73fdb559b8dfdb","object":"chat.completion.chunk","created":1728365454,"model":"meta/llama-3.1-8b-instruct","choices":[{"index":0,"delta":{"role":null,"content":" learning"},"logprobs":null,"finish_reason":null}]}
data: [DATA]
data: {"id":"chat-06857e1c859247c38a73fdb559b8dfdb","object":"chat.completion.chunk","created":1728365454,"model":"meta/llama-3.1-8b-instruct","choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}]}
data: {"id":"chat-06857e1c859247c38a73fdb559b8dfdb","object":"chat.completion.chunk","created":1728365454,"model":"meta/llama-3.1-8b-instruct","choices":[{"index":0,"delta":{"role":null,"content":"Deep"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chat-06857e1c859247c38a73fdb559b8dfdb","object":"chat.completion.chunk","created":1728365454,"model":"meta/llama-3.1-8b-instruct","choices":[{"index":0,"delta":{"role":null,"content":" learning"},"logprobs":null,"finish_reason":null}]}
data: [DATA]
: comment before
data: {"id":"chat-06857e1c859247c38a73fdb559b8dfdb","object":"chat.completion.chunk","created":1728365454,"model":"meta/llama-3.1-8b-instruct","choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}]}
: comment after
data: {"id":"chat-06857e1c859247c38a73fdb559b8dfdb","object":"chat.completion.chunk","created":1728365454,"model":"meta/llama-3.1-8b-instruct","choices":[{"index":0,"delta":{"role":null,"content":"Deep"},"logprobs":null,"finish_reason":null}]}
: just after
: just before
data: {"id":"chat-06857e1c859247c38a73fdb559b8dfdb","object":"chat.completion.chunk","created":1728365454,"model":"meta/llama-3.1-8b-instruct","choices":[{"index":0,"delta":{"role":null,"content":" learning"},"logprobs":null,"finish_reason":null}]}
data: [DONE]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment