559 Commits
Author SHA1 Message Date
Massimiliano Pippi b8911dfae0 fix: remove old dependency from file-converters.yml (#4999) 2023-05-23 17:27:43 +02:00
Massimiliano Pippi 8228081e7a chore: leftovers from removing knowledge graph support (#4974)
* leftovers from removing knowledge graph support

* more leftovers
2023-05-22 10:03:51 +02:00
Massimiliano Pippi 4974bf7ab3 chore: remove deprecated MilvusDocumentStore (#4951)
* remove deprecated MilvusDocumentStore

* remove leftovers

* fix pylint
2023-05-19 16:37:38 +02:00
Vladimir Blagojevicandbogdankostic 73380b194a feat: Add Cohere PromptNode invocation layer (#4827)
* Add CohereInvocationLayer
---------

Co-authored-by: bogdankostic <[email protected]>
2023-05-12 17:50:09 +02:00
Daria Fokina 7ef6bd8373 [Docs] Hide api classes in prompt_node (#4869)
* hide api classes in prompt_node

* add jsonconverter to docs
2023-05-10 10:56:46 +02:00
Daria Fokina dbbdc5464a docs: fix Prompt_Node and Pipelines API reference (#4858)
* fix: Prompt_Node and Pipelines API reference

* deleted invocation layers
2023-05-09 19:04:55 +02:00
Vladimir Blagojevic 650e1a1a6f fix: gpt-3.5-turbo is an agent streaming model (#4673)
* gpt-3.5 is also agent streaming model

* Add more streaming capable models

* Add end-of-file-fixer

* List full model names for clarity
2023-04-26 13:56:24 +02:00
Darja Fokina ec7fc4aa0b docs: add web retriever to api docs (#4699) 2023-04-18 17:19:57 +02:00
Vladimir Blagojevic 1dcac11133 feat: Add Hugging Face inferencing PromptNode layer (#4641) 2023-04-14 17:59:17 +02:00
bogdankostic db48773268 docs: Add PDFToTextOCRConverter to API Docs (#4656) 2023-04-13 15:31:45 +02:00
Agnieszka Marzec 7338e60362 Docs: Hide private modules from API docs (#4555)
* Hide private modules and fix order

* Add underscore
2023-04-04 14:07:18 +02:00
Agnieszka MarzecandJulian Risch 815dcdebbd docs: Update PromptNode API docs (#4549)
* Update docstrings

* adapt test to changed logging message

---------

Co-authored-by: Julian Risch <[email protected]>
2023-03-30 14:27:44 +02:00
Agnieszka Marzec aae2ad8e5c Add whisper api (#4511) 2023-03-28 15:43:59 +02:00
Agnieszka Marzec 798fba87dd Fix agent module (#4441) 2023-03-16 10:14:59 +01:00
Agnieszka Marzec 3a97e271fc Fix order and category of agent (#4440) 2023-03-16 09:59:17 +01:00
Agnieszka MarzecandJulian Risch 374d7c9c4f docs: Update Agent docstrings + add api docs (#4296)
* Update docstrings + add api docs

* Update with reviewer's changes

* Fix category id and blackify

* make max iterations test more robust

---------

Co-authored-by: Julian Risch <[email protected]>
2023-03-15 17:26:35 +01:00
Massimiliano Pippi 1498aacc77 chore: make the docs generator runnable without an API key (#4405)
* spit a warning instead of exiting

* print which file is being converted (useful to debug CI)

* pin docspec for the time being
2023-03-14 16:15:19 +01:00
Stefano Fiorucci 7d17ca7391 add DocumentLanguageClassifier API (#4401) 2023-03-14 09:12:03 +01:00
bogdankostic 583d2d8244 Fix search path for Shaper API docs (#4306) 2023-03-01 16:10:39 +01:00
Agnieszka Marzec 7e0f9715ba Docs: Add shaper API (#4288)
* Add shaper and update category id

* Fix the category id

* Update category
2023-03-01 14:02:47 +01:00
Silvano Cerza ee74421212 ci: Refactor docs config and generation (#4280)
* Change docs yml category config

* Update docs renderers to fetch categories from Readme.io

* Update readme_sync.yml to handle new docs rendering

* Remove unecessary script and related workflow step

* Fix sys.exits
2023-03-01 09:51:02 +01:00
Stefano Fiorucci 5e85f33bd3 refactor: Remove deprecated nodes EvalDocuments and EvalAnswers (#4194)
* remove deprecated classed and update test

* remove deprecated classed and update test

* remove unused code

* remove unused import

* remove empty evaluator node

* unused import :-)

* move sas to metrics
2023-02-23 15:26:17 +01:00
Silvano Cerza 181e5474e8 ci: Automate OpenAPI specs upload to Readme.io (#4228)
* Remove OpenAPI specs file

* OpenAPI specs are now automatically uploaded when necessary

* Rename openapi workflow
2023-02-22 18:01:18 +01:00
github-actions[bot]andgithub-actions[bot] aaa1522c45 Update unstable version and openapi schema (#4205)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-20 14:57:45 +01:00
Agnieszka Marzec e16f1c8935 Docs: Add filter to hide entity post processor (#4160)
* Add filter to hide entity post processor

* Add missing space
2023-02-16 16:40:42 +01:00
bogdankostic 27aaa92800 docs: Remove some classes regarding PromptNode from API reference docs (#4132) 2023-02-10 15:56:38 +01:00
Agnieszka Marzec 8135e75139 Add shaper to api docs (#4083) 2023-02-08 12:15:08 +01:00
tstadel 92c58cfda1 feat: Support multiple document_ids in Answer object (for generative QA) (#4062)
* initial version without shapers

* set document_ids for BaseGenerator

* introduce question-answering-with-references template

* better prompt

* make PromptTemplate control output_variable

* update schema

* fix add_doc_meta_data_to_answer

* Revert "fix add_doc_meta_data_to_answer"

This reverts commit b994db423a.

* fix add_doc_meta_data_to_answer

* fix eval

* fix pylint

* fix pinecone

* fix other tests

* fix test

* fix flaky test

* Revert "fix flaky test"

This reverts commit 7ab04275ff.

* adjust docstrings

* make Label loading backward-compatible

* fix Label backward compatibility for pinecone

* fix Label backward compatibility for search engines

* fix Label backward compatibility for deepset Cloud

* fix tests

* fix None issue

* fix test_write_feedback

* add tests for legacy label support

* add document_id test for pinecone

* reduce unnecessary contents

* add comment to pinecone test
2023-02-08 08:37:22 +01:00
Massimiliano Pippi 8824f3a10a re-organize pydoc config files (#4042) 2023-02-03 12:51:10 +01:00
Massimiliano Pippi 76bb105388 chore: remove unneeded files (#4036)
* remove unneeded files

* readme file should stay
2023-02-02 15:38:56 +01:00
8002cf92d6 fix: extend schema for prompt node results (#3891)
* extend schema for prompt node results

* extend schema

* update openapi

* fix mypy for test module

* added 1.14 specs

* reverted schema for 1.13

---------

Co-authored-by: bogdankostic <[email protected]>
Co-authored-by: Mayank Jobanputra <[email protected]>
Co-authored-by: Sebastian <[email protected]>
Co-authored-by: ZanSara <[email protected]>
2023-01-31 16:31:33 +01:00
Agnieszka Marzec f6a99b6ebc Fix: Fix quotation marks (#3973)
* Fix quotation marks

* Fix the order
2023-01-27 13:32:52 +01:00
Agnieszka Marzec 7937ef8995 Add csvconverter to API docs (#3968) 2023-01-27 11:42:22 +01:00
Agnieszka Marzec 88650c9b0a Add imgtotext api doc (#3966) 2023-01-27 09:07:53 +01:00
Massimiliano PippiandSilvano Cerza 7f6ed941d4 chore: bump pydoc-markdown version used in the CI (#3955)
* use latest pydoc-markdown

* make the workflow manually actionable

* Apply suggestions from code review

Co-authored-by: Silvano Cerza <[email protected]>

Co-authored-by: Silvano Cerza <[email protected]>
2023-01-26 16:58:43 +01:00
d962bc0bc9 Update unstable version and openapi schema (#3924)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mayank Jobanputra <[email protected]>
2023-01-26 01:02:49 +05:30
ZanSaraandbogdankostic 94f660c56f feat: store id_hash_keys in Document objects to make documents clonable (#3697)
* store id_hash_keys in Document objects

* fix id_hash_keys calls throughout codebase

* generate schema

* fix es

* fix weaviate

* backward compatible

* openapi schema

* remove unused deprecation warning

* remove unused imports

* openapi

* unused var

* Apply suggestions from code review

Co-authored-by: bogdankostic <[email protected]>

* Update haystack/schema.py

* Apply suggestions from code review

Co-authored-by: bogdankostic <[email protected]>

* Update haystack/schema.py

* review feedback

* trailing spaces

* pylint

* add deprecation test

Co-authored-by: bogdankostic <[email protected]>
2023-01-23 15:00:52 +01:00
ZanSara 3ffdb0a9a3 chore: fix all EOF (#3852)
* fix all eof

* fix test

* fix test

* fix test

* typo

* fix sample

* fix sample

* add logs

* fix page_dynamic_result.txt
2023-01-16 12:34:50 +01:00
e84fae2894 Migrating to use native Pytorch AMP (#2827)
* Started making changes to use native Pytorch AMP

* Updated compute_loss functions to use torch.cuda.amp.autocast

* Updating docstrings

* Add use_amp to trainer_checkpoint

* Removed mentions of apex and started to add the necessary warnings

* Removing unused instances of use_amp variable

* Added fast training test for FARMReader. Needed to add max_query_length as a parameter in FARMReader.__init__ and FARMReader.train

* Make max_query_length optional in FARMReader.train

* Update lg

Co-authored-by: Agnieszka Marzec <[email protected]>
Co-authored-by: agnieszka-m <[email protected]>
2023-01-05 09:14:28 +01:00
Bilge Yücel ddba75021a fix: add additional settings to OpenAPI schema (#3788)
* "proxy-enabled": disable CORS proxy
* "samples-languages": display two languages initially
2022-12-30 16:10:37 +03:00
bogdankostic 36cfd41713 Add newline when generating OpenAPI specs (#3782) 2022-12-29 17:55:43 +01:00
Agnieszka Marzecandbogdankostic b8fff837b4 docs: Add info where the feedback is stored (#3772)
* Add info where the feedback is stored

* Fix misplaced line breaks

* Generate OpenAPI Specs

* Generate OpenAPI Specs

* Apply black

* Generate OpenAPI specs

* Add missing whitespace

Co-authored-by: bogdankostic <[email protected]>
2022-12-28 14:46:26 +01:00
Bilge Yücel 86ade4817e bug: fix the docs rest api reference url (#3775)
* bug: fix the docs rest api reference url

* revert openapi json changes

* remove last line on json files

* Add explanation about `servers` and remove `servers` parameter from FastAPI

* generate openapi schema without empty end line
2022-12-28 12:30:58 +03:00
Agnieszka Marzec 367c63ef1d Update readme (#3744) 2022-12-22 15:53:48 +01:00
Tuana Celik fe5e0164e8 chore: adding template for prompt node (#3738) 2022-12-21 20:13:57 +01:00
Stefano Fiorucci e1401f79b6 refactor: improve Multilabel design (#3658)
* first try and new test

* fix test

* fix unused import

* remove comments

* no more dataclass

* add __eq__ and extend test

* better design from review

* Update schema.py

* fix black

* fix openapi

* fix openapi 2

* new try to fix openapi

* remove newline from openapi json
2022-12-13 10:45:56 +01:00
github-actions[bot]andgithub-actions[bot] 5405d9d7f8 Update unstable version and openapi schema (#3700)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-13 09:59:52 +01:00
Sara Zan eba518a589 add trailing newlines to make end-of-file-fixer happy (#3699) 2022-12-12 14:42:25 +01:00
github-actions[bot]andgithub-actions[bot] af78f8b431 Update unstable version and openapi schema (#3584)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-16 10:09:40 +01:00
Massimiliano Pippi 0c1de3745d fix milvus imports (#3576) 2022-11-15 10:58:51 +01:00