mirascope
mirascope copied to clipboard
LLM abstractions that aren't obstructions
### Description main consideration is that a lot of repos already have use postgres for structured data and pgvector has proven itself to work incredibly well for early-medium scale projects....
### Description I ran the following code: ```py import pprint from mirascope.openai import OpenAICall from openai.types.chat import ChatCompletionMessageParam class Librarian(OpenAICall): prompt_template = """ SYSTEM: You are the world's greatest librarian....
### Question Apologies if this has been asked in the community somewhere. I'm currently using LangChain with LangGraph but Mirascope looks like a simpler/better alternative to LangChain - is that...
Add `ProviderChatMessage` e.g. `OpenAIChatMessage` types and coerce to message params under the hood
> Add `ProviderChatMessage` e.g. `OpenAIChatMessage` types and coerce to message params under the hood. If reading the OpenAI docs or coming from their SDK, users will expect to be able...
In relation to #573 Hello @willbakst I have written a rudimentary cookbook. Currently right answers are a hit or miss. What am I doing wrong ? also when i followed...
Related to #521 # Why? Mistral has released a vision model, Pixtral. Supporting vision for Mistral in mirascope requires bumping up the version to the latest major version to take...
### Description The error message when using the incorrect client with sync vs. async calls is currently unhelpful. See #513 We should add better error messages that throw a `ValueError`...
### Description We should support the [recently released](https://openai.com/index/introducing-the-realtime-api/) OpenAI [Realtime API](https://platform.openai.com/docs/guides/realtime) (at least in `openai.beta` while they are in beta). Looking through their docs, it's clear that using the Realtime...
### Description Mistral recently released a new vision model Pixtral. The API looks extremely similar to other providers such as OpenAI, so adding support should be fairly straightforward. Just need...