open-index/open-npm huggingface dataset:
npm package: @sftech/nestjs-prompt
Description: This library provides a RESTApi for creating and managing prompts to be used with LLMs. It depend on the @sftech/nestjs-db library.   For installation run the following command:
Latest version: 0.0.13

# nestjs-prompt

This library provides a RESTApi for creating and managing prompts to be used with LLMs. It depend on the @sftech/nestjs-db library.  
For installation run the following command:

```bash
npm install @sftech/nestjs-core @sftech/nestjs-db @sftech/nestjs-prompt
```

Afterwards you can use the library in your nestjs application. Therefore import the NestJsPromptModule in your app.module.ts:

```ts
import { NestjsDbModule, DatabaseOptionsMapper } from '@sftech/nestjs-db';
import { NestjsPromptModule } from '@sftech/nestjs-prompt';
import { NestJsCoreModule } from '@sftech/nestjs-core';

...

@Module({
	imports: [NestJsCoreModule.register(), NestjsDbModule.register(DatabaseOptionsMapper.map()), NestjsPromptModule.register()],
	providers: [],
	...
})
export class AppModule {
}
````

On the next startup of your application the database will be created and the tables for the prompt library will be created.
Once application is started you can use the prompting endpoints.
npm package: @sftech/ng-news
Description: Angular library for consuming the ai-news API and displaying articles in a paginated list.
Latest version: 0.0.3

# @sftech/ng-news

Angular library for consuming the ai-news API and displaying articles in a paginated list.

## Installation

```bash
npm install @sftech/ng-news
```

## Configuration

Add `NewsModule.forRoot()` to your `app.config.ts`:

```typescript
import { NewsModule } from '@sftech/ng-news';

export function appConfig(config: IAppConfig): ApplicationConfig {
    return {
        providers: [
            // ...other providers
            importProvidersFrom(NewsModule.forRoot(config)),
        ],
    };
}
```

Add the `NEWS_API_URL` to your configuration file (e.g., `config.json`):

```json
{
    "NEWS_API_URL": "http://localhost:3000"
}
```

## Routing

Add the news routes to your application:

```typescript
import { Route } from '@angular/router';

export const appRoutes: Route[] = [
    // ...other routes
    {
        path: 'news',
        loadChildren: () => import('@sftech/ng-news').then((m) => m.newsRoutes),
    },
];
```

## Features

- Paginated article list using OData queries
- Configurable API URL via application configuration
- German UI labels (consistent with existing codebase)
- Based on `ng-shared` base components (`BaseListComponent`, `BaseDbApiService`)
- PrimeNG table with responsive columns
- Article titles link to original source URLs

## Article Fields

| Field | Description |
|-------|-------------|
| `title` | Article title (links to original URL) |
| `source` | News source |
| `publishedAt` | Publication date |
| `summaryShort` | Short summary |
| `summary` | Full summary |
| `summaryEli5` | Simple explanation |
| `url` | Original article URL |
| `tags` | Article tags |

## Dependencies

- `@angular/common` >= 19.0.0
- `@angular/core` >= 19.0.0
- `@sftech/ng-shared` >= 1.0.0
- PrimeNG (Table, Panel components)

## API Requirements

The library expects the ai-news API to be running and accessible at the configured `NEWS_API_URL`.

**Required Endpoint:**
- `GET /articles/odata` - Returns paginated articles with OData query support

**Response Format:**
```typescript
{
    status: number;
    data: {
        items: ArticleResponseDto[];
        pagination: {
            totalPages: number;
            pageSize: number;
            totalElements: number;
            page: number;
            isFirstPage: boolean;
            isLastPage: boolean;
        };
    };
}
```

## Development

### Build

```bash
npx nx build ng-news
```

### Test

```bash
npx nx test ng-news
```

### Lint

```bash
npx nx lint ng-news
```

## License

MIT
npm package: @sftech/ng-orchestrator
Description: Angular library for AI agent orchestration — admin interface for agents, prompts, and chat.
Latest version: 1.0.4

# @sftech/ng-orchestrator

Angular library for AI agent orchestration — admin interface for agents, prompts, and chat.

## Installation

```bash
npm install @sftech/ng-orchestrator
```

## Peer Dependencies

- `@angular/common` >= 19.0.0
- `@angular/core` >= 19.0.0
- `@sftech/ng-shared` >= 1.0.0
- `@sftech/ng-auth` >= 1.0.0
- PrimeNG >= 19.0.0
- ngx-markdown >= 19.0.0

## Configuration

Add `OrchestratorModule.forRoot()` to your `app.config.ts`:

```typescript
import { OrchestratorModule } from '@sftech/ng-orchestrator';
import { IAppConfig } from '@sftech/ng-shared';

export function appConfig(config: IAppConfig): ApplicationConfig {
    return {
        providers: [
            importProvidersFrom(OrchestratorModule.forRoot(config)),
        ],
    };
}
```

The library reads the following keys from `IAppConfig`:

| Key | Description | Default |
|-----|-------------|---------|
| `ORCHESTRATOR_API_URL` | Orchestrator API base URL | `http://localhost:3010` |
| `ORCHESTRATOR_DB_API_URL` | Orchestrator DB API base URL | `http://localhost:3012` |

## Routing

```typescript
import { Route } from '@angular/router';

export const appRoutes: Route[] = [
    {
        path: 'orchestrator',
        loadChildren: () => import('@sftech/ng-orchestrator').then((m) => m.orchestratorRoutes),
    },
];
```

### Route Structure

- `/orchestrator/chats` — Chat interface (protected by `authenticationGuard`)
- `/orchestrator/admin/agents` — Agent management (protected by `adminGuard`)
- `/orchestrator/admin/prompts` — Prompt management (protected by `adminGuard`)

## Features

- **Agent Management**: CRUD for AI agents with LLM configuration (provider, model, temperature, timeout)
- **Prompt Management**: System prompt templates with history tracking
- **Chat Interface**: Real-time chat with AI agents, agent selection, message rendering with Markdown
- **RAG Upload**: Document upload for Retrieval-Augmented Generation per agent
- **MCP Tools**: Model Context Protocol tool management per agent

## Key Services

- `AgentService` — Agent CRUD operations
- `PromptService` — Prompt CRUD operations
- `PromptHistoryService` — Prompt version history
- `ChatService` — Chat session management
- `AgentRunService` — Agent execution tracking
- `OrchestratorService` — Core orchestrator API (tools, chat execution)

## Development

```bash
npx nx build ng-orchestrator
npx nx lint ng-orchestrator
```

## License

MIT