Coverage report:
63%
hide covered
Files
Functions
Classes
coverage.py v7.6.1
, created at 2024-08-08 04:34 +0800
File
class
statements
missing
excluded
branches
partial
coverage
promplate/__init__.py
(no class)
2
0
0
0
0
100%
promplate/chain/__init__.py
(no class)
2
0
0
0
0
100%
promplate/chain/callback.py
BaseCallback
5
0
0
6
0
100%
promplate/chain/callback.py
Callback
17
2
0
10
2
85%
promplate/chain/callback.py
(no class)
14
1
0
2
1
88%
promplate/chain/node.py
ChainContext
16
1
0
11
3
85%
promplate/chain/node.py
AbstractNode
4
1
0
2
1
67%
promplate/chain/node.py
Interruptable
89
29
0
46
4
64%
promplate/chain/node.py
Node
44
2
0
8
1
94%
promplate/chain/node.py
Loop
25
17
0
4
0
28%
promplate/chain/node.py
Chain
30
14
0
12
1
50%
promplate/chain/node.py
Jump
3
1
0
0
0
67%
promplate/chain/node.py
(no class)
103
0
0
46
8
95%
promplate/chain/utils.py
(no class)
29
6
0
8
0
84%
promplate/llm/__init__.py
(no class)
0
0
0
0
0
100%
promplate/llm/base.py
Configurable
3
3
0
2
0
0%
promplate/llm/base.py
Complete
1
0
0
2
1
67%
promplate/llm/base.py
Generate
1
0
0
2
1
67%
promplate/llm/base.py
AsyncComplete
1
0
0
2
1
67%
promplate/llm/base.py
AsyncGenerate
1
0
0
2
1
67%
promplate/llm/base.py
LLM
2
0
0
6
2
75%
promplate/llm/base.py
(no class)
13
0
0
2
0
100%
promplate/llm/openai/__init__.py
(no class)
4
4
0
2
0
0%
promplate/llm/openai/v0.py
Config
11
11
0
6
0
0%
promplate/llm/openai/v0.py
TextComplete
3
3
0
0
0
0%
promplate/llm/openai/v0.py
AsyncTextComplete
3
3
0
0
0
0%
promplate/llm/openai/v0.py
TextGenerate
4
4
0
2
0
0%
promplate/llm/openai/v0.py
AsyncTextGenerate
4
4
0
2
0
0%
promplate/llm/openai/v0.py
ChatComplete
4
4
0
0
0
0%
promplate/llm/openai/v0.py
AsyncChatComplete
4
4
0
0
0
0%
promplate/llm/openai/v0.py
ChatGenerate
6
6
0
2
0
0%
promplate/llm/openai/v0.py
AsyncChatGenerate
6
6
0
2
0
0%
promplate/llm/openai/v0.py
(no class)
30
30
0
4
0
0%
promplate/llm/openai/v1.py
Config
17
17
0
4
0
0%
promplate/llm/openai/v1.py
ClientConfig
1
1
0
3
0
0%
promplate/llm/openai/v1.py
AsyncClientConfig
1
1
0
3
0
0%
promplate/llm/openai/v1.py
TextComplete
3
3
0
0
0
0%
promplate/llm/openai/v1.py
AsyncTextComplete
3
3
0
0
0
0%
promplate/llm/openai/v1.py
TextGenerate
7
7
0
2
0
0%
promplate/llm/openai/v1.py
AsyncTextGenerate
7
7
0
2
0
0%
promplate/llm/openai/v1.py
ChatComplete
4
4
0
0
0
0%
promplate/llm/openai/v1.py
AsyncChatComplete
4
4
0
0
0
0%
promplate/llm/openai/v1.py
ChatGenerate
8
8
0
2
0
0%
promplate/llm/openai/v1.py
AsyncChatGenerate
8
8
0
2
0
0%
promplate/llm/openai/v1.py
SyncTextOpenAI
0
0
0
0
0
100%
promplate/llm/openai/v1.py
AsyncTextOpenAI
0
0
0
0
0
100%
promplate/llm/openai/v1.py
SyncChatOpenAI
0
0
0
0
0
100%
promplate/llm/openai/v1.py
AsyncChatOpenAI
0
0
0
0
0
100%
promplate/llm/openai/v1.py
(no class)
57
57
0
12
0
0%
promplate/prompt/__init__.py
(no class)
2
0
0
0
0
100%
promplate/prompt/builder.py
CodeBuilder
18
3
0
0
0
83%
promplate/prompt/builder.py
(no class)
11
0
0
0
0
100%
promplate/prompt/chat.py
Message
0
0
0
0
0
100%
promplate/prompt/chat.py
MessageBuilder
21
8
0
8
0
59%
promplate/prompt/chat.py
(no class)
57
7
0
18
2
88%
promplate/prompt/template.py
Component
2
0
0
4
2
67%
promplate/prompt/template.py
TemplateCore
79
4
0
28
1
95%
promplate/prompt/template.py
Loader
26
26
0
4
0
0%
promplate/prompt/template.py
SafeChainMapContext
0
0
0
0
0
100%
promplate/prompt/template.py
Template
10
0
0
4
0
100%
promplate/prompt/template.py
(no class)
56
5
0
24
1
90%
promplate/prompt/utils.py
AutoNaming
18
7
0
8
1
62%
promplate/prompt/utils.py
(no class)
84
24
0
36
1
74%
Total
988
360
0
357
35
63%
No items found using the specified filter.