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

Add RunRequest field AdditionalInstructions #656

Conversation

chrbsg
Copy link
Contributor

@chrbsg chrbsg commented Feb 6, 2024

Describe the change
AdditionalInstructions is an optional string field used to append additional instructions at the end of the instructions for the run. This is useful for modifying the behavior on a per-run basis without overriding other instructions.

Provide OpenAI documentation link
https://platform.openai.com/docs/api-reference/runs/createRun#runs-createrun-additional_instructions

run.go Outdated Show resolved Hide resolved
@sashabaranov
Copy link
Owner

@chrbsg please rebase your PR, I've just fixed all the linter warnings

Copy link

codecov bot commented Feb 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (11ad4b6) 98.44% compared to head (67644db) 98.44%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #656   +/-   ##
=======================================
  Coverage   98.44%   98.44%           
=======================================
  Files          24       24           
  Lines        1347     1347           
=======================================
  Hits         1326     1326           
  Misses         15       15           
  Partials        6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

AdditionalInstructions is an optional string field used to append
additional instructions at the end of the instructions for the run. This
is useful for modifying the behavior on a per-run basis without
overriding other instructions.

Also, change the Model and Instructions *string fields to string.
@chrbsg chrbsg force-pushed the support-assistant-run-additional-instructions branch from 387b610 to 67644db Compare February 15, 2024 13:27
@chrbsg
Copy link
Contributor Author

chrbsg commented Feb 15, 2024

@chrbsg please rebase your PR, I've just fixed all the linter warnings

Done.

@sashabaranov sashabaranov merged commit ff61bbb into sashabaranov:master Feb 15, 2024
3 checks passed
grulex pushed a commit to grulex/go-openai that referenced this pull request Mar 15, 2024
AdditionalInstructions is an optional string field used to append
additional instructions at the end of the instructions for the run. This
is useful for modifying the behavior on a per-run basis without
overriding other instructions.

Also, change the Model and Instructions *string fields to string.
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.

2 participants