openai/chatkit-python

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
adf5a3acbb98602ad839feb58dcee889ef56c3bc

Branches

Tags

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

Clone

HTTPS

Download ZIP

chatkit/icons.py

75lines · 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 "compass",
27 "confetti",
28 "cube",
29 "desktop",
30 "document",
31 "dot",
32 "dots-horizontal",
33 "dots-vertical",
34 "empty-circle",
35 "external-link",
36 "globe",
37 "keys",
38 "lab",
39 "images",
40 "info",
41 "lifesaver",
42 "lightbulb",
43 "mail",
44 "map-pin",
45 "maps",
46 "mobile",
47 "name",
48 "notebook",
49 "notebook-pencil",
50 "page-blank",
51 "phone",
52 "play",
53 "plus",
54 "profile",
55 "profile-card",
56 "reload",
57 "star",
58 "star-filled",
59 "search",
60 "sparkle",
61 "sparkle-double",
62 "square-code",
63 "square-image",
64 "square-text",
65 "suitcase",
66 "settings-slider",
67 "user",
68 "wreath",
69 "write",
70 "write-alt",
71 "write-alt2",
72 ]
73 | VendorIconName
74)
75"""Allowed icon names."""