Increase search distance to get relevant content for chat post indexer update

More content indexed per entry would result in an overall scores
lowering effect. Increase default search distance threshold to counter that

- Details
  - Fix expected results post indexing updates
  - Fix search with max distance post indexing updates

- Minor
  - Remove openai chat actor test for after: operator as it's not expected anymore
This commit is contained in:
Debanjum Singh Solanky
2024-03-31 18:05:22 +05:30
parent ad4fa4b2f4
commit 29c1c18042
4 changed files with 5 additions and 9 deletions

View File

@@ -475,7 +475,7 @@ async def chat(
common: CommonQueryParams,
q: str,
n: Optional[int] = 5,
d: Optional[float] = 0.18,
d: Optional[float] = 0.22,
stream: Optional[bool] = False,
title: Optional[str] = None,
conversation_id: Optional[int] = None,