Skip to content

feat(types): add natural language query debug and caching support#302

Merged
jasonbosco merged 1 commit intotypesense:masterfrom
tharropoulos:nl-search
Jul 3, 2025
Merged

feat(types): add natural language query debug and caching support#302
jasonbosco merged 1 commit intotypesense:masterfrom
tharropoulos:nl-search

Conversation

@tharropoulos
Copy link
Collaborator

Change Summary

  • add LLMResponse interface for llm response structure
  • add parsed_nl_query field to SearchResponse with debug info
  • add nl_query_debug parameter to enable nl query debugging
  • add nl_query_prompt_cache_ttl parameter for prompt caching

PR Checklist

- add `LLMResponse` interface for llm response structure
- add `parsed_nl_query` field to `SearchResponse` with debug info
- add `nl_query_debug` parameter to enable nl query debugging
- add `nl_query_prompt_cache_ttl` parameter for prompt caching
@tharropoulos tharropoulos requested a review from jasonbosco July 3, 2025 08:28
@jasonbosco jasonbosco merged commit db99c63 into typesense:master Jul 3, 2025
1 check passed
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