simile 0.2.10__tar.gz → 0.2.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of simile might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simile
3
- Version: 0.2.10
3
+ Version: 0.2.11
4
4
  Summary: Package for interfacing with Simile AI agents for simulation
5
5
  Author-email: Simile AI <cqz@simile.ai>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "simile"
7
- version = "0.2.10"
7
+ version = "0.2.11"
8
8
  authors = [
9
9
  { name="Simile AI", email="cqz@simile.ai" },
10
10
  ]
@@ -137,7 +137,7 @@ class Simile:
137
137
  self, session_id: Union[str, uuid.UUID]
138
138
  ) -> SurveySession:
139
139
  """Resume an existing survey session by ID and return a SurveySession object."""
140
- session_details = await self.get_survey_session(session_id)
140
+ session_details = await self.get_survey_session_details(session_id)
141
141
 
142
142
  if session_details.status == "closed":
143
143
  raise ValueError(f"Session {session_id} is already closed")
@@ -301,12 +301,12 @@ class Simile:
301
301
  agent_id: uuid.UUID,
302
302
  question: str,
303
303
  options: List[str],
304
- images: Optional[Dict[str, str]] = None,
304
+ image_url: Optional[str] = None,
305
305
  ) -> MCGenerationResponse:
306
306
  """Generates a multiple-choice response from an agent."""
307
307
  endpoint = f"generation/mc/{str(agent_id)}"
308
308
  request_payload = MCGenerationRequest(
309
- question=question, options=options, images=images
309
+ question=question, options=options, image_url=image_url
310
310
  )
311
311
  response_data = await self._request(
312
312
  "POST",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simile
3
- Version: 0.2.10
3
+ Version: 0.2.11
4
4
  Summary: Package for interfacing with Simile AI agents for simulation
5
5
  Author-email: Simile AI <cqz@simile.ai>
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes