Skip to content

Commit ee1cddc

Browse files
author
Per Kops
committed
feat: update .http sample for all new endpoints
1 parent d85122b commit ee1cddc

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed
Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
1-
@Atc.SemanticKernel.WebApp.Sample_HostAddress = http://localhost:5081
1+
@Atc.SemanticKernel.WebApp.Sample_HostAddress = https://localhost:7252
22

3-
GET {{Atc.SemanticKernel.WebApp.Sample_HostAddress}}/weatherforecast/
3+
### Ollama Text Generation - Non-Streaming
4+
GET {{Atc.SemanticKernel.WebApp.Sample_HostAddress}}/ollama/text-generation/non-streaming?ask=The%20weather%20in%20denmark%20is
45
Accept: application/json
6+
Content-Type: application/json
57

6-
###
8+
### Ollama Text Generation - Streaming
9+
GET {{Atc.SemanticKernel.WebApp.Sample_HostAddress}}/ollama/text-generation/streaming?ask=The%20weather%20in%20denmark%20is
10+
Accept: application/json
11+
Content-Type: application/json
12+
13+
### Ollama Chat Completion - Non-Streaming
14+
GET {{Atc.SemanticKernel.WebApp.Sample_HostAddress}}/ollama/chat-completion/non-streaming?ask=Say%20hi%20in%20Danish
15+
Accept: application/json
16+
Content-Type: application/json
17+
18+
### Ollama Chat Completion - Streaming
19+
GET {{Atc.SemanticKernel.WebApp.Sample_HostAddress}}/ollama/chat-completion/streaming?ask=Say%20hi%20in%20Danish
20+
Accept: application/json
21+
Content-Type: application/json
22+
23+
### Ollama Embedding Generation
24+
GET {{Atc.SemanticKernel.WebApp.Sample_HostAddress}}/ollama/embedding-generation?input=Say%20hi%20in%20Danish
25+
Accept: application/json
26+
Content-Type: application/json

0 commit comments

Comments
 (0)