diff --git a/python/frameworks/haystack/examples/building_fallbacks_with_conditional_routing.py b/python/frameworks/haystack/examples/building_fallbacks_with_conditional_routing.py index 61dc66e3..678071c0 100644 --- a/python/frameworks/haystack/examples/building_fallbacks_with_conditional_routing.py +++ b/python/frameworks/haystack/examples/building_fallbacks_with_conditional_routing.py @@ -87,7 +87,7 @@ prompt_for_websearch = """ Answer the following query given the documents retrieved from the web. -Your answer shoud indicate that your answer was generated from websearch. +Your answer should indicate that your answer was generated from websearch. Query: {{query}} Documents: diff --git a/python/frameworks/llama_index/examples/ingestion_pipeline.py b/python/frameworks/llama_index/examples/ingestion_pipeline.py index caf02fd3..94be38a0 100644 --- a/python/frameworks/llama_index/examples/ingestion_pipeline.py +++ b/python/frameworks/llama_index/examples/ingestion_pipeline.py @@ -56,7 +56,7 @@ documents = SimpleDirectoryReader(input_files=[tf.name]).load_data() llm = OpenAI(model="gpt-3.5-turbo", temperature=0.1) -pipline = IngestionPipeline( +pipeline = IngestionPipeline( transformations=[ SentenceSplitter(chunk_size=1024, chunk_overlap=20), TitleExtractor(llm=llm, metadata_mode=MetadataMode.EMBED, num_workers=8), @@ -66,4 +66,4 @@ ) if __name__ == "__main__": - nodes = pipline.run(documents=documents) + nodes = pipeline.run(documents=documents) diff --git a/python/frameworks/vertexai/examples/vertexai.model.count_tokens.py b/python/frameworks/vertexai/examples/vertexai.model.count_tokens.py index f633b0e9..024080df 100644 --- a/python/frameworks/vertexai/examples/vertexai.model.count_tokens.py +++ b/python/frameworks/vertexai/examples/vertexai.model.count_tokens.py @@ -38,5 +38,5 @@ if __name__ == "__main__": - response = model.count_tokens("Write an artice on AGI.") + response = model.count_tokens("Write an article on AGI.") print(response)