You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add comprehensive documentation and API reference for NLWebNet
- Introduced README.md with guides for getting started, development, and deployment.
- Created api-reference.md detailing endpoints, request/response formats, and usage examples.
- Added development-guide.md outlining project structure, coding conventions, and testing practices.
- Updated todo.md with recent additions and project status, including demo setup guide and AI integration.
A .NET implementation of the [NLWeb protocol](https://github.com/microsoft/NLWeb) for building natural language web interfaces. This project provides both a reusable library and a demo application showcasing the NLWeb standard.
11
11
12
12
> **⚠️ PROOF OF CONCEPT - NOT PRODUCTION READY**
13
-
>
13
+
>
14
14
> This is an experimental implementation created for **testing and evaluation purposes only**. While functional, this library is not intended for production use and should be considered a proof of concept to demonstrate NLWeb protocol capabilities in .NET environments.
15
15
>
16
16
> **Use cases:**
17
+
>
17
18
> - 🧪 Protocol evaluation and experimentation
18
19
> - 📚 Learning and understanding NLWeb concepts
19
20
> - 🔬 Research and development prototyping
20
21
> - 🎯 Testing integration patterns with AI services
21
22
>
22
23
> **Not recommended for:**
24
+
>
23
25
> - ❌ Production applications
24
26
> - ❌ Critical business systems
25
27
> - ❌ Public-facing services
@@ -39,7 +41,7 @@ This implementation follows the [official NLWeb specification](https://github.co
├── deployment/ # 🚀 Deployment and infrastructure files
53
-
│ ├── azure/ # Azure deployment (Bicep templates)
54
-
│ ├── kubernetes/ # Kubernetes manifests and Helm charts
55
-
│ ├── docker/ # Docker and Docker Compose files
56
-
│ └── scripts/ # Deployment and validation scripts
57
-
├── doc/ # 📚 Documentation
58
-
└── tests/ # 🧪 Unit and integration tests
59
-
└── NLWebNet.Tests/ # 📋 xUnit test project
54
+
├── doc/ # � Documentation and setup guides
55
+
│ ├── demo-setup-guide.md # 🔧 Complete AI integration setup guide
56
+
│ ├── manual-testing-guide.md # 🧪 API testing instructions
57
+
│ └── todo.md # 📋 Implementation status and roadmap
58
+
├── tests/ # 🧪 Unit and integration tests
59
+
│ └── NLWebNet.Tests/ # 📋 MSTest test project (39 tests)
60
+
├── helm/ # ⚙️ Helm charts for Kubernetes
61
+
├── k8s/ # ⚙️ Kubernetes manifests
62
+
├── deploy/ # 🚀 Azure deployment templates
63
+
└── scripts/ # �️ Build and deployment scripts
60
64
```
61
65
62
66
## 🔄 NLWeb Protocol Flow
@@ -164,7 +168,7 @@ graph TB
164
168
165
169
## 🚀 Quick Start
166
170
167
-
> **📋 Note**: This library is provided for **testing and evaluation purposes only**. Please review the development status above before integrating into any project.
171
+
> **📋 Note**: This library is provided for **testing and evaluation purposes only**. This is alpha-quality software that may contain bugs or incomplete features. Please review the development status section before integrating into any project.
-**Interactive Demo** (`/nlweb`): UI for testing NLWeb queries
224
228
- Query input with natural language questions
225
229
- Mode selection (List, Summarize, Generate)
226
-
- Streaming toggle option
227
-
-*Note: Core NLWeb functionality is under development - currently shows placeholder responses*
230
+
- Streaming responses with real-time display
231
+
-API testing interface
228
232
-**API Documentation**: OpenAPI specification for `/ask` and `/mcp` endpoints
229
-
-*Note: API endpoints are planned but not yet implemented*
233
+
234
+
> **🔧 Real AI Integration**: The demo uses mock responses by default. For actual AI-powered responses, see the [Complete Setup Guide](doc/demo-setup-guide.md) for Azure OpenAI and OpenAI API integration.
230
235
231
236
### Using the Library
232
237
233
-
> **⚠️ For testing and evaluation only - not recommended for production use**
238
+
> **⚠️ Alpha software - for evaluation and testing only**
234
239
235
240
Install the NuGet package:
236
241
@@ -261,16 +266,16 @@ app.MapNLWebNet();
261
266
262
267
### Testing NLWeb Features
263
268
264
-
The demo application at `http://localhost:5037` provides comprehensive testing of all NLWeb protocol features:
269
+
The demo application at `http://localhost:5037` provides testing of core NLWeb protocol features:
265
270
266
271
**Interactive Demo Pages:**
267
272
268
273
-**Home Page (`/`)**: Project overview and navigation to demo features
269
-
-**NLWeb Demo (`/nlweb`)**: Advanced query interface with tabbed sections:
274
+
-**NLWeb Demo (`/nlweb`)**: Interactive query interface with tabbed sections:
270
275
-**Query Tab**: Interactive form with all NLWeb parameters (query, mode, site, etc.)
@@ -437,50 +478,40 @@ Pre-built images available soon. For now, build locally:
437
478
438
479
## 🛠️ Development Status
439
480
440
-
This is a**proof of concept implementation** of the NLWeb protocol, available as an **alpha prerelease package** for testing and evaluation purposes only.
481
+
This is an**alpha implementation** of the NLWeb protocol, provided as an **experimental package** for testing and evaluation purposes.
441
482
442
-
### ⚠️ EXPERIMENTAL SOFTWARE - NOT PRODUCTION READY
483
+
### ⚠️ ALPHA SOFTWARE - EXPERIMENTAL RELEASE
443
484
444
-
**✅ Completed (Phases 1-11) - For Testing & Evaluation:**
485
+
**✅ Current Implementation Status:**
445
486
446
-
-[x]**Core Library**: Complete NLWeb protocol implementation with Minimal API endpoints
447
-
-[x]**Data Models**: Request/response models with validation and JSON serialization
487
+
-[x]**Core Library**: Basic NLWeb protocol implementation with Minimal API endpoints
488
+
-[x]**Data Models**: Essential request/response models with validation and JSON serialization
448
489
-[x]**Business Logic**: Service layer with Microsoft.Extensions.AI integration
449
-
-[x]**NuGet Package**: Published as alpha prerelease at [nuget.org/packages/NLWebNet](https://www.nuget.org/packages/NLWebNet/)
450
-
-[x]**CI/CD Pipeline**: Automated build, test, validation, and publishing to NuGet.org
451
-
-[x]**Documentation**: Comprehensive README, API documentation, and usage examples
490
+
-[x]**MCP Integration**: Basic Model Context Protocol support with tools and prompts
491
+
-[x]**Demo Application**: .NET 9 Blazor Web App with interactive components for testing
492
+
-[x]**AI Integration**: Setup guides for Azure OpenAI and OpenAI API (experimental)
493
+
-[x]**Testing**: Unit tests and manual testing guides (basic coverage)
494
+
-[x]**Configuration**: CORS, AI services, and multi-environment support
495
+
-[x]**Documentation**: API documentation and setup guides (evolving)
496
+
-[x]**CI/CD**: Basic automated build, test, and validation pipeline
497
+
-[x]**NuGet Package**: Alpha prerelease at [nuget.org/packages/NLWebNet](https://www.nuget.org/packages/NLWebNet/)
452
498
453
-
**🎯 Intended Use Cases:**
499
+
**🎯 Suitable For:**
454
500
455
501
- Protocol evaluation and experimentation
456
502
- Learning NLWeb concepts and implementation patterns
457
503
- Research and development prototyping
458
-
- Testing integration with AI services and data backends
504
+
- Testing integration patterns with AI services
505
+
- Exploring .NET AI abstractions and Model Context Protocol
459
506
460
-
**❌ Not Suitable For:**
507
+
**⚠️ Alpha Release Limitations:**
461
508
462
-
- Production applications or critical business systems
463
-
- Public-facing services or enterprise applications
464
-
- Applications requiring commercial support or SLAs
465
-
-[x]**MCP Integration**: Full Model Context Protocol support with tools and prompts
466
-
-[x]**Demo Application**: Modern .NET 9 Blazor Web App with interactive components
467
-
-[x]**Testing**: 39 unit tests with 100% pass rate plus comprehensive manual testing guides
468
-
-[x]**Configuration**: CORS, AI services, and multi-environment support
469
-
-[x]**Documentation**: XML documentation, README, and API usage examples
470
-
-[x]**CI/CD**: GitHub Actions workflow for build, test, and validation
471
-
-[x]**NuGet Package**: Fully functional package with working extension methods (0.1.0-alpha.3)
472
-
-[x]**API Exposure**: Extension methods accessible via `using NLWebNet;` (Microsoft pattern)
473
-
-[x]**End-to-End Validation**: Complete package installation and functionality testing
474
-
-[x]**Package Metadata**: Enhanced NuGet metadata with title, copyright, repository type for professional presentation
475
-
476
-
**📋 Next Steps (Phase 11):**
477
-
478
-
-[x] Enhanced package metadata and improved Package Manager display
479
-
-[ ] Health check integration
480
-
-[ ] Performance monitoring hooks
481
-
-[ ] Rate limiting support
482
-
-[ ] Docker containerization
483
-
-[ ] Azure deployment templates
509
+
-**Experimental software** - may contain bugs or incomplete features
510
+
-**API surface may change** in future releases without notice
511
+
-**Not recommended for production use** - suitable for evaluation and experimentation only
512
+
-**Limited support** - community-driven development with no guarantees
513
+
-**Performance and reliability** not yet optimized for production workloads
514
+
-**Feature completeness** varies - some advanced NLWeb features may be basic implementations
484
515
485
516
## 🤝 Contributing
486
517
@@ -493,13 +524,27 @@ This project follows the [NLWeb specification](https://github.com/microsoft/NLWe
493
524
## 📖 Related Resources
494
525
495
526
-**[NLWeb Official Repository](https://github.com/microsoft/NLWeb)** - Specification and reference implementation
527
+
-**[Complete Demo Setup Guide](doc/demo-setup-guide.md)** - Step-by-step AI integration instructions
Welcome to the NLWebNet documentation directory. This contains comprehensive guides, setup instructions, and reference materials for using and developing with NLWebNet.
4
+
5
+
## 📚 Available Documentation
6
+
7
+
### 🚀 Getting Started
8
+
9
+
-**[Demo Setup Guide](demo-setup-guide.md)** - Complete step-by-step guide for setting up the demo application with real AI integration (Azure OpenAI, OpenAI API)
10
+
-**[Manual Testing Guide](manual-testing-guide.md)** - API testing instructions with curl examples and sample requests
11
+
-**[API Reference](api-reference.md)** - Comprehensive API documentation with endpoints, parameters, and examples
12
+
13
+
### 🔧 Development & Testing
14
+
15
+
-**[Development Guide](development-guide.md)** - Complete developer guidance for contributing to NLWebNet
16
+
-**[TODO & Implementation Status](todo.md)** - Current project status, completed features, and future roadmap
17
+
-**[Package Validation](package-validation.md)** - Guide for validating the NuGet package functionality
18
+
-**[Sample Requests](sample-requests.http)** - HTTP request samples for testing the API endpoints
19
+
20
+
### 📊 Monitoring & Operations
21
+
22
+
-**[Monitoring Demo](monitoring-demo.md)** - Guide for setting up monitoring and observability
23
+
24
+
### 🚀 Deployment
25
+
26
+
-**[Deployment Guide](deployment/README.md)** - Comprehensive deployment instructions for Docker, Kubernetes, and Azure
27
+
28
+
## 🎯 Quick Navigation
29
+
30
+
### For New Users
31
+
32
+
1. Start with the main [README.md](../README.md) for project overview
33
+
2. Follow the [Demo Setup Guide](demo-setup-guide.md) to get the demo running
34
+
3. Use the [Manual Testing Guide](manual-testing-guide.md) to test API functionality
35
+
4. Reference the [API Reference](api-reference.md) for detailed endpoint documentation
36
+
37
+
### For Developers
38
+
39
+
1. Review the [Development Guide](development-guide.md) for comprehensive coding guidelines
40
+
2. Check the [TODO & Implementation Status](todo.md) for current project state
41
+
3. Use [Package Validation](package-validation.md) for testing the library
42
+
4. Reference [Sample Requests](sample-requests.http) for API development
43
+
44
+
### For DevOps/Deployment
45
+
46
+
1. Follow the [Deployment Guide](deployment/README.md) for production deployments
47
+
2. Configure monitoring with [Monitoring Demo](monitoring-demo.md)
48
+
49
+
## 📖 External Documentation
50
+
51
+
-**[NLWeb Protocol Specification](https://github.com/microsoft/NLWeb)** - Official NLWeb specification
-**[Microsoft.Extensions.AI](https://learn.microsoft.com/en-us/dotnet/ai/)** - .NET AI abstractions documentation
54
+
55
+
## 🛠️ Documentation Status
56
+
57
+
> **⚠️ Alpha Documentation**: Like the project itself, this documentation is evolving. Some guides may be incomplete or subject to change as the project develops.
58
+
59
+
### Documentation Quality
60
+
61
+
- ✅ **Demo Setup Guide**: Comprehensive with troubleshooting
62
+
- ✅ **Manual Testing Guide**: Complete with examples
63
+
- ✅ **API Reference**: Detailed endpoint documentation with examples
64
+
- ✅ **Development Guide**: Complete coding guidelines and best practices
0 commit comments