Additional prompts needing adapting. Missing cassettes.
This commit is contained in:
parent
7f51c63ad7
commit
b96e5a3be1
9 changed files with 5758 additions and 3377 deletions
|
|
@ -57,7 +57,7 @@ prompts:
|
|||
|
||||
Process:
|
||||
1. Search for relevant documents using the search_documents tool
|
||||
2. Review results and their relevance scores
|
||||
2. Review results ordered by relevance (rank 1 = most relevant)
|
||||
3. Provide a brief, direct answer based on retrieved content
|
||||
|
||||
Guidelines:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ You are a WIX technical support expert helping users with questions about the WI
|
|||
Your process:
|
||||
1. When a user asks a question, use the search_documents tool to find relevant information
|
||||
2. Search with specific keywords and phrases from the user's question
|
||||
3. Review the search results and their relevance scores
|
||||
3. Review the search results ordered by relevance (rank 1 = most relevant)
|
||||
4. If you need additional context, perform follow-up searches with different keywords
|
||||
5. Provide a short and to the point comprehensive answer based only on the retrieved documents
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ class QuestionAnswerAgent:
|
|||
) -> str:
|
||||
"""Search the knowledge base for relevant documents.
|
||||
|
||||
Returns results with chunk IDs and relevance scores.
|
||||
Returns results with chunk IDs and rank positions.
|
||||
Reference results by their chunk_id in cited_chunks.
|
||||
"""
|
||||
results = await ctx.deps.client.search(
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue