Commit graph

1562 commits

Author SHA1 Message Date
Krrish Dholakia
10fe16c965 fix(utils.py): add param mapping for perplexity, anyscale, deepinfra
n

n
2023-11-22 10:04:27 -08:00
Krrish Dholakia
76f46902ed feat(router.py): adding latency-based routing strategy 2023-11-21 21:19:27 -08:00
Krrish Dholakia
381fdcd37b fix(utils.py): add response ms for async calls 2023-11-21 19:59:00 -08:00
Krish Dholakia
e4f1e2b138
Merge pull request #845 from canada4663/upstream-main
Added support for multiple embeddings via Bedrock
2023-11-21 14:00:06 -08:00
ishaan-jaff
7c79d10e9f (test) catch streaming + timeout exceptions 2023-11-21 13:46:21 -08:00
ishaan-jaff
9d6569791f (test) timeout error 2023-11-21 13:37:12 -08:00
Krrish Dholakia
37187e8e88 test(test_completion.py): fix replicate streaming test 2023-11-21 10:38:05 -08:00
Krrish Dholakia
c23d42305d test(test_rules.py): refactor testing 2023-11-21 10:01:06 -08:00
Krrish Dholakia
41483d2660 feat(factory.py): add support for anthropic system prompts for claude 2.1 2023-11-21 09:57:26 -08:00
Krrish Dholakia
6892fd8b51 fix(huggingface_restapi.py): fix huggingface response format 2023-11-21 09:57:26 -08:00
ishaan-jaff
219470ed68 (test) add claude-2.1 2023-11-21 09:53:47 -08:00
Krrish Dholakia
8534bf96d5 test(test_rules.py): clear rules after test completes 2023-11-21 08:18:04 -08:00
Krrish Dholakia
2a681c1874 fix(utils.py): fix pre call rules 2023-11-21 07:10:04 -08:00
Krrish Dholakia
ab2986290e fix(utils.py): fix rules calling 2023-11-20 21:06:36 -08:00
ishaan-jaff
d4caa918d5 (test) wandb logger 2023-11-20 19:08:53 -08:00
Krrish Dholakia
855964ed45 fix(utils.py): adding support for rules + mythomax/alpaca prompt template 2023-11-20 18:58:15 -08:00
ishaan-jaff
4020b807f6 (test) passing max_retries 2023-11-20 16:57:37 -08:00
canada4663
74ed37c4f2 bedrock embedding changes pre-testing 2023-11-18 21:00:06 -08:00
ishaan-jaff
b262f0846b (test) update testing streaming for open ai v1.0.0+ 2023-11-18 19:04:41 -08:00
ishaan-jaff
4b110b3fa4 (test) palm streaming test 2023-11-18 17:32:15 -08:00
ishaan-jaff
80002e9a14 (test) remove unused tests 2023-11-18 17:25:42 -08:00
ishaan-jaff
b5968a3ed8 (test) async for chunk 2023-11-18 17:17:39 -08:00
ishaan-jaff
d7e215a3e0 (test) do nothing if token==None in stream chunk 2023-11-18 17:13:16 -08:00
ishaan-jaff
349a1472df (test) openai streaming + function calling 2023-11-18 17:01:46 -08:00
ishaan-jaff
4a364bcbc0 (test) tool/function calling + streaming 2023-11-18 16:23:29 -08:00
ishaan-jaff
4d755c9f2f (test) function calling 2023-11-18 15:15:02 -08:00
Krrish Dholakia
3ea776bdc0 fix(text_completion): allow either model or engine to be set 2023-11-17 18:25:21 -08:00
Krrish Dholakia
8e430fcfbe test(test_async_fn.py): catch timeouts 2023-11-17 18:01:52 -08:00
Krrish Dholakia
478bd7def6 fix(router.py): introducing usage-based-routing 2023-11-17 17:56:26 -08:00
ishaan-jaff
a6a862dc5a (ci/cd) fix timeout error 2023-11-17 17:46:49 -08:00
Krrish Dholakia
5cddab9e54 test(test_langfuse.py): handle timeouts 2023-11-17 17:05:46 -08:00
ishaan-jaff
d2bac07b48 (test) parallel tool calling 2023-11-17 17:03:24 -08:00
Krrish Dholakia
985583023a test(test_completion.py): change tgai model 2023-11-17 16:06:42 -08:00
Krrish Dholakia
a99efc544e fix(test_router.py): catch timeouts 2023-11-17 15:56:06 -08:00
ishaan-jaff
bb9e7c65e9 (test) parallel function calling 2023-11-17 15:51:27 -08:00
Krrish Dholakia
0ab6b2451d fix(acompletion): support client side timeouts + raise exceptions correctly for async calls 2023-11-17 15:39:47 -08:00
ishaan-jaff
f026ed4772 (test) test seed, response format, for gpt-3.5-turbo 2023-11-17 14:00:42 -08:00
ishaan-jaff
bd82559553 (v1.0+ breaking change) get_max_tokens -> return int 2023-11-17 10:38:50 -08:00
Krrish Dholakia
3d45d8a58c test: load test router 2023-11-17 08:23:44 -08:00
ishaan-jaff
c7aba49d83 (ci/cd) re run pipeline 2023-11-17 08:07:02 -08:00
ishaan-jaff
3e2750ffb9 (ci/cd) re run pipeline 2023-11-16 21:55:10 -08:00
ishaan-jaff
25b2bc6da9 (test) add --debug to cli tool 2023-11-16 14:46:26 -08:00
Krrish Dholakia
51bf637656 feat: global client for sync + async calls (openai + Azure only) 2023-11-16 14:44:13 -08:00
Krrish Dholakia
a94c09c13c fix(openai.py): handling extra headers 2023-11-16 12:48:21 -08:00
ishaan-jaff
2dc411fdb3 (test) hf streaming 2023-11-16 12:24:31 -08:00
Krrish Dholakia
f582189cea test(loadtest_router.py): commenting out of ci/cd 2023-11-16 12:17:25 -08:00
Krrish Dholakia
bf0f8b824c fix(azure.py): use openai client sdk for handling sync+async calling 2023-11-16 12:08:12 -08:00
ishaan-jaff
3285113d2d (test) regular hf tests 2023-11-16 12:00:49 -08:00
ishaan-jaff
baf4e83738 (test) text_completion 2023-11-16 11:37:46 -08:00
ishaan-jaff
a1223e1f55 (test) proxy cli 2023-11-16 11:19:09 -08:00