v0.1.4
What's Changed
- Add GenerationInfo to GenerateContent by @eliben in #488
- Clean up GeneratePrompt -- unused code, and simplify caller by @eliben in #489
- fix unmarshalling of chatmessage by @ctrlaltdel121 in #491
- feature: add new gemini llm supporting new experimental interface by @mrothroc in #497
- Add Ollama test and remove custom prompt for chat by @eliben in #495
- ollama: Clean up Ollama options by @eliben in #496
- googleai: set up options and embeddings by @eliben in #498
- Extend Model / GenerateContent interface to support multi-content chats by @eliben in #500
- Add multi-turn tests for new GenerateContent capabilities by @eliben in #501
- ollama: implement Model interface with GenerateContent by @eliben in #502
- Test streaming support in GenerateContent in openai and ollama by @eliben in #503
- googleai: implement streaming and some generation options by @eliben in #504
- Add function invocation into GenerateContent responses by @eliben in #512
- googleai: fix streaming termination by @eliben in #515
- Add callback handler method for GenerateContent start and end by @eliben in #514
- Finalize the majority of the model/LLM interface refactoring by @eliben in #521
- all: clean up now unused types Generation and LLMResult by @eliben in #523
- all: clean up and update comments by @eliben in #524
- docs: add example to embeddings by @haochunchang in #518
- Deprecate the LLM interface by @eliben in #525
- googleai: fix test comparisons to use case-insensitive regexps by @eliben in #528
- googleai: add more model parameters and update comments by @eliben in #529
- googleai: move downloadImageData to separate file by @eliben in #530
- Link to LangChain Python (deserves credit) by @carsonkahn-external in #509
- vectorstores: Weaviate make additional fields configurable by @jvgrootveld in #522
- ollama: add WithHttpClient option by @elnoro in #505
- googleai: propagate more options and add test by @eliben in #532
- llms: configure multiple response candidates for models that support them by @eliben in #533
- vectorstores: added pgvector example by @elnoro in #534
- weaviate: add option to deduplicate documents while adding by @corani in #527
- weaviate: honor vectorstores.WithEmbedder by @corani in #526
- vectorstores: pgvector add option WithConn by @Abirdcfly in #499
- memory: fix cutMessages in ConversationWindowBuffer by @Abirdcfly in #506
- textsplitter: render code blocks and reference links by @corani in #493
- templates: Add f-string based templating implementation by @chyroc in #479
- agents: add openai functions agent by @lujingxuansc in #459
- bug fix: openai_functions_agent not compatible with the new llms.Model interface by @devinyf in #536
- llms: rename convenience function to GenerateFromSinglePrompt by @eliben in #537
- googleai: test GenerateFromSinglePrompt convenience function by @eliben in #538
- docs: add pgvector page by @elnoro in #535
- googleai: add initial Vertex (GCP) implementation of Model by @eliben in #540
- googleai: move the PaLM provider into googleai by @eliben in #541
- embeddings: add cybertron local embeddings by @corani in #531
- googleai: add embeddings to vertex by @eliben in #546
- googleai: refactor to better separate generated code by @eliben in #547
- huggingface: allows to set custom inference endpoint by @mheers in #545
- cybertron: add example for cybertron embeddings by @corani in #543
- Move utility function by @eliben in #552
- googleai: add codegen tool to generate vertex.go from googleai.go by @eliben in #553
- googleai: clean up comments and order files with consistent naming by @eliben in #554
- llms: officially deprecate Call method on the interface by @eliben in #555
- llms: Add convenience helper for text parts by @tmc in #549
- feat: Added Qdrant vectorstore support by @Anush008 in #544
- googleai: rename constructors to New for consistency by @eliben in #570
- llms: convenience methods to create Parts by @eliben in #571
- embeddings: fix variable typo in huggingface_test by @ion232 in #569
- vectorstores: Wrapped the PGVector store init function in a single transaction by @pieterclaerhout in #563
- vectorstores: Added a unique constraint for the collection name when using PGVector by @pieterclaerhout in #559
- vectorstores: Added an option to PGVector to set the collection metadata by @pieterclaerhout in #557
- docs: add example and update conceptual guide URL for agents by @haochunchang in #539
- examples: add new vertex and googleai examples by @eliben in #572
- docs: qdrant-examples by @Anush008 in #568
- vectorstores: Implemented support for deduplicating documents when adding for PGVector by @pieterclaerhout in #566
- Update openai examples to new APIs by @eliben in #573
- examples: use llms.TextPart helper when it's useful by @eliben in #574
- bump examples dependency to v0.1.4-alpha.0 by @eliben in #575
- examples: update all to new llms interfaces by @eliben in #576
- vertex: add tests by @eliben in #582
- googleai: share tests between the two main providers by @eliben in #584
- googleai: add tests by @eliben in #586
- vectorstores: Added the missing comment on the exported WithCollectionMetadata function by @pieterclaerhout in #578
- vectorstores: Added an option to specify the vector dimensions for the embeddings by @pieterclaerhout in #579
- googleai: add test with BinaryPart image by @eliben in #587
- readme: update example with non-deprecated call by @eliben in #588
- vectorstores: Removed the custom ID option for embeddings when using PGVector by @pieterclaerhout in #590
New Contributors
- @ctrlaltdel121 made their first contribution in #491
- @mrothroc made their first contribution in #497
- @haochunchang made their first contribution in #518
- @carsonkahn-external made their first contribution in #509
- @jvgrootveld made their first contribution in #522
- @elnoro made their first contribution in #505
- @lujingxuansc made their first contribution in #459
- @devinyf made their first contribution in #536
- @mheers made their first contribution in #545
- @Anush008 made their first contribution in #544
- @ion232 made their first contribution in #569
- @pieterclaerhout made their first contribution in #563
Full Changelog: v0.1.3...v0.1.4