Bilge Yücel
62029ba441
Add AgentStep to api reference ( #5402 )
2023-07-31 19:26:34 +03:00
Stefano Fiorucci
672813052d
Update invocation-layers.yml ( #5445 )
2023-07-26 15:39:08 +02:00
bogdankostic
345dbeb638
docs: Add Elasticsearch to API config ( #5422 )
2023-07-24 16:23:13 +02:00
Massimiliano Pippi
a13ffcf9df
bump pydoc-markdown ( #5405 )
2023-07-20 16:48:08 +02:00
elundaeva
612c6779fb
feat: RecentnessRanker ( #5301 )
...
* recency reranker code
* removed
* readd
* edited code
* edit
* mypy test fix
* adding warnings for score method
* fix
* fix
* adding paper link
* comments implementation
* change to predict and predict_batch
* change to predict and predict_batch 2
* adding unit test
* fixes
* small fixes
* fix for unit test
* table driven test
* small fixes
* small fixes2
* adding predict_batch tests
* add recentness_ranker to api reference docs
* implementing feedback
* implementing feedback2
* implementing feedback3
* implementing feedback4
* implementing feedback5
* remove document_map, remove final check if score is not None
* add final check if doc score is not None for mypy
---------
Co-authored-by: Darja Fokina <daria.f93@gmail.com>
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
2023-07-20 16:20:45 +02:00
bogdankostic
c2506866bd
docs: Pin PyYAML to 5.3.1 ( #5400 )
2023-07-20 15:31:58 +02:00
Vladimir Blagojevic
f21005f8ea
refactor: Extract link retrieval from WebRetriever, introduce LinkContentRetriever ( #5227 )
...
* Extract link retrieval from WebRetriever, introduce LinkContentRetriever
* Add example
---------
Co-authored-by: Stefano Fiorucci <44616784+anakin87@users.noreply.github.com>
Co-authored-by: Daria Fokina <daria.f93@gmail.com>
2023-07-13 12:54:40 +02:00
Daria Fokina
a152a812da
create invocation-layers API reference page ( #5262 )
...
* create invocation-layers.yml
* Update invocation-layers.yml
2023-07-12 17:48:27 +02:00
Silvano Cerza
d6f855cbc5
chore: Add support for hierarchical docs ( #5278 )
...
Co-authored-by: bogdankostic <bogdankostic@web.de>
2023-07-07 17:00:29 +02:00
Daria Fokina
181a277f60
Update agent.yml ( #5222 )
2023-06-28 21:14:11 +02:00
bogdankostic
6a5fbb7118
docs: Remove transformers module from AnswerGenerator API docs ( #5185 )
2023-06-21 17:20:25 +02:00
Bilge Yücel
6a1b6b1ae3
feat: Update ConversationalAgent ( #5065 )
...
* feat: Update ConversationalAgent
* Add Tools
* Add test
* Change default params
* fix tests
* Fix circular import error
* Update conversational-agent prompt
* Add conversational-agent-without-tools to legacy list
* Add warning to add tools to conversational agent
* Add callable tools
* Add example script
* Fix linter errors
* Update ConversationalAgent depending on the existance of tools
* Initialize the base Agent with different arguments when there's tool
* Inject memory to the prompt in both cases, update prompts accordingly
* Override the add_tools method to prevent adding tools to ConversationalAgent without tools
* Update test
* Fix linter error
* Remove unused import
* Update docstrings and api reference
* Fix imports and doc string code snippet
* docstrings update
* Update conversational.py
* Mock PromptNode
* Prevent circular import error
* Add max_steps to the ConversationalAgent
* Update resolver description
* Add prompt_template as parameter
* Change docstring
---------
Co-authored-by: Darja Fokina <daria.f93@gmail.com>
2023-06-20 13:09:21 +03:00
Massimiliano Pippi
00bee17b79
fix: remove old dependency from file-converters.yml ( #4999 )
2023-05-23 17:27:04 +02:00
dependabot[bot]
8a45be5733
build(deps): bump requests from 2.28.2 to 2.31.0 in /docs/pydoc ( #4984 )
...
Bumps [requests](https://github.com/psf/requests ) from 2.28.2 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.28.2...v2.31.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 08:26:38 +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 Blagojevic
73380b194a
feat: Add Cohere PromptNode invocation layer ( #4827 )
...
* Add CohereInvocationLayer
---------
Co-authored-by: bogdankostic <bogdankostic@web.de>
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 Marzec
815dcdebbd
docs: Update PromptNode API docs ( #4549 )
...
* Update docstrings
* adapt test to changed logging message
---------
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
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 Marzec
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 <julian.risch@deepset.ai>
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
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
Massimiliano Pippi
8824f3a10a
re-organize pydoc config files ( #4042 )
2023-02-03 12:51:10 +01:00
Massimiliano Pippi
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 <3314350+silvanocerza@users.noreply.github.com>
Co-authored-by: Silvano Cerza <3314350+silvanocerza@users.noreply.github.com>
2023-01-26 16:58:43 +01:00
Branden Chan
492a8046d8
docs: sync Haystack API with Readme ( #3223 )
...
* First pass at syncing Haystack API with Readme
* Reapply changes
* Regularize slugs
* Regularize slugs
* Regularize slugs
* Set category id and regen
* Trigger workflow
* Delete old md files
* Test sync
* Undo test string
* Incorporate reviewer feedback
* Test on the fly API generation and sync
* Test on the fly API generation and sync
* Test on the fly API generation and sync
* Test on the fly API generation and sync
* Test on the fly API generation and sync
* Change name of pydoc-markdown scripts
* Test on the fly API generation and sync
* Remove version tag
* Test version tag
* Test version tag
* Test version tag
* Revert test docstring
* Revert md file changes
* Revert md file changes
* Revert script naming
* Test on the fly generation and sync
* Adjust for on the fly generation and sync
* Revert test string
* Remove old documentation workflow
* Set workflow to work on main
* Change readme version name
2022-09-21 17:18:34 +02:00
Massimiliano Pippi
8ee2b6b403
Add a custom pydoc renderer for Readme.io ( #2825 )
...
* add custom pydoc renderer
* create an example
* revert example code
2022-07-22 10:43:51 +02:00