-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor:extract code to multiple files * monitor stream for chat completion * rename file * async chat completion * fix stream async + add spans for streams * remove unused code * Added stream token calculation * fix typo + remove prints and comments * added "stream" attribute to completion events * handle errors before the stream starts
- Loading branch information
1 parent
4c95c99
commit 000e0b8
Showing
7 changed files
with
810 additions
and
563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
EventName = "LlmCompletion" | ||
MessageEventName = "LlmChatCompletionMessage" | ||
SummaryEventName = "LlmChatCompletionSummary" | ||
EmbeddingEventName = "LlmEmbedding" | ||
VectorSearchEventName = "LlmVectorSearch" | ||
VectorSearchResultsEventName = "LlmVectorSearchResult" |
Oops, something went wrong.