Note: This release has breaking changes.
- BREAKING FEAT: Update OpenAIEmbeddings' default model to text-embedding-3-small (#313). (43463481)
- FEAT: Add support for shortening embeddings in OpenAIEmbeddings (#312). (5f5eb54f)
- FIX: Specified model is always overwritten in OpenAIFunctionsAgent (#308). (32dc37d8)
- FEAT: Support Anyscale in ChatOpenAI and OpenAIEmbeddings wrappers (#305). (7daa3eb0)
- FEAT: Support Together AI API in ChatOpenAI wrapper (#297). (28ab56af)
- FEAT: Support Together AI in OpenAIEmbeddings wrapper (#304). (ddc761d6)
- FEAT: Support OpenRouter API in ChatOpenAI wrapper (#292). (c6e7e5be) (docs)
- REFACTOR: Make all LLM options fields nullable and add copyWith (#284). (57eceb9b)
- REFACTOR: Migrate tokenizer to langchain_tiktoken package (#285). (6a3b6466)
- FEAT: Update internal dependencies (#291). (69621cc6)
- Update a dependency to the latest release.
- Update a dependency to the latest release.
Note: This release has breaking changes.
- BREAKING REFACTOR: Make MIME Type mandatory for base64 images in prompt (#269). (2fe076bb)
- FEAT: Allow to pass options to countTokens method (#268). (4ecb123b)
- FIX: Fix ChatOpenAI not considering functions from default options (#257). (cd864783)
Note: This release has breaking changes.
Migration guides:
- BREAKING FEAT: Move all model config options to OpenAIOptions (#232). (16e3e8e4)
- BREAKING FEAT: Move all model config options to ChatOpenAIOptions (#240). (dd6a21a7)
- BREAKING FEAT: Allow to pass call options to tools (#243). (4a01adb9)
- BREAKING FEAT: Move all DallE config options to OpenAIDallEToolOptions (#244). (c24877c6)
- FEAT: Allow to mutate default options (#256). (cb5e4058)
- FEAT: Allow to update OpenAI key without having to recreate the wrapper (#246). (05739bd1)
- FIX: PromptTemplate stream should only emit if it has all inputs (#247). (a56a2ec5)
- Update a dependency to the latest release.
- FEAT: Add support for OpenAIDallETool (#231). (541e8d77)
- FEAT: Support implementing custom agents using LCEL (#230). (625eeeb4)
- FIX: Fetch requests with big payloads dropping connection (#226). (1e771098)
- DOCS: Add public_member_api_docs lint rule and document missing APIs (#223). (52380433)
Note: This release has breaking changes.
Migration guide
- REFACTOR: Align openai_dart client breaking changes (#219). (172db27f)
- BREAKING FEAT: Add multi-modal messages support with OpenAI Vision (#220). (6da2e069)
- Update a dependency to the latest release.
- REFACTOR: Rename ChatCompletionFunction to FunctionObject (internal) (#206). (0f06df3f)
- FEAT: Add streaming support to OpenAI (#196). (b21fcb38)
- FEAT: Support seed and system_fingerprint in OpenAI wrapper (#204). (c31b6795)
- FEAT: Add streaming support to ChatOpenAI (#197). (2268da78)
- FEAT: Support seed, system_fingerprint and JSON Mode in ChatOpenAI (#205). (3332c228)
- FIX: Revert OpenAI maxTokens default to 256 (#189). (ab2ce6d4)
- DOCS: Update CHANGELOG.md. (5ea4e532)
- REFACTOR: Remove dependency on dart_openai (#186). (273cfa2e)
- FEAT: Migrate ChatOpenAI to openai_dart client (#185). (de8f487d)
- FEAT: Migrate OpenAI to openai_dart client (#184). (6c90b371)
- FEAT: Migrate OpenAIEmbeddings to openai_dart client (#183). (8f626fe8)
- FEAT: Implement LangChain Expression Language (LCEL) (#163). (85ea41af)
Note: This release has breaking changes.
- DOCS: Add topics to pubspecs. (8c1d6297)
- BREAKING REFACTOR: Change embedDocuments input to
List<Document>
(#153). (1b5d6fbf)
- FEAT: Add ability to specify user in OpenAI and ChatOpenAI (#143). (457ab54e)
- DOCS: Update packages example. (4f8488fc)
- FIX: OpenAIFunctionsAgent wrong prompt order with no memory (#134). (8c9dcf22)
- Update a dependency to the latest release.
- Update a dependency to the latest release.
- REFACTOR: Always await or explicitly discard Futures (#106). (989e93db)
- FIX: Fix OpenAIQAWithSourcesChain returning empty strings (#113). (6181ff8d)
- FEAT: Integrate Google Vertex AI PaLM Embeddings (#100). (d777eccc)
- FEAT: Integrate Google Vertex AI PaLM Chat Model (#99). (3897595d)
- FEAT: Integrate Google Vertex AI PaLM Text model (#98). (b2746c23)
- FIX: FunctionChatMessage not saved properly in memory (#88). (d7b763de)
- FEAT: Update AgentExecutor constructor to use agent's tools (#89). (3af56a45)
- DOCS: Add example of using memory in OpenAIFunctionsAgent (#91). (898d5350)
- FIX: systemChatMessage was ignored in OpenAIFunctionsAgent (#86). (cfe1e009)
- FEAT: Support LLMChain in OpenAIFunctionsAgent and memory. (bd4a1cb9)
- FEAT: Return ChatMessage when LLMChain used with ChatModel. (bb5f4d23)
- FEAT: Update internal dependencies (including http to 1.1.0). (8f3e8bc8)
- FIX: OpenAIQAWithSourcesChain throws exception. (45c6cb9d)
- FEAT: Support estimating the number of tokens for a given prompt (#3). (e22f22c8)
- Add support for OpenAIAgent class (#34).
- Export OpenAI Client class (allowing to define custom base URL).
- Add support for OpenAIQAWithSourcesChain (#53).
- Add support for OpenAIEmbeddings (#38).
- Add support for OpenAI functions (#35).
- Improve API documentation.
- Add support for ChatPromptTemplate class (#8).
- Add support for OpenAI LLM (
OpenAI
class).
- Add support for OpenAI chat model (
ChatOpenAI
class).