diff --git a/docs/source/index.md b/docs/source/index.md index 10a0bbf..4cd4858 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -139,6 +139,8 @@ docker run -it --network health-rec_app-network -v ` with the name of the collection you want to create. The default collection name specified in the `.env.development` file is `test`. + ```bash python3 health_rec/manage_data.py create --name OPENAI_API_KEY=$YOUR_OPENAI_API_KEY python3 health_rec/manage_data.py load --name --data_dir /data --load_embeddings diff --git a/eval/generate_dataset.py b/eval/generate_dataset.py index 14eacc2..2871e09 100644 --- a/eval/generate_dataset.py +++ b/eval/generate_dataset.py @@ -121,7 +121,7 @@ def create_synthetic_dataset( prompt = ChatPromptTemplate.from_template(query_generation_template) chain = ( - { + { # type: ignore "context": RunnablePassthrough(), "max_context_services": RunnablePassthrough(), "situation_instruction": RunnablePassthrough(), diff --git a/eval/generate_dataset_sc_mq.py b/eval/generate_dataset_sc_mq.py index fbcf990..2a1d381 100644 --- a/eval/generate_dataset_sc_mq.py +++ b/eval/generate_dataset_sc_mq.py @@ -103,7 +103,7 @@ def create_synthetic_dataset( prompt = ChatPromptTemplate.from_template(query_generation_template) chain = ( - { + { # type: ignore "context": RunnablePassthrough(), "max_context_services": RunnablePassthrough(), "situation_instruction": RunnablePassthrough(), diff --git a/eval/rag-evaluation-pipeline.py b/eval/rag-evaluation-pipeline.py index ffa6821..8701866 100644 --- a/eval/rag-evaluation-pipeline.py +++ b/eval/rag-evaluation-pipeline.py @@ -96,7 +96,7 @@ def create_synthetic_dataset( prompt = ChatPromptTemplate.from_template(query_generation_template) chain = ( - { + { # type: ignore "context": RunnablePassthrough(), "max_context_services": RunnablePassthrough(), "format_instructions": lambda _: output_parser.get_format_instructions(),