Skip to content

Commit 076f367

Browse files
committed
Port over fewshots to Pydantic format
1 parent 020434e commit 076f367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/fastapi_app/rag_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ async def prepare_context(self, chat_params: ChatParams) -> tuple[list[ItemPubli
120120
agent = Agent(
121121
model,
122122
model_settings=ModelSettings(temperature=0.0, max_tokens=500, seed=chat_params.seed),
123-
instructions=self.query_prompt_template,
123+
system_prompt=self.query_prompt_template,
124124
tools=[self.search_database],
125125
output_type=SearchResults,
126126
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy