-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
96 assemble a basic llm chains (#97)
* added llmGateWay and LlmChain and updated OpenAI newest version * small fix in slicing conversation in memory * small fix in the llm-chain * added unit test * formatting with prettier * small fix and added unit test for llm-connection-gateway
- Loading branch information
1 parent
eca45b3
commit 77da7b6
Showing
25 changed files
with
673 additions
and
267 deletions.
There are no files selected for viewing
Empty file.
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,2 @@ | ||
{ | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,11 +1,10 @@ | ||
import { Module } from '@nestjs/common'; | ||
import { LlmChainModule } from './llm-chain/llm-chain.module'; | ||
import { LibraryApiModule } from './library-api/library-api.module'; | ||
import { ChatGateway } from './chat/chat.gateway'; | ||
import { SharedModule } from './shared/shared.module'; | ||
import { GatewayModule } from './gateway/gateway.module'; | ||
|
||
@Module({ | ||
imports: [LlmChainModule, LibraryApiModule, SharedModule], | ||
providers: [ChatGateway], | ||
imports: [LlmChainModule, LibraryApiModule, SharedModule, GatewayModule], | ||
}) | ||
export class AppModule {} |
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
...chatbot-app/src/chat/chat.gateway.spec.ts → ...app/src/gateway/chat/chat.gateway.spec.ts
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
Oops, something went wrong.