Skip to content

Commit

Permalink
fix rag app docstring run instructions (#8083)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: a466ea405392441d78d525da9319e7544d021fd4
  • Loading branch information
berkecanrizai authored and Manul from Pathway committed Jan 24, 2025
1 parent 1520a70 commit 7653dc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions integration_tests/rag_evals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ Run the following to get credentials.

Create the `.env` file and put API key.

## Customizing the Pathway params

Simply change the config in the `app.yaml` file.

## TODO
- Add examples to RAGAS answer_correctness evaluator to relax the evaluation (should bump the scored performance a bit)
- Add gitignore
Expand Down
2 changes: 1 addition & 1 deletion python/pathway/xpacks/llm/question_answering.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ class BaseRAGQuestionAnswerer(SummaryQuestionAnswerer):
... prompt_template=prompt_template,
... )
>>> app = QASummaryRestServer(app_host, app_port, rag) # doctest: +SKIP
>>> app.run_server() # doctest: +SKIP
>>> app.run() # doctest: +SKIP
""" # noqa: E501

def __init__(
Expand Down

0 comments on commit 7653dc5

Please sign in to comment.