* vectorstores/milvus: complete migration to new SDK v2 client (#1397)
Complete the migration from the archived milvus-sdk-go/v2 to the new
github.com/milvus-io/milvus/client/v2 SDK as tracked in issue #1397.
**New Implementation**:
- Add complete vectorstores/milvus/v2/ package with new SDK client
- Implement all core vectorstore operations (Add, Search, Delete, etc.)
- Add comprehensive test suite with unit and integration tests
- Include migration example and documentation
**Key Changes**:
- New milvus.go with updated client initialization and operations
- Updated options.go with v2 SDK configuration patterns
- Added example_migration.go demonstrating upgrade path
- Comprehensive README.md with migration guide
- Updated go.mod/go.sum with new SDK dependencies
**Documentation**:
- Add docs/package-lock.json for documentation build dependencies
- Provide clear migration path from v1 to v2 implementation
- Maintain backward compatibility where possible
This completes the migration work started in earlier commits and provides
a full replacement for the deprecated SDK while maintaining the same
vectorstore interface.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* style: apply gofmt formatting to v2 package files
* fix: remove unused async field from v2 Store struct
---------
Co-authored-by: Claude <noreply@anthropic.com>
* docs: fix outdated API references and examples across documentation
Update documentation to reflect current API patterns and fix outdated code examples:
- Update Error struct definition with Provider and Details fields in architecture docs
- Fix code examples to use CallOptions (WithTemperature, WithMaxTokens) instead of constructor options
- Update chain execution pattern from chain.Run() to chains.Run()
- Add context parameter to memory interface methods
- Update Vertex AI examples to use new googleai/vertex package structure
- Change from vertexai.New() to vertex.New() with updated option names
- Fix import paths for Google AI and Vertex AI integration
- Update minimum Go version requirement from 1.21 to 1.23
These changes ensure documentation examples work with the current codebase and provide accurate guidance for developers.
* docs: expand integration documentation and fix remaining API references
- Add comprehensive examples to chat and embeddings integration pages
- Fix missing context imports in LLM provider configuration
- Update Vertex AI examples to use correct vertex.New() syntax
- Fix broken link in CloudSQL vectorstore README
- Transform placeholder pages into useful developer resources
* docs: fix relative link in embeddings integrations page
docs: complete basic chat application tutorial with progressive examples
Completely rewrite the basic chat application tutorial with a structured, step-by-step approach:
**Tutorial Documentation**:
- Restructure tutorial into 6 clear progressive steps
- Add proper setup instructions and prerequisites
- Include code examples for each step with explanations
- Improve clarity and flow from basic to advanced concepts
**Complete Working Example**:
- Add `examples/tutorial-basic-chat-app/` with full implementation
- Include separate files for each tutorial step (step3-step6)
- Add comprehensive README with usage instructions
- Support multiple execution modes via command-line arguments
**Progressive Implementation Steps**:
- Step 3: Basic single-shot LLM interaction
- Step 4: Interactive chat loop without memory
- Step 5: Chat with manual conversation memory management
- Step 6: Advanced chat using chains with automatic memory
**Features Added**:
- Go module setup with proper dependencies
- Error handling and graceful exit functionality
- Multiple chat implementations demonstrating different approaches
- Clear documentation linking tutorial to working code
- Support for running individual steps or complete implementation
The tutorial now provides a complete learning path from basic LLM usage to sophisticated conversation management using LangChainGo's chains and memory systems.
* prompts: add secure template rendering with filesystem support
* prompts: add comprehensive tests and examples
- Add security effectiveness tests for all attack vectors
- Add template rendering tests with all formats
- Add filesystem template tests with MapFS
- Add prompt template examples demonstrating all features
- Improve error handling and add local package references
* docs: add comprehensive prompt template documentation
- Add prompt template user guide with security section
- Add detailed API documentation for new functions
- Update partial values documentation
- Add template-related terms to style guide
- Document migration patterns and security considerations
* prompts: split template implementations by engine type
- Move Go template implementation to templates_go.go
- Move Jinja2 template implementation to templates_jinja2.go
- Clean up imports in templates.go
- Maintain all existing functionality with better code organization
* prompts: move security tests to dedicated file with expanded coverage
- Create new security_test.go file for all template security tests
- Expand test coverage for path traversal attacks in Jinja2 templates
- Add tests for migration patterns from vulnerable to secure implementations
- Remove redundant security tests from templates_test.go
- Improve organization of test code for better maintainability
* docs: Mark unfinished parts as draft
* github: Add docs publish workflow
* github: Simplify pages deploy
* docs: set baseUrl
* docs: mark more as draft for now