-
Notifications
You must be signed in to change notification settings - Fork 358
Update paging APIs to use updated SCM types #105
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
Merged
joseharriaga
merged 75 commits into
openai:main
from
annelo-msft:oai-pageenumerator-pattern
Jul 23, 2024
Merged
Changes from all commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
f4ab277
Add project reference to SCM; move to new paging types
annelo-msft 38dd09d
wire return values and stub out implementations
annelo-msft 17c4078
update page collection to use new page token contract
annelo-msft 9cf0447
Update tests and samples
annelo-msft 7679061
fix page token serialization logic
annelo-msft 6acd48b
add async page collections
annelo-msft 6327af6
Add rehydration overload
annelo-msft e0c14eb
Add async rehydration overload
annelo-msft 2d46435
backup WIP on generalized implementation
annelo-msft bae625a
backup WIP on generalized implementation
annelo-msft 03e17b6
remove Assistant-specific page collection implementations in favor of…
annelo-msft 1f150ea
remove Assistant-specific page collection implementations in favor of…
annelo-msft 6ba8dbd
Backup of generalized protocol paging idea
annelo-msft 7c1f74d
remove Assistant-specific page result enumerator implementations in f…
annelo-msft bc2004e
take BinaryData instead of ClientToken, which cannot be constructed a…
annelo-msft 6138636
rework rehydration methods to use new ClientToken pattern
annelo-msft bae34b9
add test for rehydration method
annelo-msft 5283bc5
add a second test for rehydration method
annelo-msft e0305ea
SCM renames
annelo-msft 64bea2b
updates from mini pr review
annelo-msft ea8db96
rework RequestOptions
annelo-msft bcfed80
bug fix
annelo-msft e365566
GetPageCore
annelo-msft 1ed51af
backup of initial thinking on operation-specific page token idea
annelo-msft 2ad6dc1
extend operation-specific page token idea to protocol methods
annelo-msft 5b236a6
rename ClientToken to ContinuationToken
annelo-msft 444bee0
nits: tidy
annelo-msft 0060d5f
add test to illustrate convenience/protocol interop
annelo-msft 0aca908
updates based on feedback from Krzysztof
annelo-msft c4a8a63
add protocol implementations of all Assistant-related paged methods
annelo-msft 4a9d6af
add convenience implementations of Assistant-related paged methods
annelo-msft f91969f
move to CurrentPageToken instead of FirstPageToken
annelo-msft 90eed11
starting idea around client as enumerator; backing up
annelo-msft 313753e
more backup
annelo-msft a8e17e3
tidy up before taking inventory
annelo-msft c5261d1
backup prior to attempt to converge around single internal collection…
annelo-msft 9c05fc2
more refining
annelo-msft 209b71d
implement interface explicitly
annelo-msft b0d5f04
more tidy
annelo-msft c5b568d
Make it work for async
annelo-msft e07fb0b
restructure to look more like mini-client
annelo-msft f3c5e96
simplify
annelo-msft 8b762e2
more nits and simplify
annelo-msft 7cd2e92
nits
annelo-msft 67d70fa
renames and a little rework
annelo-msft daab108
move page tokens
annelo-msft 818b6bd
Implement remaining Assistants endpoings
annelo-msft 34264b5
Implement vector store paginated endpoints
annelo-msft 74e8b34
follow-ups to convenience and tests for vector stores
annelo-msft 827cf2b
bug fix
annelo-msft 891ccf5
temp bug fix
annelo-msft b15bd18
Proof of concept of PageEnumerator pattern for MessageCollection
annelo-msft 34175dc
Refactor to PageEnumerator pattern
annelo-msft 4a175d8
bug fix
annelo-msft 8656f12
nit
annelo-msft 4d2bf33
updates from SCM polish work
annelo-msft f068567
Merge remote-tracking branch 'upstream/main' into oai-pageenumerator-…
annelo-msft 4008584
move to SCM beta.5 package
annelo-msft 2e97ef7
move over update for protocol-convenience cast
annelo-msft 1ee0486
some fixes
annelo-msft 4ce3888
updates from SCM code
annelo-msft 0622853
fix tests
annelo-msft e492b7c
remove internal protocol method implementations that have moved to in…
annelo-msft f811de1
nits
annelo-msft e7e3de7
add refdocs for paginated endpoint service methods
annelo-msft 88319b8
add refdocs for options types
annelo-msft 7118d13
add refdocs for collection rehydration overloads
annelo-msft e275801
add test and fix bugs
annelo-msft 8d66ade
add a test for vector store
annelo-msft 6c637c7
Merge remote-tracking branch 'upstream/main' into oai-pageenumerator-…
annelo-msft 8468c20
move files To.Be.Generated -> Custom
annelo-msft 6a4e01d
address PR FB for examples
annelo-msft 0a2d6f5
remove unused helper methods
annelo-msft 9cc424a
Merge remote-tracking branch 'upstream/main' into oai-pageenumerator-…
annelo-msft a09c1f3
fix merge issue
annelo-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.