Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coze-dev/coze-go
/ functions
Functions
756 in github.com/coze-dev/coze-go
⨍
Functions
756
◇
Types & classes
542
Function
main
This examples demonstrates how to get response log ID from different API calls.
examples/client/log/main.go:12
Function
main
This examples demonstrates how to handle different types of errors from the Coze API.
examples/client/error/main.go:12
Function
main
()
examples/folders/retrieve/main.go:12
Function
main
()
examples/folders/list/main.go:12
Function
main
()
examples/files/main.go:12
Function
main
()
examples/stores/plugins/list/main.go:12
Function
main
This examples is about how to use the device oauth process to acquire user authorization. Firstly, users need to access https://www.coze.com/open/oau
examples/auth/device_oauth/main.go:21
Function
main
How to effectuate OpenAPI authorization through the OAuth authorization code method. Firstly, users need to access https://www.coze.com/open/oauth/ap
examples/auth/web_oauth/main.go:22
Function
main
How to use personal access token to init Coze client. Firstly, you need to access https://www.coze.com/open/oauth/pats (for the cn environment, visit
examples/auth/token/main.go:18
Function
main
This examples is about how to use the service jwt oauth process to acquire user authorization. Firstly, users need to access https://www.coze.com/op
examples/auth/jwt_oauth/main.go:24
Function
main
Using web oauth as example, show how to handle the Auth exception
examples/auth/error/main.go:12
Function
main
How to effectuate OpenAPI authorization through the OAuth Proof Key for Code Exchange method. PKCE stands for Proof Key for Code Exchange, and it's a
examples/auth/pkce_oauth/main.go:25
Function
main
This examples describes how to use the workflow interface to chats.
examples/workflows/runs/create/main.go:12
Function
main
This examples describes how to use the workflow interface to stream chats.
examples/workflows/runs/stream/main.go:16
Function
main
()
examples/workflows/runs/async_run/main.go:12
Function
main
()
examples/workflows/chat/stream/main.go:23
Function
main
()
examples/workflows/list/main.go:12
Function
main
()
examples/workspaces/list/main.go:11
Function
main
()
examples/websockets/transcriptions/main.go:31
Function
main
This example demonstrates how to use the input_text.generate_audio event for voice synthesis in WebSocket chat
examples/websockets/chat/input_text_generate_audio/main.go:57
Function
main
()
examples/websockets/chat/audio_chat/main.go:59
Function
main
()
examples/websockets/speech/main.go:45
Function
main
()
examples/apps/list/main.go:12
Function
main
()
examples/enterprises/members/delete/main.go:11
Function
main
()
examples/enterprises/members/update/main.go:11
Function
main
()
examples/enterprises/members/create/main.go:11
Function
main
()
examples/audio/voices/clone/main.go:11
Function
main
()
examples/audio/voices/list/main.go:11
Function
main
()
examples/audio/rooms/create/main.go:11
Function
main
()
examples/audio/live/retrieve/main.go:11
Function
main
()
examples/audio/speech/transcription/main.go:11
Function
main
()
examples/audio/speech/create/main.go:11
Function
main
()
examples/conversations/list/main.go:11
Function
main
()
examples/conversations/messages/feedback/delete/main.go:11
Function
main
()
examples/conversations/messages/feedback/create/main.go:11
Function
main
()
examples/conversations/messages/list/main.go:11
Function
main
()
examples/conversations/messages/crud/main.go:11
Function
main
()
examples/conversations/crud/main.go:12
Function
main
This examples is for describing how to retrieve a bot, fetch published bot list from the API. The document for those interface:
examples/bots/retrieve/main.go:13
Function
main
This examples is for describing how to create a bot, update a bot and publish a bot to the API.
examples/bots/publish/main.go:12
Function
main
()
examples/template/duplicate/main.go:11
Function
main
()
examples/datasets/documents/list/main.go:12
Function
main
()
examples/datasets/documents/crud/main.go:12
Function
main
()
examples/datasets/image/list/main.go:11
Function
main
()
examples/datasets/image/crud/main.go:13
Function
main
()
examples/datasets/list/main.go:11
Function
main
()
examples/datasets/crud/main.go:12
Function
main
This examples describes how to use the chats interface to initiate conversations, poll the status of the conversation, and obtain the messages after
examples/chats/chat/main.go:17
Function
main
This use case teaches you how to use local plugin.
examples/chats/submit_tool_output/main.go:16
Function
main
()
examples/chats/stream/main.go:15
Function
main
This examples is about how to use the streaming interface to start a chats request with image upload and handle chats events
examples/chats/chat_with_image/main.go:17
Function
mockEventProcessor
Mock event processor for testing
stream_reader_test.go:25
Function
parseChatEvent
(ctx context.Context, core *core, lineBytes []byte, reader *bufio.Reader)
chats.go:447
Function
parseWorkflowEvent
(ctx context.Context, core *core, lineBytes []byte, reader *bufio.Reader)
workflows_runs.go:209
Method
toQuery
()
websocket_audio_transcription.go:13
Method
toQuery
()
websocket_audio_speech.go:13
← previous
701–756 of 756, ranked by callers