Required Instance Methodmacpaw.openai 0.3.6OpenAI
assistants(after:)
OpenAIAsync.swift:25- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
func assistants(after: String?) async throws -> AssistantsResult
func assistants(after: String?) async throws -> AssistantsResult
s6OpenAI0A7AIAsyncP10assistants5afterAA16AssistantsResultVSSSg_tYaKF
What are these?2THXT
import OpenAI
protocol OpenAIAsync
@frozen struct String
A Unicode string value that is a collection of characters.
struct AssistantsResult
func assistantCreate(query: AssistantsQuery) async throws -> AssistantResult
func assistantModify(query: AssistantsQuery, assistantId: String) async throws -> AssistantResult
func assistants() async throws -> AssistantsResult
func audioCreateSpeech(query: AudioSpeechQuery) async throws -> AudioSpeechResult
func audioTranscriptions(query: AudioTranscriptionQuery) async throws -> AudioTranscriptionResult
func audioTranslations(query: AudioTranslationQuery) async throws -> AudioTranslationResult
func chats(query: ChatQuery) async throws -> ChatResult
func chatsStream(query: ChatQuery) -> AsyncThrowingStream<ChatStreamResult, Error>
func embeddings(query: EmbeddingsQuery) async throws -> EmbeddingsResult
func files(query: FilesQuery) async throws -> FilesResult
func imageEdits(query: ImageEditsQuery) async throws -> ImagesResult
func imageVariations(query: ImageVariationsQuery) async throws -> ImagesResult
func images(query: ImagesQuery) async throws -> ImagesResult
func model(query: ModelQuery) async throws -> ModelResult
func models() async throws -> ModelsResult
func moderations(query: ModerationsQuery) async throws -> ModerationsResult
func runRetrieve(threadId: String, runId: String) async throws -> RunResult
func runRetrieveSteps(threadId: String, runId: String) async throws -> RunRetrieveStepsResult
func runRetrieveSteps(threadId: String, runId: String, before: String?) async throws -> RunRetrieveStepsResult
func runSubmitToolOutputs(threadId: String, runId: String, query: RunToolOutputsQuery) async throws -> RunResult
func runs(threadId: String, query: RunsQuery) async throws -> RunResult
func threadRun(query: ThreadRunQuery) async throws -> RunResult
func threads(query: ThreadsQuery) async throws -> ThreadsResult
func threadsAddMessage(threadId: String, query: MessageQuery) async throws -> ThreadAddMessageResult
func threadsMessages(threadId: String) async throws -> ThreadsMessagesResult
func threadsMessages(threadId: String, before: String?) async throws -> ThreadsMessagesResult