-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path__init__.py
More file actions
41 lines (39 loc) · 1.13 KB
/
__init__.py
File metadata and controls
41 lines (39 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
__version__ = "0.10.1" # x-release-please-version
# Export main client
# Export chat
from ldai.chat import Chat
from ldai.client import LDAIClient
# Export judge
from ldai.judge import Judge
# Export models for convenience
from ldai.models import ( # Deprecated aliases for backward compatibility
AIAgentConfig, AIAgentConfigDefault, AIAgentConfigRequest, AIAgents,
AICompletionConfig, AICompletionConfigDefault, AIConfig, AIJudgeConfig,
AIJudgeConfigDefault, JudgeConfiguration, LDAIAgent, LDAIAgentConfig,
LDAIAgentDefaults, LDMessage, ModelConfig, ProviderConfig)
# Export judge types
from ldai.providers.types import EvalScore, JudgeResponse
__all__ = [
'LDAIClient',
'AIAgentConfig',
'AIAgentConfigDefault',
'AIAgentConfigRequest',
'AIAgents',
'AICompletionConfig',
'AICompletionConfigDefault',
'AIJudgeConfig',
'AIJudgeConfigDefault',
'Judge',
'Chat',
'EvalScore',
'JudgeConfiguration',
'JudgeResponse',
'LDMessage',
'ModelConfig',
'ProviderConfig',
# Deprecated exports
'AIConfig',
'LDAIAgent',
'LDAIAgentConfig',
'LDAIAgentDefaults',
]