DeepSeek
5 nodes
On this page 5
Auto Summarize
FunctionSummarizes the given source text using AI.
AutoSummarize -> Text
text: Text
configuration: OpenAIConfigurationstring AutoSummarize(
string text,
OpenAIConfiguration configuration)Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | The source text to summarize. |
| configuration | OpenAIConfiguration | — | Optional configuration settings for the OpenAI API. |
Returns
| result | Text |
Remarks
Currently not implementing segmentation and is substitutable with a macro.
However, if segmentation were to be added, implementing it in C# would be ideal.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- DeepSeek
- Package
- Generative AI
Auto Translate
FunctionTranslates the source text into the specified target language using AI.
AutoTranslate -> Text
text: Text
targetLanguage: Text
configuration: OpenAIConfigurationstring AutoTranslate(
string text,
string targetLanguage,
OpenAIConfiguration configuration)Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | The source text to translate. |
| targetLanguage | Text | — | The target language for translation. |
| configuration | OpenAIConfiguration | — | Optional configuration settings for the OpenAI API. |
Returns
| result | Text |
Remarks
Currently not implementing segmentation and is substitutable with a macro.
However, if segmentation were to be added, implementing it in C# would be ideal.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- DeepSeek
- Package
- Generative AI
Chat
FunctionProvides a continuous chat experience with automatic memory size management.
This method interacts with OpenAI's ChatGPT, maintaining a session history
and returning responses based on user input and system prompts.
Chat -> (result: Text, sessionHistory: Text)
system: Text
input: Text
memorySize: Integer
sessionName: Text
configuration: OpenAIConfigurationstring Chat(
out string sessionHistory,
string system,
string input,
int memorySize = 3,
string sessionName = "Default.Session",
OpenAIConfiguration configuration)Parameters
| name | type | default | description |
|---|---|---|---|
| system | Text | — | The system prompt that sets the context for the chat. |
| input | Text | — | The user's input message for the chat session. |
| memorySize | Integer | 3 | The number of past interactions to remember in the chat session (default is 3). |
| sessionName | Text | Default.Session | The name of the chat session, used for identifying stored histories (default is "Default.Session"). |
| configuration | OpenAIConfiguration | — | Optional configuration settings for the OpenAI API. |
Returns
| result | Text |
| sessionHistory | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- DeepSeek
- Package
- Generative AI
Complete
FunctionOverload 1 of 2
Complete -> Text
query: Text
configuration: OpenAIConfigurationstring Complete(string query, OpenAIConfiguration configuration)
Sends a query to the DeepSeek API and returns the generated completion.
Parameters
| name | type | default | description |
|---|---|---|---|
| query | Text | — | The text query to be completed. |
| configuration | OpenAIConfiguration | — | Optional configuration for the DeepSeek API. If not provided, a default configuration is used. |
Returns
| result | Text |
Remarks
DeepSeek uses the OpenAI API under the hood. The completion is obtained by calling OpenAIHelper.ChatGPTComplete.
Overload 2 of 2
Complete -> Text
system: Text
query: Text
configuration: OpenAIConfigurationstring Complete(
string system,
string query,
OpenAIConfiguration configuration)Sends a system prompt along with a query to the DeepSeek API and returns the generated completion.
Parameters
| name | type | default | description |
|---|---|---|---|
| system | Text | — | The system prompt that guides the behavior of the completion process. |
| query | Text | — | The text query to be completed. |
| configuration | OpenAIConfiguration | — | Optional configuration for the DeepSeek API. If not provided, a default configuration is used. |
Returns
| result | Text |
Remarks
DeepSeek uses the OpenAI API under the hood. The completion is obtained by calling OpenAIHelper.ChatGPTComplete.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- DeepSeek
- Package
- Generative AI
Configure Deep Seek
FunctionConfigures the DeepSeek API by providing the necessary API key and model selection.
ConfigureDeepSeek -> OpenAIConfiguration
apiKey: Text
model: Deep Seek Model
replyTokenSizeLimit: Integer
serviceAddress: TextOpenAIConfiguration ConfigureDeepSeek(
string apiKey,
DeepSeekHelper.DeepSeekModel model = DeepSeekModel.DeepSeekChat,
int replyTokenSizeLimit = 6000,
string serviceAddress = "https://api.deepseek.com/")Parameters
| name | type | default | description |
|---|---|---|---|
| apiKey | Text | — | The API key used to authenticate with the DeepSeek API. |
| model | Deep Seek Model | Deep seek chat | The DeepSeek model to use for generating the completion. Defaults to DeepSeekModel.DeepSeekChat. |
| replyTokenSizeLimit | Integer | 6000 | Limit of reply token size. |
| serviceAddress | Text | https://api.deepseek.com/ | Address for the service, expecting a /chat/completions endpoint for Chat Completion. |
Returns
| result | OpenAIConfiguration |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- DeepSeek
- Package
- Generative AI