forked from stacklok/codegate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodels.py
More file actions
40 lines (31 loc) · 746 Bytes
/
models.py
File metadata and controls
40 lines (31 loc) · 746 Bytes
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
# Code generated by sqlc. DO NOT EDIT.
# versions:
# sqlc v1.27.0
from typing import Any, Optional
import pydantic
class Alert(pydantic.BaseModel):
id: Any
prompt_id: Any
code_snippet: Optional[Any]
trigger_string: Optional[Any]
trigger_type: Any
trigger_category: Optional[Any]
timestamp: Any
class Output(pydantic.BaseModel):
id: Any
prompt_id: Any
timestamp: Any
output: Any
class Prompt(pydantic.BaseModel):
id: Any
timestamp: Any
provider: Optional[Any]
request: Any
type: Any
class Setting(pydantic.BaseModel):
id: Any
ip: Optional[Any]
port: Optional[Any]
llm_model: Optional[Any]
system_prompt: Optional[Any]
other_settings: Optional[Any]