Update utils.py
Browse files
utils.py
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CitingSources:
|
| 2 |
+
def __init__(self, sources):
|
| 3 |
+
self.sources = sources
|
| 4 |
+
|
| 5 |
+
@staticmethod
|
| 6 |
+
def from_pydantic_models(sources, output_type):
|
| 7 |
+
# Placeholder function to mimic pydantic behavior
|
| 8 |
+
return CitingSources(sources)
|