Commit graph

13483 commits

Author SHA1 Message Date
ishaan-jaff
abb3793e50 tests 2023-09-15 13:38:26 -07:00
ishaan-jaff
3623370c7f new vert llms 2023-09-15 13:37:58 -07:00
Krrish Dholakia
be69b42428 bump version 2023-09-15 12:24:09 -07:00
ishaan-jaff
b2c4c3576c add new tg ai llm check 2023-09-15 09:29:46 -07:00
ishaan-jaff
96dbbf7422 remove tg ai print 2023-09-15 09:29:39 -07:00
ishaan-jaff
f56ab31044 new init 2023-09-15 09:05:13 -07:00
ishaan-jaff
59771012a0 update utils 2023-09-15 08:34:36 -07:00
ishaan-jaff
b75b4bcf21 add top_k + stop to litellm utils 2023-09-15 08:34:36 -07:00
Krrish Dholakia
c0e464a2f6 bump version 2023-09-14 20:01:53 -07:00
Krrish Dholakia
46e86b7433 fixes to streaming 2023-09-14 19:27:12 -07:00
Krrish Dholakia
722958a4cc fix linting errors 2023-09-14 17:24:43 -07:00
Krrish Dholakia
0b436cf767 fix streaming objects 2023-09-14 17:16:43 -07:00
Krrish Dholakia
29c3247753 bug fixes 2023-09-14 16:32:06 -07:00
Krrish Dholakia
f7e92bb0db make max budget work for openai streaming 2023-09-14 16:22:52 -07:00
ishaan-jaff
7f46cfcb22 bump version with bedrock 2023-09-14 14:54:36 -07:00
ishaan-jaff
489260b24b fix sagemaker test 2023-09-14 14:49:46 -07:00
ishaan-jaff
4a61b8e380 linting fix bedrock 2023-09-14 14:26:23 -07:00
ishaan-jaff
b290577748 testing update 2023-09-14 14:22:29 -07:00
Krrish Dholakia
73a084c19c exposing a litellm.max budget 2023-09-14 14:20:06 -07:00
ishaan-jaff
83c8d8576b bedrock.py fixes 2023-09-14 14:15:39 -07:00
ishaan-jaff
d121029a56 add bedrock tests 2023-09-14 14:15:32 -07:00
ishaan-jaff
b68e28fd05 bedrock test 2023-09-14 13:51:09 -07:00
ishaan-jaff
38bdb9335c add bedrock to main and init 2023-09-14 13:51:09 -07:00
Krish Dholakia
8c2248abba
Merge pull request #373 from promptmetheus/fix-openai-completion-model-names
fix OpenAI completion model names
2023-09-14 11:20:19 -07:00
Krrish Dholakia
3b4064a58f move cohere to http endpoint 2023-09-14 11:17:38 -07:00
Toni Engelhardt
6d998ea541
fix openai completion model names
The model names are wrong, they need to be prefixed with `text-`.
2023-09-14 18:57:48 +01:00
Krrish Dholakia
e2ea4adb84 fixes to mock completion 2023-09-14 10:03:57 -07:00
Krish Dholakia
7c9779f0ac
Merge pull request #371 from promptmetheus/simplify-mock-logic
Simplify mock logic
2023-09-14 09:23:45 -07:00
Krrish Dholakia
f98da9f13c adding support for nlp cloud 2023-09-14 09:19:34 -07:00
ishaan-jaff
61737e67a1 pass api_type as an arg in ChatCompl 2023-09-14 08:48:59 -07:00
Toni Engelhardt
900cf2c2ee
simplify mock logic
Adds shortcut for the mock_completion method.
2023-09-14 16:13:31 +01:00
Krrish Dholakia
df627aa0fb fixes to testing 2023-09-14 06:49:12 -07:00
Toni Engelhardt
630b5d2c1f
add kwargs to mock_completion
Allows replacing `completion` with `mock_completion` without encountering errors.
2023-09-14 10:27:19 +01:00
Krrish Dholakia
da9546bb99 fix test completion 2023-09-13 21:29:19 -07:00
Krrish Dholakia
fef2a39843 adding finish reason mapping for aleph alpha and baseten 2023-09-13 19:39:11 -07:00
Krrish Dholakia
aaa57abddd map finish reason 2023-09-13 19:22:38 -07:00
Krrish Dholakia
53b10e4372 allow updating budget manager cost by passing in text 2023-09-13 15:12:47 -07:00
Krrish Dholakia
5b6b9a9fab huggingface conversational task support 2023-09-13 13:45:23 -07:00
ishaan-jaff
1913d36e05 fix promptlayer logging 2023-09-13 13:22:43 -07:00
Krrish Dholakia
b1fbe515fe return model name as part of streaming object 2023-09-13 09:48:49 -07:00
Krrish Dholakia
041817124f fix testing 2023-09-12 22:03:51 -07:00
Krrish Dholakia
2a555eddfa update budget manager docs 2023-09-12 20:25:59 -07:00
Krrish Dholakia
27f1051792 fix testing for budget manager 2023-09-12 16:11:51 -07:00
Krrish Dholakia
e1c91903da add reset budget on duration end to budget manager 2023-09-12 13:01:55 -07:00
Krrish Dholakia
e80457013b doc cleanup for custom prompt templates 2023-09-12 12:16:47 -07:00
ishaan-jaff
e6d48d91ce bump version + check_valid_key 2023-09-12 11:56:04 -07:00
ishaan-jaff
e3fa1d686e remove verify_access_key from main 2023-09-12 11:50:30 -07:00
ishaan-jaff
33f0da2d69 update testing key 2023-09-12 11:50:30 -07:00
ishaan-jaff
8b60440b4b update check_valid_key 2023-09-12 11:50:30 -07:00
Krrish Dholakia
05f2f3dde7 fix get llm provider 2023-09-12 11:48:44 -07:00