-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ChatBot for API Assistance #608
base: main
Are you sure you want to change the base?
Conversation
… another function
Chat bot feature
For detailed documentation, refer to the Notion Doc |
# Conflicts: # pubspec.lock # pubspec.yaml
What have you done @siddu015? |
@ashitaprasad I apologize for the confusion with the pull requests. While working on the Dashbot issue, I have created a new pull request from the same forked repository, which unexpectedly closed the previous one. I've since closed that newly created pull request to minimize disruption. |
PR Description
Implemented a ChatBot in API Dash with capabilities to explain APIs, debug requests, generate test cases, and provide sample codes, integrated using Ollama models and a dynamic UI widget.
Implementation Details:
• Integrated Ollama AI model via ollama_dart: ^0.2.2 (supports ollama3.2:3b for best accuracy).
• Added a floating ChatBot widget (?) for quick access.
• Responses formatted using flutter_markdown for readability.
Setup:
1. Add dependency ollama_dart: ^0.2.2.
2. Ensure Ollama AI is installed locally.
3. Update the "model:'' variable in generateResponse function in /lib/services/ollama_service.dart to use your local Ollama model.
4. Run flutter run to experience the AI ChatBot in API Dash!
Related Issues: #605
Checklist
main
branch before making this PRflutter upgrade
and verify)flutter test
) and all tests are passingAdded/updated tests?
We encourage you to add relevant test cases.
OS on which you have developed and tested the feature?