ishaan-jaff
|
a833d48a51
|
new batch completion function
|
2023-09-19 13:29:41 -07:00 |
|
ishaan-jaff
|
ede2da25bb
|
petals on main
|
2023-09-19 09:27:28 -07:00 |
|
ishaan-jaff
|
7527b7ba0d
|
petals fixes
|
2023-09-19 09:24:34 -07:00 |
|
ishaan-jaff
|
38348f9390
|
add petals to init and main
|
2023-09-19 09:24:34 -07:00 |
|
Krrish Dholakia
|
d078d2f37e
|
bug fix for litellm proxy implementation
|
2023-09-18 12:54:56 -07:00 |
|
Krrish Dholakia
|
df8aeeed02
|
bump version
|
2023-09-18 12:27:18 -07:00 |
|
Krrish Dholakia
|
3d2ffcb28b
|
add support for litellm proxy calls
|
2023-09-18 12:15:21 -07:00 |
|
Krish Dholakia
|
9800c70a47
|
Merge pull request #387 from WilliamEspegren/main
Rebuild stream chunks to openAI object
|
2023-09-18 09:30:42 -07:00 |
|
ishaan-jaff
|
242cdd5462
|
doc string for completion
|
2023-09-18 09:03:26 -07:00 |
|
ishaan-jaff
|
c615af246f
|
add doc string for a completion
|
2023-09-18 08:49:27 -07:00 |
|
WilliamEspegren
|
02859ba9a9
|
Added function_call support to stream_chunk_builder
|
2023-09-17 19:42:55 +02:00 |
|
WilliamEspegren
|
ca42b4c942
|
if "function_call" find name
|
2023-09-17 19:02:50 +02:00 |
|
WilliamEspegren
|
33d170b9b6
|
remove unused parameter
|
2023-09-17 13:12:49 +02:00 |
|
WilliamEspegren
|
4bf7272885
|
rebuild chunks to openAI response
Rebuild the cunks, but does not include the "usage"
|
2023-09-17 13:07:54 +02:00 |
|
WilliamEspegren
|
684b11b456
|
add stream_chunk_builder function
|
2023-09-17 10:26:34 +02:00 |
|
Krrish Dholakia
|
d6dc825fa7
|
bump version and clean print statements
|
2023-09-16 20:59:24 -07:00 |
|
Krrish Dholakia
|
6430bdb636
|
fix cohere streaming
|
2023-09-16 19:36:41 -07:00 |
|
Krrish Dholakia
|
e7974d95d5
|
fix streaming formatting for non-openai models
|
2023-09-16 19:20:07 -07:00 |
|
Krrish Dholakia
|
d80fe482ce
|
except custom openai proxy
|
2023-09-16 16:15:44 -07:00 |
|
Krrish Dholakia
|
925ec2ded9
|
fixes to testing
|
2023-09-16 11:40:01 -07:00 |
|
Krrish Dholakia
|
0a1f3af840
|
ensure streaming format is exactly the same as openai
|
2023-09-16 10:35:20 -07:00 |
|
ishaan-jaff
|
9ee3faed5b
|
streaming for amazon titan bedrock
|
2023-09-16 09:57:16 -07:00 |
|
Toni Engelhardt
|
d181ab86b0
|
fix setting mock response
|
2023-09-16 17:03:32 +01:00 |
|
ishaan-jaff
|
75de6a3516
|
bump version
|
2023-09-15 14:15:09 -07:00 |
|
ishaan-jaff
|
595dd46dbc
|
tests
|
2023-09-15 13:38:26 -07:00 |
|
ishaan-jaff
|
ee9e2af570
|
add new tg ai llm check
|
2023-09-15 09:29:46 -07:00 |
|
ishaan-jaff
|
486fe00ba6
|
add bedrock to main and init
|
2023-09-14 13:51:09 -07:00 |
|
Krrish Dholakia
|
22fb574009
|
move cohere to http endpoint
|
2023-09-14 11:17:38 -07:00 |
|
Krrish Dholakia
|
52a02c719a
|
fixes to mock completion
|
2023-09-14 10:03:57 -07:00 |
|
Krish Dholakia
|
1e9097d997
|
Merge pull request #371 from promptmetheus/simplify-mock-logic
Simplify mock logic
|
2023-09-14 09:23:45 -07:00 |
|
Krrish Dholakia
|
bd01f70257
|
adding support for nlp cloud
|
2023-09-14 09:19:34 -07:00 |
|
ishaan-jaff
|
3d0b1428d0
|
pass api_type as an arg in ChatCompl
|
2023-09-14 08:48:59 -07:00 |
|
Toni Engelhardt
|
878dcb551d
|
simplify mock logic
Adds shortcut for the mock_completion method.
|
2023-09-14 16:13:31 +01:00 |
|
Toni Engelhardt
|
90df061ffb
|
add kwargs to mock_completion
Allows replacing `completion` with `mock_completion` without encountering errors.
|
2023-09-14 10:27:19 +01:00 |
|
Krrish Dholakia
|
3496bebdc5
|
map finish reason
|
2023-09-13 19:22:38 -07:00 |
|
Krrish Dholakia
|
f493779a97
|
huggingface conversational task support
|
2023-09-13 13:45:23 -07:00 |
|
ishaan-jaff
|
0bd5822a97
|
remove verify_access_key from main
|
2023-09-12 11:50:30 -07:00 |
|
Ishaan Jaff
|
5cec386ae2
|
Merge branch 'main' into main
|
2023-09-12 11:43:03 -07:00 |
|
Krrish Dholakia
|
3f6b194b71
|
raise better exception if llm provider isn't passed in or inferred
|
2023-09-12 11:28:50 -07:00 |
|
ishaan-jaff
|
56fee1b2a1
|
fix azure logging
|
2023-09-12 10:35:47 -07:00 |
|
ishaan-jaff
|
78b7bcb49d
|
use api_version for azure completion call
|
2023-09-12 10:35:24 -07:00 |
|
William Espegren
|
09022ad61d
|
util: verify_access_key
Verify that the user provided a valid openai token by creating a request to the openAI endpoint.
|
2023-09-12 18:48:23 +02:00 |
|
Ishaan Jaff
|
029c3cb3b1
|
Merge pull request #330 from Taik/main
Add support for overriding API type for Azure calls
|
2023-09-11 17:04:25 -07:00 |
|
Krrish Dholakia
|
cd12e95526
|
code cleanup
|
2023-09-11 16:32:17 -07:00 |
|
Krrish Dholakia
|
f944eaee4b
|
mock responses for streaming
|
2023-09-11 16:30:29 -07:00 |
|
Thinh Nguyen
|
92a1402663
|
Add support for overriding API type for Azure calls
|
2023-09-11 16:28:00 -07:00 |
|
Krrish Dholakia
|
9f7c1d3885
|
add mock request to docs
|
2023-09-11 12:19:13 -07:00 |
|
ishaan-jaff
|
c4f58695d4
|
begin using litellm.api_key
|
2023-09-11 07:32:20 -07:00 |
|
Krrish Dholakia
|
1dd77ff176
|
update testing
|
2023-09-09 16:35:38 -07:00 |
|
Krrish Dholakia
|
4319b1011c
|
add api manager
|
2023-09-09 15:55:38 -07:00 |
|