Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ParsedChatCompletion[FoodDiaryEntry](
- id="chatcmpl-BCHSWiAXnrcI0gU2HuXCNLFkaR5Ah",
- choices=[
- ParsedChoice[FoodDiaryEntry](
- finish_reason="stop",
- index=0,
- logprobs=None,
- message=ParsedChatCompletionMessage[FoodDiaryEntry](
- content='{"food_diary_entries":[{"dishes":[{"food":"chicken soup","ingredients":["chicken","vegetable broth","onion","carrots","celery","garlic","salt","pepper"],"ingredient_amount":[1.5,4,1,2,1,2,0.5,0.5],"ingredient_unit":["cups","cups","medium","medium","stalks","cloves","teaspoons","teaspoons"]},{"food":"sourdough bread","ingredients":["sourdough starter","flour","water","salt"],"ingredient_amount":[0.5,2,0.25,0.05],"ingredient_unit":["loaf","cups","cups","teaspoons"]},{"food":"fruit bowl","ingredients":["mixed fruits"],"ingredient_amount":[1],"ingredient_unit":["cup"]}]}]}',
- refusal=None,
- role="assistant",
- audio=None,
- function_call=None,
- tool_calls=None,
- parsed=FoodDiaryEntry(
- food_diary_entries=[
- FoodDiaryEntryDetails(
- dishes=[
- DishDetails(
- food="chicken soup",
- ingredients=[
- "chicken",
- "vegetable broth",
- "onion",
- "carrots",
- "celery",
- "garlic",
- "salt",
- "pepper",
- ],
- ingredient_amount=[
- 1.5,
- 4.0,
- 1.0,
- 2.0,
- 1.0,
- 2.0,
- 0.5,
- 0.5,
- ],
- ingredient_unit=[
- "cups",
- "cups",
- "medium",
- "medium",
- "stalks",
- "cloves",
- "teaspoons",
- "teaspoons",
- ],
- ),
- DishDetails(
- food="sourdough bread",
- ingredients=[
- "sourdough starter",
- "flour",
- "water",
- "salt",
- ],
- ingredient_amount=[0.5, 2.0, 0.25, 0.05],
- ingredient_unit=[
- "loaf",
- "cups",
- "cups",
- "teaspoons",
- ],
- ),
- DishDetails(
- food="fruit bowl",
- ingredients=["mixed fruits"],
- ingredient_amount=[1.0],
- ingredient_unit=["cup"],
- ),
- ]
- )
- ]
- ),
- annotations=[],
- ),
- )
- ],
- created=1742266748,
- model="gpt-4o-mini-2024-07-18",
- object="chat.completion",
- service_tier="default",
- system_fingerprint="fp_3267753c5d",
- usage=CompletionUsage(
- completion_tokens=175,
- prompt_tokens=406,
- total_tokens=581,
- completion_tokens_details=CompletionTokensDetails(
- accepted_prediction_tokens=0,
- audio_tokens=0,
- reasoning_tokens=0,
- rejected_prediction_tokens=0,
- ),
- prompt_tokens_details=PromptTokensDetails(audio_tokens=0, cached_tokens=0),
- ),
- )
Add Comment
Please, Sign In to add comment