William Bakst

Results 188 comments of William Bakst

Update, this is something the Anthropic team is aware of but isn't something they can do except with updates to the model. Nothing we can do on our end to...

This looks like a bug with `openai` and how they are typing their message parameters. The following code fails (without mirascope) when it really shouldn't: ```python from openai.types.chat import ChatCompletionAssistantMessageParam...

Update: the issue has been resolved on the OpenAI side (https://github.com/openai/openai-openapi/pull/269), so once that's been released we're just waiting on Pydantic to fix their issue, which they've added to their...

With #308 this is resolved, the new `response.message_param` property inserts the correct thing.

@off6atomic this is really interesting. I've thought a little bit about this: 1. I [filed an issue](https://github.com/Mirascope/mirascope/issues/276) to enable using the raw schema. This would unblock any issues with using...

I'm closing this issue as all related future work will be tracked in #276 and #278 (alongside #294)

Since `gpt-4o` is multi-modal with audio too (and it looks like other players are headed in this direction), it's likely worth also thinking about how to handle both images and...

I agree, which is why we originally opted for enabling [writing the messages array directly](https://docs.mirascope.io/latest/concepts/writing_prompts/#prompt-template-magic-is-optional). We also enable the `MESSAGES:` keyword for injecting a list of messages for [chat history](https://docs.mirascope.io/latest/concepts/chat_history/#messages-keyword)....

@off6atomic 100%, everything you've described is pretty much exactly the behavior I would expect. The goal is for the parser to feel intuitive and behave how you would expect so...

Would something like this work? ```python from mirascope.openai import OpenAICall class MyCall(OpenAICall): prompt_template = "Template {var}" var: str = "" my_call = MyCall() values = ["one", "two", "three"] for value...