Skip to content

Commit

Permalink
print update
Browse files Browse the repository at this point in the history
Signed-off-by: Devashish Lal <[email protected]>
  • Loading branch information
BLaZeKiLL committed Jan 17, 2024
1 parent 3098b5a commit b4422e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions embeddings/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ fn handle_embeddings(req: Request) -> Result<Response> {

let request: OllamaEmbeddingRequest = serde_json::from_slice(req.body())?;

println!("PROMPT: {:?}", request.prompt.as_str());

let result = generate_embeddings(
EmbeddingModel::AllMiniLmL6V2, &[request.prompt]
);
Expand Down
2 changes: 1 addition & 1 deletion spin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ spin_manifest_version = 2
# General identification information
[application]
name = "spin-o-llama"
version = "1.0.3"
version = "1.0.4"
description = "Ollama API"

[[trigger.http]]
Expand Down

0 comments on commit b4422e3

Please sign in to comment.