langchain 0.7.1 copy "langchain: ^0.7.1" to clipboard
langchain: ^0.7.1 copied to clipboard

Build powerful LLM-based Dart and Flutter applications with LangChain.dart.

0.7.1 #

Note: VertexAI for Firebase (ChatFirebaseVertexAI) is available in the new langchain_firebase package.

0.7.0 #

Note: This release has breaking changes.
If you are using "function calling" check how to migrate to "tool calling".

  • BREAKING FEAT: Migrate from function calling to tool calling (#400). (44413b83)
  • BREAKING REFACTOR: Improve Tool abstractions (#398). (2a50aec2)

0.6.0+1 #

  • FIX: Allow async functions in Runnable.mapInput (#396). (e4c35092)

0.6.0 #

Note: This release has breaking changes.
If you are using Runnable.fromFunction check the migration guide.

  • FEAT Add support for RunnableRouter (#386). (827e262)
  • FEAT: Add support for Runnable.mapInputStream (#393). (a2b6bbb5)
  • FEAT: Add support for JsonOutputParser (#392). (c6508f0f)
  • FEAT: Reduce input stream for PromptTemplate, LLM, ChatModel, Retriever and Tool (#388). (b59bcd40)
  • BREAKING FEAT: Support different logic for streaming in RunnableFunction (#394). (8bb2b8ed)
  • DOCS: Update LangChain Expression Language documentation (#395). (6ce75e5f)

0.5.0+1 #

0.5.0 #

Note: This release has breaking changes.
Migration guide

  • BREAKING REFACTOR: Introduce langchain_core and langchain_community packages (#328). (5fa520e6)
  • BREAKING REFACTOR: Simplify LLMResult and ChatResult classes (#363). (ffe539c1)
  • BREAKING REFACTOR: Simplify Output Parsers (#367). (f24b7058)
  • BREAKING REFACTOR: Remove deprecated generate and predict APIs (#335). (c55fe50f)
  • REFACTOR: Simplify internal .stream implementation (#364). (c83fed22)
  • FEAT: Implement .batch support (#370). (d254f929)
  • FEAT: Add reduceOutputStream option to StringOutputParser (#368). (7f9a9fae)
  • DOCS: Update LCEL docs. (ab3ab573)
  • DOCS: Add RAG example using OllamaEmbeddings and ChatOllama (#337). (8bddc6c0)

0.4.2 #

  • FEAT: Update meta and test dependencies (#331). (912370ee)

0.4.1 #

0.4.0 #

0.3.3 #

  • DOCS: Add Anyscale and Together AI documentation (#305). (7daa3eb0)

0.3.2 #

  • REFACTOR: Make all LLM options fields nullable and add copyWith (#284). (57eceb9b)
  • FIX: Export ConversationSummaryMemory (#283). (76b01d23)
  • FEAT: Update internal dependencies (#291). (69621cc6)

0.3.1+1 #

  • FIX: Export token_buffer.dart (ConversationTokenBufferMemory) (#280). (265fcb4b)

0.3.1 #

  • FEAT: Make ChatPromptTemplates more convenient to use (#275). (9f8e6f75)

0.3.0 #

Note: This release has breaking changes.
Migration guide

  • BREAKING REFACTOR: Make MIME Type mandatory for base64 images in prompt (#269). (2fe076bb)
  • FEAT: Allow to pass options to countTokens method (#268). (4ecb123b)
  • DOCS: Update README.md and docs (#272). (306a1fdd)

0.2.1 #

  • FEAT: Support customizing Tool input description (#258). (a9a1b2a0)
  • DOCS: Update Mistral AI documentation (#265). (59b4127e)

0.2.0 #

Note: This release has breaking changes.

Migration guides:

  • BREAKING FEAT: Move all retriever config options to RetrieverOptions (#248). (f5785b77)
  • BREAKING FEAT: Allow to pass call options to tools (#243). (4a01adb9)
  • FEAT: Allow to mutate default options (#256). (cb5e4058)
  • REFACTOR: Use JsonPath.readValues in JsonLoader (#245). (3e159254)
  • FIX: Out of rage error in ConversationBufferWindowMemory (#249). (1b38bff7)
  • FIX: PromptTemplate stream should only emit if it has all inputs (#247). (a56a2ec5)

0.1.1+1 #

  • FIX: Conditionally import dart:io in LocalFileStore (#237). (71d337e6)

0.1.1 #

  • FEAT: Add support for OpenAIDallETool (#231). (541e8d77)
  • FEAT: Support implementing custom agents using LCEL (#230). (625eeeb4)
  • FEAT: Add support for Runnable.mapInput() (#229). (7cc832ca)
  • REFACTOR: Rename RunnableMapFromItem to RunnableMapFromInput (#228). (7330cfcd)
  • REFACTOR: Improve handling of input and output keys in chains (#227). (acf76b24)

0.1.0+2 #

0.1.0+1 #

  • DOCS: Add public_member_api_docs lint rule and document missing APIs (#223). (52380433)

0.1.0 #

Note: This release has breaking changes.
Migration guide

  • BREAKING FEAT: Add multi-modal messages support with OpenAI Vision (#220). (6da2e069)

0.0.15 #

  • FEAT: Add streaming support in LangChain Expression Language (#192). (2e4bcf91)
  • DOCS: Add streaming to docs. (bb87c190)
  • FEAT: Add streaming support to OutputFunctionsParsers (#194). (8b4e6a13)
  • FIX: Remove unused generic param in StringOutputParser (#193). (decd3176)

0.0.14 #

Note: This release has breaking changes.

  • REFACTOR: Don't require implement getFormatInstructions. (d8b1286d)
  • DOCS: Update docs. (af7ee827)
  • BREAKING FIX: Change loaders lastModified metadata field to integer (#172). (72c724f8)
  • BREAKING FEAT: Update uuid internal dependency to 4.x.x (#173). (b01f4afe)

0.0.13 #

Check out the LangChain Expression Language documentation for more details

  • FEAT: Add support for JsonOutputFunctionsParser (#165). (66c8e644)
  • FEAT: Add support for StringOutputParser (#164). (ee29e99a)
  • FEAT: Implement LangChain Expression Language (LCEL) (#163). (85ea41af)
  • FEAT: Support custom doc prompt in StuffDocumentsQAChain (#157). (faa9d2d7)

0.0.12 #

Note: This release has breaking changes.

  • DOCS: Acknowledge sponsors in readme. (092d94c8)
  • DOCS: Add topics to pubspecs. (8c1d6297)
  • BREAKING REFACTOR: Change embedDocuments input to List<Document> (#153). (1b5d6fbf)

0.0.11 #

Note: This release has breaking changes.

  • DOCS: Update readme. (e1b5b295)
  • BREAKING REFACTOR: Remove addDocuments from VectorStoreRetriever (#146). (d32a5fd9)
  • BREAKING REFACTOR: Rename VectorStoreRetrieverMemory and require vector store (#145). (67af3195)

0.0.10 #

0.0.9 #

  • FEAT: Support filtering in MemoryVectorStore (#137). (84da480f)
  • FEAT: Support filtering in VertexAI Matching Engine (#136). (768c6987)
  • FEAT: Allow to pass vector search config (#135). (5b8fa5a3)
  • DOCS: Fix API documentation errors (#138). (1aa38fce)

0.0.8 #

  • REFACTOR: Rename store folder to chat_message_history (#126). (fa54c7e2)
  • REFACTOR: Fix Dart 3.1.0 linter issues (#125). (cc32f3f1)
  • FEAT: Add support for LocalFileStore (#132). (2c508dce)
  • FEAT: Add support for CacheBackedEmbeddings (#131). (27d8b777)
  • FEAT: Add FakeEmbeddings testing model (#130). (f06920d7)
  • FEAT: Add support for EncoderBackedStore (#129). (85bb3191)
  • FEAT: Add support for InMemoryStore (#128). (699c0904)
  • FEAT: Add support for InMemoryDocStore (#127). (d9d7268d)
  • FEAT: Initial vectors, ids, and delete in MemoryVectorStore (#123). (f87a738d)

0.0.7+1 #

  • FIX: Text splitters were not preserving docs IDs (#122). (a9d7f098)

0.0.7 #

0.0.6 #

  • REFACTOR: Move Vertex AI client to its own package (#111). (d8aea156)
  • REFACTOR: Always await or explicitly discard Futures (#106). (989e93db)
  • FIX: Fix OpenAIQAWithSourcesChain returning empty strings (#113). (6181ff8d)
  • FIX: VectorStore k variable was ignored (#110). (80e61eb7)
  • FEAT: Integrate Google Vertex AI PaLM Chat Model (#99). (3897595d)
  • FEAT: Integrate Google Vertex AI PaLM Text model (#98). (b2746c23)

0.0.5+1 #

  • FIX: OpenAIOptions class not exported (#104). (e50efc3d)
  • DOCS: Improve RetrievalQAChain API documentation (#95). (e6d0a9d3)

0.0.5 #

  • FIX: Suff and MapReduce docs chains don't handle chat messages (#92). (19182ca1)
  • FEAT: Update AgentExecutor constructor to use agent's tools (#89). (3af56a45)
  • FEAT: Add MessagePlaceholder (#87). (23ee95b6)
  • DOCS: Update CONTRIBUTING.md. (5f2b9264)
  • DOCS: Fix typo in MessagePlaceholder API docs (#90). (f53e1a2b)

0.0.4 #

  • REFACTOR: Extract default memory key and prefixes to constants. (750fd01a)
  • FIX: systemChatMessage was ignored in OpenAIFunctionsAgent (#86). (cfe1e009)
  • FIX: Allow to add memory to an agent executor (#80). (8110464c)
  • FEAT: Add ConversationSummaryMemory (#27). (f631d9e5)
  • FEAT: Support LLMChain in OpenAIFunctionsAgent and memory. (bd4a1cb9)
  • FEAT: Return ChatMessage when LLMChain used with ChatModel. (bb5f4d23)
  • FEAT: Add FakeChatModel for testing purposes. (659783a6)
  • FEAT: Add support for ConversationTokenBufferMemory (#26). (8113d1c0)
  • FEAT: Improve SummarizeChain.mapReduce summaryMaxTokens name and docs. (0be06e02)
  • FEAT: Add support for CsvLoader (#77). (41d24e76)
  • FEAT: Add ConversationBufferWindowMemory (#25). (9c271f7e)

0.0.3 #

  • FIX: Loaders tests. (f0498300)
  • FEAT: Update internal dependencies (including http to 1.1.0). (8f3e8bc8)
  • FEAT: Add support for VectorStoreRetrieverMemory (#54). (72cd1b10)

0.0.2 #

  • FIX: OpenAIQAWithSourcesChain throws exception. (45c6cb9d)
  • FEAT: Add support for SummarizeChain (#58). (9499fc04)
  • FEAT: Add support for SequentialChain class (#30). (381a6768)
  • FEAT: Add support for WebBaseLoader (#74). (0b5bf4b0)
  • FEAT: Add Support for JsonLoader (#72). (2457a973)
  • FEAT: Add support for MapReduceDocumentsChain (#59). (9f2190c4)
  • FEAT: Add support for ReduceDocumentsChain (#70). (34cf10bd)
  • FEAT: Support estimating the number of tokens for a given prompt (#3). (e22f22c8)
  • FEAT: Add support for CodeTextSplitter (#63). (92a8c7da)
  • FEAT: Add support for RecursiveCharacterTextSplitter (#61). (697cdcbf)
  • DOCS: Document sequential chain. (b9693a4e)
  • DOCS: Document text, json and web loaders. (a95b3e9f)
  • DOCS: Update API docs. (7bfa6d17)
  • DOCS: Update readme. (dd394715)

0.0.1 #

  • Initial public release.

Check out the announcement post for all the details: https://blog.langchaindart.com/introducing-langchain-dart-6b1d34fc41ef

0.0.1-dev.7 #

  • Add support for Agent class (#33).
  • Add support for AgentExecutor class (#56).
  • Update hello_world_flutter example with local models.

0.0.1-dev.6 #

  • Add support for PipelinePromptTemplate class (#18).
  • LLMChain improvements (#43).

0.0.1-dev.5 #

  • Add support for TextLoader (#47).
  • Add support for BaseLoader (#46).
  • Add support for RetrievalQAChain class (#42).
  • Add support for StuffDocumentsQAChain (#50).
  • Add support for StuffDocumentsChain (#49).
  • Add support for BaseCombineDocumentsChain class (#41).
  • Add support for ConditionalPromptSelector (#48).
  • Add support for VectorStoreRetriever class (#45).
  • Add support for MemoryVectorStore class (#44).
  • Add support for VectorStore class (#36).
  • Add support for OpenAIEmbeddings (#38).
  • Add support for CharacterTextSplitter class (#39).
  • Add support for OpenAI functions (#35).
  • Add support for Calculator tool (#32).
  • Add support for Tool class (#31).

0.0.1-dev.4 #

  • Add support for LLMChain class (#20).
  • Add support for ChatMessageHistory class (#29).
  • Add support for ConversationBufferMemory class (#24).
  • Add support for ConversationChain (#21).
  • Add support for SimpleMemory class (#23).

0.0.1-dev.3 #

  • Add support for ChatPromptTemplate class (#8).

0.0.1-dev.2 #

  • Add support for LLMs - BaseLLM class (#14).
  • Add support for Chat models - BaseChatModel class (#10).
  • Add support for prompt templates - PromptTemplate class (#7).
  • Publish LangChain.dart documentation on http://langchaindart.com.

0.0.1-dev.1 #

  • Bootstrap project.