-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add streaming API to orchestration #352
base: main
Are you sure you want to change the base?
Conversation
packages/orchestration/src/orchestration-chat-completion-stream.ts
Outdated
Show resolved
Hide resolved
packages/foundation-models/src/azure-openai/azure-openai-embedding-client.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already looks promising. For code reuse, maybe after more finds are gathered, we can look into it again to see if it is worth the effort.
packages/orchestration/src/orchestration-chat-completion-stream-chunk-response.ts
Outdated
Show resolved
Hide resolved
packages/orchestration/src/orchestration-chat-completion-stream-chunk-response.ts
Outdated
Show resolved
Hide resolved
packages/orchestration/src/orchestration-chat-completion-stream.ts
Outdated
Show resolved
Hide resolved
packages/orchestration/src/orchestration-chat-completion-stream.ts
Outdated
Show resolved
Hide resolved
packages/orchestration/src/orchestration-chat-completion-stream.ts
Outdated
Show resolved
Hide resolved
packages/orchestration/src/orchestration-chat-completion-stream-chunk-response.ts
Outdated
Show resolved
Hide resolved
…ation-streaming
packages/orchestration/src/orchestration-chat-completion-stream-chunk-response.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more round
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't get through everything, but some ideas. Also, let's remember to add E2E tests
Side node while I add streaming to our sample code and e2e tests, we should really refactor our server.ts file, lots of duplication and it should be more modularized ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After e2e added
Context
SAP/ai-sdk-js-backlog#161.
This PR adds a streaming API to our orchestration client.
Definition of Done