chips
commited on
Commit
·
0e16cb2
1
Parent(s):
901f789
back to pydantic
Browse files- app/services/base.py +2 -3
app/services/base.py
CHANGED
@@ -50,9 +50,8 @@ class Product(BaseModel):
|
|
50 |
"""
|
51 |
pydantic_code = pydantic_schema.strip()
|
52 |
exec(pydantic_code, globals())
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
def build_attributes_types_prompt(attributes):
|
57 |
list_of_types_prompt = "\n List of attributes types:\n"
|
58 |
for key, value in attributes.items():
|
|
|
50 |
"""
|
51 |
pydantic_code = pydantic_schema.strip()
|
52 |
exec(pydantic_code, globals())
|
53 |
+
return Product
|
54 |
+
|
|
|
55 |
def build_attributes_types_prompt(attributes):
|
56 |
list_of_types_prompt = "\n List of attributes types:\n"
|
57 |
for key, value in attributes.items():
|