forked from langchain-ai/react-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain_schema.py
47 lines (41 loc) · 1.13 KB
/
domain_schema.py
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
42
43
44
45
46
47
from pydantic import BaseModel, Field
from typing import List, Optional
from datetime import datetime
class DomainName(BaseModel):
domainName: str
tld: str
length: int
processedByAgent: str
agentModel: str
class DNAvailabilityStatus(BaseModel):
domainName: str
status: str
processedByAgent: str
agentModel: str
class DNEvaluation(BaseModel):
domainName: str
possibleCategories: List[str]
possibleKeywords: List[str]
memorabilityScore: int
pronounceabilityScore: int
brandabilityScore: int
description: str
processedByAgent: str
agentModel: str
class DNSEOAnalysis(BaseModel):
domainName: str
seoKeywords: List[str]
seoKeywordRelevanceScore: int
industryRelevanceScore: int
domainAge: int
potentialResaleValue: int
language: str
trademarkStatus: Optional[str]
scoredByAgent: str
agentModel: str
description: str
class DomainWithDetails(BaseModel):
domainName: DomainName
availabilityStatus: Optional[DNAvailabilityStatus] = None
evaluation: Optional[DNEvaluation] = None
seoAnalysis: Optional[DNSEOAnalysis] = None