Skip to content
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

Enable Assistants Streaming #707

Merged
merged 46 commits into from
Apr 3, 2024
Merged

Enable Assistants Streaming #707

merged 46 commits into from
Apr 3, 2024

Conversation

raulraja
Copy link
Contributor

@raulraja raulraja commented Mar 28, 2024

Enable assistant message deltas and streaming for other endpoints based on https://platform.openai.com/docs/api-reference/assistants-streaming

nomisRev and others added 30 commits March 21, 2024 14:19
…ient

# Conflicts:
#	evaluator-example/src/main/kotlin/com/xebia/functional/xef/evaluator/examples/TestExample.kt
nomisRev
nomisRev previously approved these changes Mar 28, 2024
Base automatically changed from simon-client to main April 1, 2024 15:04
@raulraja raulraja dismissed nomisRev’s stale review April 1, 2024 15:04

The base branch was changed.

…ts-streaming-events

# Conflicts:
#	core/src/commonMain/kotlin/com/xebia/functional/xef/AI.kt
#	core/src/commonMain/kotlin/com/xebia/functional/xef/Config.kt
#	core/src/commonMain/kotlin/com/xebia/functional/xef/llm/assistants/AssistantThread.kt
#	examples/src/main/kotlin/com/xebia/functional/xef/assistants/DSL.kt
#	examples/src/main/kotlin/com/xebia/functional/xef/assistants/LoadFromYamlConfig.kt
#	examples/src/main/kotlin/com/xebia/functional/xef/conversation/streaming/SpaceCraft.kt
#	examples/src/main/kotlin/com/xebia/functional/xef/dsl/chat/Classes.kt
#	examples/src/main/kotlin/com/xebia/functional/xef/dsl/images/ImagesExamples.kt
#	examples/src/main/resources/logback.xml
#	integrations/opentelemetry/src/main/kotlin/com/xebia/functional/xef/opentelemetry/OpenTelemetryAssistantState.kt
#	openai-client/client/build.gradle.kts
#	openai-client/client/src/commonMain/kotlin/com/xebia/functional/openai/StreamingOps.kt
#	openai-client/generator/config/model_oneof.mustache
#	openai-client/generator/src/main/java/ai/xef/openai/generator/KMMGeneratorConfig.java
nomisRev
nomisRev previously approved these changes Apr 2, 2024
Copy link
Contributor

@nomisRev nomisRev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @raulraja. Only couple of nits, but they can be addressed afterwards.

Copy link
Contributor

@javipacheco javipacheco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 LGTM!

I have tested this PR locally and everything works as expected

@raulraja raulraja merged commit 75bf824 into main Apr 3, 2024
6 checks passed
@raulraja raulraja deleted the assistants-streaming-events branch April 3, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants