File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/ragas/testset/synthesizers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class TestsetPacket(BaseModel):
3939 A packet of testset samples to be uploaded to the server.
4040 """
4141
42- samples : t .List [TestsetSample ]
42+ samples_original : t .List [TestsetSample ]
4343 run_id : str = Field (default_factory = lambda : str (uuid4 ()))
4444 created_at : str = Field (default_factory = lambda : datetime .now ().isoformat ())
4545
@@ -137,7 +137,7 @@ def total_cost(
137137 def upload (self , base_url : str = RAGAS_API_URL , verbose : bool = True ) -> str :
138138 import requests
139139
140- packet = TestsetPacket (samples = self .samples )
140+ packet = TestsetPacket (samples_original = self .samples )
141141 response = requests .post (
142142 f"{ base_url } /alignment/testset" , json = packet .model_dump ()
143143 )
You can’t perform that action at this time.
0 commit comments