Skip to content

Commit

Permalink
updated writer prompty
Browse files Browse the repository at this point in the history
  • Loading branch information
truptiparkar7 committed Sep 10, 2024
1 parent 2b33756 commit 100e84d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/api/agents/writer/writer.prompty
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ model:
azure_deployment: gpt-4
api_version: 2023-07-01-preview
parameters:
max_tokens: 200
max_tokens: 2000
sample:
researchContext: Can you find the latest camping trends and what folks are doing in the winter?
research: ${file:research.json}
Expand Down
2 changes: 1 addition & 1 deletion src/api/evaluate/eval_results.jsonl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"research_context": "Can you find the latest camping trends and what folks are doing in the winter?", "gpt_relevance": 1.0, "gpt_fluency": 5.0, "gpt_coherence": 5.0, "gpt_groundedness": 5.0}, {"research_context": "Can you find the latest trends in hiking shoes?", "gpt_relevance": 1.0, "gpt_fluency": 5.0, "gpt_coherence": 5.0, "gpt_groundedness": 3.0}, {"research_context": "Find information about the best snow camping spots in the world", "gpt_relevance": 5.0, "gpt_fluency": 5.0, "gpt_coherence": 5.0, "gpt_groundedness": 5.0}]
[{"research_context": "Can you find the latest camping trends and what folks are doing in the winter?", "gpt_relevance": 1.0, "gpt_fluency": 5.0, "gpt_coherence": 5.0, "gpt_groundedness": 5.0}, {"research_context": "Can you find the latest trends in hiking shoes?", "gpt_relevance": 5.0, "gpt_fluency": 5.0, "gpt_coherence": 5.0, "gpt_groundedness": 5.0}, {"research_context": "Find information about the best snow camping spots in the world", "gpt_relevance": 1.0, "gpt_fluency": 5.0, "gpt_coherence": 5.0, "gpt_groundedness": 5.0}]
6 changes: 3 additions & 3 deletions src/api/evaluate/eval_results.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
| | research_context | gpt_relevance | gpt_fluency | gpt_coherence | gpt_groundedness |
|---:|:-------------------------------------------------------------------------------|----------------:|--------------:|----------------:|-------------------:|
| 0 | Can you find the latest camping trends and what folks are doing in the winter? | 1 | 5 | 5 | 5 |
| 1 | Can you find the latest trends in hiking shoes? | 1 | 5 | 5 | 3 |
| 2 | Find information about the best snow camping spots in the world | 5 | 5 | 5 | 5 |
| 1 | Can you find the latest trends in hiking shoes? | 5 | 5 | 5 | 5 |
| 2 | Find information about the best snow camping spots in the world | 1 | 5 | 5 | 5 |

Averages scores:

Expand All @@ -11,4 +11,4 @@ Averages scores:
| gpt_relevance | 2.33333 |
| gpt_fluency | 5 |
| gpt_coherence | 5 |
| gpt_groundedness | 4.33333 |
| gpt_groundedness | 5 |

0 comments on commit 100e84d

Please sign in to comment.