35 lines
709 B
Python
35 lines
709 B
Python
from dify_client.client import (
|
|
ChatClient,
|
|
CompletionClient,
|
|
DifyClient,
|
|
KnowledgeBaseClient,
|
|
WorkflowClient,
|
|
WorkspaceClient,
|
|
)
|
|
|
|
from dify_client.async_client import (
|
|
AsyncChatClient,
|
|
AsyncCompletionClient,
|
|
AsyncDifyClient,
|
|
AsyncKnowledgeBaseClient,
|
|
AsyncWorkflowClient,
|
|
AsyncWorkspaceClient,
|
|
)
|
|
|
|
__all__ = [
|
|
# Synchronous clients
|
|
"ChatClient",
|
|
"CompletionClient",
|
|
"DifyClient",
|
|
"KnowledgeBaseClient",
|
|
"WorkflowClient",
|
|
"WorkspaceClient",
|
|
# Asynchronous clients
|
|
"AsyncChatClient",
|
|
"AsyncCompletionClient",
|
|
"AsyncDifyClient",
|
|
"AsyncKnowledgeBaseClient",
|
|
"AsyncWorkflowClient",
|
|
"AsyncWorkspaceClient",
|
|
]
|