Skip to content

Commit

Permalink
async version of main functions with to_thread. Factor out common code
Browse files Browse the repository at this point in the history
  • Loading branch information
maparent committed Oct 3, 2023
1 parent 114f821 commit 9fd9381
Show file tree
Hide file tree
Showing 3 changed files with 354 additions and 138 deletions.
5 changes: 4 additions & 1 deletion easycompletion/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
from .model import (
function_completion,
function_completion_async,
text_completion,
chat_completion
text_completion_async,
chat_completion,
chat_completion_async
)

openai_function_call = function_completion
Expand Down
Loading

0 comments on commit 9fd9381

Please sign in to comment.