Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskExpert ¶
AskExpert calls the AI expert model via DeepSeek Web (free V4 Pro).
It renders the "expert" system prompt, prepends it to the input, and sends the combined message to chat.deepseek.com via Chrome/CDP. Each call starts a new conversation.
Parameters:
ctx: context object for passing execution environment configuration input: input text to send to the AI model, can be any length
Returns:
reply: the AI model's response text err: error during execution
func AskExpertWithRole ¶
AskExpertWithRole calls the AI model for consultation with a specified role (expert/review/dev) via DeepSeek Web (free V4 Pro).
It renders the role-specific system prompt (e.g. expert.md, review.md), prepends it to the input, and sends the combined message to chat.deepseek.com. Each call starts a new conversation.
Parameters:
ctx: context object input: input text to send to the AI model role: role (expert/review/dev)
Returns:
reply: the AI model's response text err: error during execution
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.