Skip to content

Commit

Permalink
Merge pull request #18 from conversence/feature/async
Browse files Browse the repository at this point in the history
async version of main functions with to_thread. Factor out common code
  • Loading branch information
lalalune authored Oct 3, 2023
2 parents 047711e + 9fd9381 commit be92333
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 be92333

Please sign in to comment.