Skip to content
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

Research Mode [Part 2]: Improve Prompts, Edit Chat Messages. Set LLM Seed for Reproducibility #954

Merged
merged 36 commits into from
Nov 2, 2024

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    2ac840e View commit details
    Browse the repository at this point in the history
  2. Defer turning cursor color to selected agents color for later

    Capability exists but idea needs to be investigated further
    debanjum committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    358a6ce View commit details
    Browse the repository at this point in the history
  3. Improve handling embedding model config from admin interface

    - Allow server to start if loading embedding model fails with an error.
      This allows fixing the embedding model config via admin panel.
    
      Previously server failed to start if embedding model was configured
      incorrectly. This prevented fixing the model config via admin panel.
    
    - Convert boolean string in config json to actual booleans when passed
      via admin panel as json before passing to model, query configs
    
    - Only create default model if no search model configured by admin.
      Return first created search model if its been configured by admin.
    debanjum committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    d44e68b View commit details
    Browse the repository at this point in the history
  4. Support setting seed for reproducible LLM response generation

    Anthropic models do not support seed. But offline, gemini and openai
    models do. Use these to debug and test Khoj via KHOJ_LLM_SEED env var
    debanjum committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    b3a6301 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f64f5b3 View commit details
    Browse the repository at this point in the history
  6. Store turn id with each chat message. Expose API to delete chat turn

    Each chat turn is a user query, khoj response message pair
    debanjum committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    ba15686 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ca5a683 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cb90abc View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Configuration menu
    Copy the full SHA
    e8e6ead View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e17dc9f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a137606 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    559601d View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    5b15176 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89597ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    52163fe View commit details
    Browse the repository at this point in the history
  4. Improve online chat actor prompt for research and normal mode

    - Match the online query generator prompt to match the formatting of
      extract questions
    - Separate iteration results by newline
    - Improve webpage and online tool descriptions
    debanjum committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    302bd51 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'master' of github.com:khoj-ai/khoj into improve-debug-r…

    …easoning-and-other-misc-fixes
    sabaimran committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    1924180 View commit details
    Browse the repository at this point in the history
  6. Remove conversation command always in query, filter out inferred quer…

    …ies that were not with selected tool when going through tool selection iterations
    sabaimran committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    21858ac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    149cbe1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3ea94ac View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0145b2a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    33d36ee View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1fc280d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ffa7f95 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    23a49b6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b3dad1f View commit details
    Browse the repository at this point in the history
  15. Merge branch 'master' of github.com:khoj-ai/khoj into improve-debug-r…

    …easoning-and-other-misc-fixes
    sabaimran committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    2b35790 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    ac21b10 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    9c7b36d View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    b79a9ec View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    327fcb8 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    a213b59 View commit details
    Browse the repository at this point in the history
  21. Merge branch 'improve-debug-reasoning-and-other-misc-fixes' of github…

    ….com:khoj-ai/khoj into improve-debug-reasoning-and-other-misc-fixes
    sabaimran committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    e6eb87b View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2024

  1. Configuration menu
    Copy the full SHA
    1a83bbc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab321dc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    14e4530 View commit details
    Browse the repository at this point in the history