Skip to content

Add Phase 1 of AI Assistant Example #1188

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

Closed

Conversation

loki77799u
Copy link

This commit introduces an initial example of a multi-provider AI assistant.

Includes:

  • examples/ai_assistant/assistant.py: A Python CLI script supporting OpenAI, Anthropic, and Google Gemini models, with tool usage capabilities (weather, web search, Obsidian note saving).
  • examples/ai_assistant/web_interface.html: A standalone HTML/JS example of a web control panel (currently not connected to the Python script).
  • examples/ai_assistant/config.py: Configuration file for OBSIDIAN_VAULT_PATH and placeholders for other keys.
  • examples/ai_assistant/requirements.txt: Python dependencies for the assistant script.
  • examples/ai_assistant/README.md: Detailed setup and usage instructions for this example.

This forms Phase 1 of the AI assistant integration, providing a runnable standalone example.

This commit introduces an initial example of a multi-provider AI assistant.

Includes:
- `examples/ai_assistant/assistant.py`: A Python CLI script supporting OpenAI, Anthropic, and Google Gemini models, with tool usage capabilities (weather, web search, Obsidian note saving).
- `examples/ai_assistant/web_interface.html`: A standalone HTML/JS example of a web control panel (currently not connected to the Python script).
- `examples/ai_assistant/config.py`: Configuration file for `OBSIDIAN_VAULT_PATH` and placeholders for other keys.
- `examples/ai_assistant/requirements.txt`: Python dependencies for the assistant script.
- `examples/ai_assistant/README.md`: Detailed setup and usage instructions for this example.

This forms Phase 1 of the AI assistant integration, providing a runnable standalone example.
@debanjum
Copy link
Member

debanjum commented Jun 1, 2025

This pull request doesn't make sense. Khoj already has these capabilities and the PR doesn't integrate with any of the codebase. Closing it for now.

Please follow contribution guidelines before submitting PRs

@debanjum debanjum closed this Jun 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants