dineth554 commited on
Commit
2edd2c5
1 Parent(s): f3c3d29

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +8 -0
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)