discourse-ai/spec/lib/completions
Sam 2ad743d246
FEATURE: Add GitHub Helper AI Bot persona and tools (#513)
Introduces a new AI Bot persona called 'GitHub Helper' which is specialized in assisting with GitHub-related tasks and questions. It includes the following key changes:

- Implements the GitHub Helper persona class with its system prompt and available tools
   
- Adds three new AI Bot tools for GitHub interactions:
  - github_file_content: Retrieves content of files from a GitHub repository
  - github_pull_request_diff: Retrieves the diff for a GitHub pull request
  - github_search_code: Searches for code in a GitHub repository
    
- Updates the AI Bot dialects to support the new GitHub tools

- Implements multiple function calls for standard tool dialect
2024-03-08 06:37:23 +11:00
..
dialects FEATURE: support for claude opus and sonnet (#508) 2024-03-06 06:04:37 +11:00
endpoints FEATURE: Add GitHub Helper AI Bot persona and tools (#513) 2024-03-08 06:37:23 +11:00
llm_spec.rb DEV: Fix new Rubocop offenses 2024-03-06 15:23:29 +01:00
prompt_spec.rb FIX: scrub invalid prompts when truncating (#426) 2024-01-16 13:48:00 +11:00