chore(wren-ai-service): minor updates#1439
Conversation
WalkthroughThis pull request adds support for SQL functions to the evaluation service. A new boolean attribute Changes
Sequence Diagram(s)sequenceDiagram
participant Pipeline as Generation/Ask Pipeline
participant Settings as EvalSettings
participant SQLFunc as SQLFunctionsRetrieval
participant Generation as Generation Engine
Pipeline->>Settings: Retrieve allow_sql_functions
alt SQL Functions Allowed
Pipeline->>SQLFunc: Execute async run()
SQLFunc-->>Pipeline: Return SQL functions list
else Not Allowed
Pipeline-->>Pipeline: Use empty SQL functions list
end
Pipeline->>Generation: Call run() with SQL functions list
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🧰 Additional context used🧬 Code Definitions (1)wren-ai-service/eval/pipelines.py (2)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (13)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
Bug Fixes