openai/chatkit-python

Public

mirrored fromhttps://github.com/openai/chatkit-pythonAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
f43533b0dad1fc1013dbc615dd4bc192d484b94e

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

chatkit/icons.py

76lines · modecode

1from typing import Annotated, Literal
2
3from pydantic import StringConstraints
4
5VendorIconName = Annotated[str, StringConstraints(pattern=r"^vendor:")]
6
7IconName = (
8 Literal[
9 "agent",
10 "analytics",
11 "atom",
12 "batch",
13 "bolt",
14 "book-open",
15 "book-closed",
16 "book-clock",
17 "bug",
18 "calendar",
19 "chart",
20 "check",
21 "check-circle",
22 "check-circle-filled",
23 "chevron-left",
24 "chevron-right",
25 "circle-question",
26 "clock",
27 "compass",
28 "confetti",
29 "cube",
30 "desktop",
31 "document",
32 "dot",
33 "dots-horizontal",
34 "dots-vertical",
35 "empty-circle",
36 "external-link",
37 "globe",
38 "keys",
39 "lab",
40 "images",
41 "info",
42 "lifesaver",
43 "lightbulb",
44 "mail",
45 "map-pin",
46 "maps",
47 "mobile",
48 "name",
49 "notebook",
50 "notebook-pencil",
51 "page-blank",
52 "phone",
53 "play",
54 "plus",
55 "profile",
56 "profile-card",
57 "reload",
58 "star",
59 "star-filled",
60 "search",
61 "sparkle",
62 "sparkle-double",
63 "square-code",
64 "square-image",
65 "square-text",
66 "suitcase",
67 "settings-slider",
68 "user",
69 "wreath",
70 "write",
71 "write-alt",
72 "write-alt2",
73 ]
74 | VendorIconName
75)
76"""Allowed icon names."""