File tree
Expand file treeCollapse file tree
11 files changed
+214
-48
lines changedFilter options
- generative_ai/chat_completions
Expand file treeCollapse file tree
11 files changed
+214
-48
lines changedgenerative_ai/chat_completions/chat_completions_authentication.py
Copy file name to clipboard+50Lines changed: 50 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
generative_ai/chat_completions/chat_completions_credentials_refresher.py
Copy file name to clipboardExpand all lines: generative_ai/chat_completions/chat_completions_credentials_refresher.py+8-11Lines changed: 8 additions & 11 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
18 |
| - |
| 18 | + |
19 | 19 |
|
20 | 20 |
|
21 | 21 |
|
| ||
25 | 25 |
|
26 | 26 |
|
27 | 27 |
|
28 |
| - |
29 |
| - |
| 28 | + |
| 29 | + |
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
33 | 33 |
|
34 | 34 |
|
35 | 35 |
|
36 |
| - |
37 |
| - |
| 36 | + |
38 | 37 |
|
39 | 38 |
|
40 | 39 |
|
| ||
43 | 42 |
|
44 | 43 |
|
45 | 44 |
|
46 |
| - |
47 |
| - |
48 |
| - |
| 45 | + |
49 | 46 |
|
50 |
| - |
| 47 | + |
51 | 48 |
|
52 | 49 |
|
53 | 50 |
|
54 | 51 |
|
55 | 52 |
|
56 | 53 |
|
57 |
| - |
| 54 | + |
58 | 55 |
|
59 | 56 |
|
60 | 57 |
|
| ||
63 | 60 |
|
64 | 61 |
|
65 | 62 |
|
66 |
| - |
| 63 | + |
67 | 64 |
|
68 | 65 |
|
generative_ai/chat_completions/chat_completions_non_streaming_image.py
Copy file name to clipboardExpand all lines: generative_ai/chat_completions/chat_completions_non_streaming_image.py+6-8Lines changed: 6 additions & 8 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
18 |
| - |
19 |
| - |
20 | 18 |
|
21 |
| - |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
22 | 23 |
|
23 | 24 |
|
24 | 25 |
|
25 | 26 |
|
26 | 27 |
|
27 |
| - |
28 |
| - |
29 | 28 |
|
30 | 29 |
|
31 |
| - |
32 |
| - |
| 30 | + |
33 | 31 |
|
34 | 32 |
|
35 | 33 |
|
36 |
| - |
| 34 | + |
37 | 35 |
|
38 | 36 |
|
39 | 37 |
|
|
generative_ai/chat_completions/chat_completions_non_streaming_text.py
Copy file name to clipboardExpand all lines: generative_ai/chat_completions/chat_completions_non_streaming_text.py+6-9Lines changed: 6 additions & 9 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
18 |
| - |
19 |
| - |
| 18 | + |
| 19 | + |
20 | 20 |
|
21 |
| - |
| 21 | + |
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 | 25 |
|
26 | 26 |
|
27 |
| - |
28 |
| - |
29 | 27 |
|
30 | 28 |
|
31 |
| - |
32 |
| - |
| 29 | + |
33 | 30 |
|
34 |
| - |
| 31 | + |
35 | 32 |
|
36 |
| - |
| 33 | + |
37 | 34 |
|
38 | 35 |
|
39 | 36 |
|
|
generative_ai/chat_completions/chat_completions_non_streaming_text_self_deployed.py
Copy file name to clipboard+52Lines changed: 52 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
generative_ai/chat_completions/chat_completions_streaming_image.py
Copy file name to clipboardExpand all lines: generative_ai/chat_completions/chat_completions_streaming_image.py+5-8Lines changed: 5 additions & 8 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
18 |
| - |
19 |
| - |
| 18 | + |
| 19 | + |
20 | 20 |
|
21 |
| - |
| 21 | + |
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 | 25 |
|
26 | 26 |
|
27 |
| - |
28 |
| - |
29 | 27 |
|
30 | 28 |
|
31 |
| - |
32 |
| - |
| 29 | + |
33 | 30 |
|
34 | 31 |
|
35 | 32 |
|
36 |
| - |
| 33 | + |
37 | 34 |
|
38 | 35 |
|
39 | 36 |
|
|
generative_ai/chat_completions/chat_completions_streaming_text.py
Copy file name to clipboardExpand all lines: generative_ai/chat_completions/chat_completions_streaming_text.py+5-8Lines changed: 5 additions & 8 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
18 |
| - |
19 |
| - |
| 18 | + |
| 19 | + |
20 | 20 |
|
21 |
| - |
| 21 | + |
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 | 25 |
|
26 | 26 |
|
27 |
| - |
28 |
| - |
29 | 27 |
|
30 | 28 |
|
31 |
| - |
32 |
| - |
| 29 | + |
33 | 30 |
|
34 | 31 |
|
35 | 32 |
|
36 |
| - |
| 33 | + |
37 | 34 |
|
38 | 35 |
|
39 | 36 |
|
|
generative_ai/chat_completions/chat_completions_streaming_text_self_deployed.py
Copy file name to clipboard+54Lines changed: 54 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
generative_ai/chat_completions/chat_completions_test.py
Copy file name to clipboardExpand all lines: generative_ai/chat_completions/chat_completions_test.py+24Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
14 | 14 |
|
15 | 15 |
|
16 | 16 |
|
| 17 | + |
17 | 18 |
|
18 | 19 |
|
19 | 20 |
|
| 21 | + |
20 | 22 |
|
21 | 23 |
|
| 24 | + |
22 | 25 |
|
23 | 26 |
|
24 | 27 |
|
25 | 28 |
|
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
26 | 36 |
|
27 | 37 |
|
28 | 38 |
|
| ||
50 | 60 |
|
51 | 61 |
|
52 | 62 |
|
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
generative_ai/chat_completions/requirements-test.txt
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 |
| - |
| 2 | + |
3 | 3 |
|
4 | 4 |
|
0 commit comments