Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: khoj-ai/khoj
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.37.0
Choose a base ref
...
head repository: khoj-ai/khoj
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.37.1
Choose a head ref
  • 17 commits
  • 30 files changed
  • 2 contributors

Commits on Mar 20, 2025

  1. Copy the full SHA
    dc47301 View commit details

Commits on Mar 22, 2025

  1. Limit to json enforcement via json object with DeepInfra hosted models

    DeepInfra based models do not seem to support json schema. See
    https://deepinfra.com/docs/advanced/json_mode for reference
    debanjum committed Mar 22, 2025
    Copy the full SHA
    45015da View commit details
  2. Disable SimpleQA eval on release as saturated & low signal for usecase

    Reaching >94% in research mode on SimpleQA. When answers can be
    researched online, it becomes too easy. And the FRAMES eval does a
    more thorough job of evaluating that use-case anyway.
    debanjum committed Mar 22, 2025
    Copy the full SHA
    6cc5a10 View commit details
  3. Set seed for Google Gemini models using KHOJ_LLM_SEED env variable

    This env var was already being used to set seed for OpenAI and Offline
    models
    debanjum committed Mar 22, 2025
    Copy the full SHA
    5fff05a View commit details

Commits on Mar 23, 2025

  1. Make google auth package dependency explicit to simplify code

    Previously google auth library was explicitly installed only for the
    cloud variant of Khoj to minimize packages installed for non
    production use-cases.
    
    But it was being implicitly installed as a dependency of an explicit
    package in the default installation anyway.
    
    Making the dependency on google auth package explicit simplifies
    the conditional import of google auth in code while not incurring any
    additional cost in terms of space or complexity.
    debanjum committed Mar 23, 2025
    Copy the full SHA
    510cbed View commit details
  2. Upgrade sentence-transformers. Avoid transformers v4.50.0 as problematic

    - The 3.4.1 release of sentence tranformer fixes offline load latency
      of sentence transformer models (and Khoj) by avoiding call to HF
    
    - The 4.50.0 release of transformers is resulting in
      jax error (unexpected keyword argument 'flatten_with_keys') on load.
    debanjum committed Mar 23, 2025
    Copy the full SHA
    f2b4381 View commit details
  3. Copy the full SHA
    8bebcd5 View commit details
  4. Support access to Anthropic models via GCP Vertex AI

    Enable configuring a Khoj AI model API for Vertex AI using GCP credentials.
    
    Specifically use the api key & api base url fields of the AI Model API
    associated with the current chat model to extract gcp region, gcp
    project id & credentials. This helps create a AnthropicVertex client.
    
    The api key field should contain the GCP service account keyfile as a
    base64 encoded string.
    
    The api base url field should be of the form
    `https://{MODEL_GCP_REGION}-aiplatform.googleapis.com/v1/projects/{YOUR_GCP_PROJECT_ID}`
    
    Accepting GCP credentials via the AI model API makes it easy to use
    across local and cloud environments. As it bypasses the need for a
    separate service account key file on the Khoj server.
    debanjum committed Mar 23, 2025
    Copy the full SHA
    603c4bf View commit details
  5. Copy the full SHA
    da33c7d View commit details
  6. Copy the full SHA
    7153d27 View commit details
  7. Document how to configure using AI models via GCP Vertex AI

    debanjum committed Mar 23, 2025
    Copy the full SHA
    16ffebf View commit details
  8. Access Claude and Gemini via GCP Vertex AI (#1134)

    Support accessing Claude and Gemini AI models via Vertex AI on Google Cloud. 
    
    See the documentation at docs.khoj.dev for setup details
    debanjum authored Mar 23, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    86a51d8 View commit details
  9. Clean AI model API providers documentation

    debanjum committed Mar 23, 2025
    Copy the full SHA
    8409e64 View commit details
  10. Copy the full SHA
    55ae0ed View commit details
  11. Standardize AI model response temperature across provider specific ra…

    …nges
    
    - Anthropic expects a 0-1 range. Gemini & OpenAI expect a 0-2 range
    - Anneal temperature to explore reasoning trajectories but respond factually
    - Default send_message_to_model and extract_question temps to the same
    debanjum committed Mar 23, 2025
    Copy the full SHA
    d1df958 View commit details
  12. Remove eval lists from git tracking

    sabaimran committed Mar 23, 2025
    Copy the full SHA
    985f167 View commit details
  13. Release Khoj version 1.37.1

    sabaimran committed Mar 23, 2025
    Copy the full SHA
    12e7409 View commit details
Loading