Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs update #34

Merged
merged 4 commits into from
Jul 25, 2024
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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ AI models a new attack vector for hackers. They can use AI models to generate ma
## Solution
OpenShield a transparent proxy that sits between your AI model and the client. It provides rate limiting, content filtering, and keyword filtering for AI models.

![Input flow](https://github.com/openshieldai/openshield/docs/assets/input.svg)

![Output flow](https://github.com/openshieldai/openshield/docs/assets/output.svg)

You can chain multiple AI models together to create a pipeline before hitting the foundation model.

## Features
Expand Down
136 changes: 136 additions & 0 deletions docs/assets/input.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
130 changes: 130 additions & 0 deletions docs/assets/output.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions integrations/huggingface/index.js

This file was deleted.

17 changes: 0 additions & 17 deletions integrations/openmeter/package.json

This file was deleted.

27 changes: 0 additions & 27 deletions integrations/openmeter/src/index.ts

This file was deleted.

7 changes: 4 additions & 3 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ package server
import (
"context"
"fmt"
"github.com/gofiber/fiber/v2/middleware/limiter"
"github.com/openshieldai/openshield/lib/openai"
"golang.org/x/sync/errgroup"
"os"
"os/signal"
"syscall"
"time"

"github.com/gofiber/fiber/v2/middleware/limiter"
"github.com/openshieldai/openshield/lib/openai"
"golang.org/x/sync/errgroup"

"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/logger"
"github.com/gofiber/fiber/v2/middleware/requestid"
Expand Down