Skip to content

Commit

Permalink
docs: add openapi keyword to readme (#611)
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <[email protected]>
  • Loading branch information
kemingy authored Dec 12, 2024
1 parent b708ca0 commit 53b809d
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 76 deletions.
9 changes: 3 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ updates:
- package-ecosystem: "cargo" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
day: "saturday"
interval: "monthly"
reviewers:
- "kemingy"
commit-message:
Expand All @@ -18,8 +17,7 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "saturday"
interval: "monthly"
reviewers:
- "kemingy"
commit-message:
Expand All @@ -28,8 +26,7 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "saturday"
interval: "monthly"
reviewers:
- "kemingy"
commit-message:
Expand Down
113 changes: 50 additions & 63 deletions Cargo.lock

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

12 changes: 7 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@ readme = "README.md"
repository = "https://github.com/mosecorg/mosec"
description = "Model Serving made Efficient in the Cloud."
documentation = "https://docs.rs/mosec"
categories = ["science"]
keywords = ["machine-learning", "deep-learning", "cloud", "model-serving", "service"]
exclude = ["target", "examples", "tests", "scripts"]

[dependencies]
bytes = "1"
bytes = "1.9"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["local-time", "json"] }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "time", "macros", "sync", "signal", "io-util"] }
derive_more = { version = "1", features = ["display", "error", "from"] }
tokio = { version = "1.42", features = ["rt", "rt-multi-thread", "time", "macros", "sync", "signal", "io-util"] }
derive_more = { version = "1.0", features = ["display", "error", "from"] }
# MPMS that only one consumer sees each message & async
async-channel = "2.2"
prometheus-client = "0.22"
axum = { version = "0.7", default-features = false, features = ["matched-path", "original-uri", "query", "tokio", "http1", "http2"]}
async-stream = "0.3.6"
serde = "1.0"
serde_json = "1.0"
utoipa = "5"
utoipa-swagger-ui = { version = "8", features = ["axum"] }
utoipa = "5.2"
utoipa-swagger-ui = { version = "8.0", features = ["axum"] }
tower = "0.5.1"
tower-http = {version = "0.6.1", features = ["compression-zstd", "decompression-zstd", "compression-gzip", "decompression-gzip"]}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ That's it! You have just hosted your **_stable-diffusion model_** as a service!
More ready-to-use examples can be found in the [Example](https://mosecorg.github.io/mosec/examples/index.html) section. It includes:

- [Pipeline](https://mosecorg.github.io/mosec/examples/echo.html): a simple echo demo even without any ML model.
- [Request validation](https://mosecorg.github.io/mosec/examples/validate.html): validate the request with type annotation.
- [Request validation](https://mosecorg.github.io/mosec/examples/validate.html): validate the request with type annotation and generate OpenAPI documentation.
- [Multiple route](https://mosecorg.github.io/mosec/examples/multi_route.html): serve multiple models in one service
- [Embedding service](https://mosecorg.github.io/mosec/examples/embedding.html): OpenAI compatible embedding service
- [Reranking service](https://mosecorg.github.io/mosec/examples/rerank.html): rerank a list of passages based on a query
Expand Down
Loading

0 comments on commit 53b809d

Please sign in to comment.