Skip to content

response format#61

Open
brownsarahm wants to merge 9 commits intomainfrom
43-task-response-formats
Open

response format#61
brownsarahm wants to merge 9 commits intomainfrom
43-task-response-formats

Conversation

@brownsarahm
Copy link
Copy Markdown
Contributor

No description provided.

@brownsarahm brownsarahm linked an issue Feb 26, 2026 that may be closed by this pull request
2 tasks
@AymanBx
Copy link
Copy Markdown
Contributor

AymanBx commented Mar 26, 2026

@brownsarahm
When testing, I'm noticing discrepancies in the response format that might make it difficult to extract the response from the json log file.

Running the same prompt twice, the LLM adds \n to the response, but not inside the answer value rather around it as well.

answer being the key in :

class StringAnswer(BaseModel):
    answer: str
image image

Is this something I should worry about or just move on from it?

@brownsarahm
Copy link
Copy Markdown
Contributor Author

we can strip text later to deal with that, we should move on

@AymanBx
Copy link
Copy Markdown
Contributor

AymanBx commented Mar 27, 2026

@brownsarahm
bedrock's invoke_model API doesn't include a format parameter Here are the docs.

Through testing I found a couple of issues that I will create issues for

@AymanBx AymanBx linked an issue Mar 27, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

swtich storage form for variant values Task response formats

2 participants