-
Notifications
You must be signed in to change notification settings - Fork 343
Closed
Labels
bugCategory: Something isn't working and appears to be a defect in the client library.Category: Something isn't working and appears to be a defect in the client library.issue-addressedWorkflow: The OpenAI maintainers believe the issue to be addressed and ready to close.Workflow: The OpenAI maintainers believe the issue to be addressed and ready to close.
Description
Service
OpenAI
Describe the bug
Should this method have been public rather than internal in V2.0.0?
/// <summary>
/// Gets an instance representing an existing <see cref="VectorStore"/> based on its ID.
/// </summary>
/// <param name="vectorStoreId"> The ID of the vector store to retrieve. </param>
/// <param name="cancellationToken"> A token that can be used to cancel this method call. </param>
/// <returns> A representation of an existing <see cref="VectorStore"/>. </returns>
internal virtual async Task<ClientResult<VectorStore>> GetVectorStoreAsync(string vectorStoreId, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId));
ClientResult result
= await GetVectorStoreAsync(vectorStoreId, cancellationToken.ToRequestOptions()).ConfigureAwait(false);
return ClientResult.FromValue(
VectorStore.FromResponse(result.GetRawResponse()), result.GetRawResponse());
}
```
### Steps to reproduce
There is no GetVectorStoreAsync available, only GetVectorStore, Im wondering if this was intentional or not?
Im updating from 2.0.0-beta.7 to 2.0.0
### Code snippets
_No response_
### OS
winOS
### .NET version
.net 8
### Library version
2.0.0
Metadata
Metadata
Assignees
Labels
bugCategory: Something isn't working and appears to be a defect in the client library.Category: Something isn't working and appears to be a defect in the client library.issue-addressedWorkflow: The OpenAI maintainers believe the issue to be addressed and ready to close.Workflow: The OpenAI maintainers believe the issue to be addressed and ready to close.