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

Feature/finish run api #76

Merged
merged 26 commits into from
Sep 16, 2024
Merged

Feature/finish run api #76

merged 26 commits into from
Sep 16, 2024

Conversation

branislav-burdiliak
Copy link
Collaborator

No description provided.

- add missing parameters - truncation strategy, max parallel calls
- fix model for tool choices by decoupling it from forceable tools. Tool choices for the create run differ from the ForceableTool hierarchy in that their model for functions contains just the name (forceable function tool has also description and parameters)
- provide codecs for ToolChoice, RunTool, and ForceableTools instead of doing an ad-hoc serialization in OpenAIServiceImpl
…create run

The other remaining similar hierachy is MessageAttachmentTool to be used by create thread message
- make tool outputs parameter mandatory
- add stream parameter
branislav-burdiliak and others added 11 commits September 5, 2024 09:43
# Conflicts:
#	openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIServiceImpl.scala
#	openai-core/src/main/scala/io/cequence/openaiscala/JsonFormats.scala
#	openai-core/src/main/scala/io/cequence/openaiscala/domain/ToolSpec.scala
#	openai-core/src/main/scala/io/cequence/openaiscala/service/OpenAIService.scala
#	openai-core/src/main/scala/io/cequence/openaiscala/service/adapter/OpenAIServiceWrapper.scala
#	openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateAssistant.scala
#	openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateRun.scala
#	openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateRunWithCodeInterpretation.scala
#	openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateRunWithFunctionCall.scala
#	openai-examples/src/main/scala/io/cequence/openaiscala/examples/CreateRunWithVectorStore.scala
@bburdiliak bburdiliak marked this pull request as ready for review September 13, 2024 13:18
@peterbanda peterbanda merged commit e9dc04a into master Sep 16, 2024
1 check passed
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.

3 participants