Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,27 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [QIRRELCONTEXT IMPLEMENTATION 0.2.0]

### Added
- QirrelContext as the canonical context
- Namespaced fields: meta (requestId, timestamp, source, trace), memory (shortTerm, longTerm, cache), and llm (model, temperature, safety)
- JSON serializability support for context persistence and transport
- Backward compatibility safeguards for existing integrations

### Changed
- Replaced all IntentResult references with QirrelContext throughout codebase
- Updated all processors (clean, extract, normalize, segment, advClean) to use QirrelContext
- Modified LLM components and adapters to work with new context structure
- Updated API functions to return QirrelContext instead of IntentResult
- Refactored documentation to reflect new context architecture
- Updated test suite to work with QirrelContext structure

### Removed
- Deprecated IntentResult interface and all related type definitions
- Legacy processing patterns that bypassed canonical context

## [QIRREL UPDATE 0.1.0]

### Added
- Comprehensive documentation restructure with modular approach
Expand Down Expand Up @@ -53,4 +73,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
- Performance issues by removing heavy regex usage
- Type safety throughout the codebase
- Type safety throughout the codebase
6 changes: 3 additions & 3 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npm install qirrel
```ts
import { processText } from 'qirrel';
const result = await processText('Contact John at john@example.com or call +1-555-123-4567');
console.log(result.entities);
console.log(result.data?.entities);
// [
// { type: 'email', value: 'john@example.com', ... },
// { type: 'phone', value: '+1-555-123-4567', ... }
Expand All @@ -36,7 +36,7 @@ console.log(result.entities);
```ts
import { processText } from 'qirrel';
const result = await processText('Visit https://example.com for more info. Price: $29.99');
console.log(result.entities);
console.log(result.data?.entities);
// [
// { type: 'url', value: 'https://example.com', ... },
// { type: 'number', value: '29.99', ... }
Expand All @@ -49,7 +49,7 @@ console.log(result.entities);
import { Pipeline } from 'qirrel';
const pipeline = new Pipeline();
const result = await pipeline.process('Check out https://github.com and email support@example.com');
console.log(result.entities);
console.log(result.data?.entities);
```

## LLM Integration
Expand Down
68 changes: 54 additions & 14 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading