Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add recall to stray_cat.py #848

Conversation

nicola-corbellini
Copy link
Member

Description

This is a draft of the recall method discussed in #818.
I'm leaving some questions in a self-review.

Related to issue #(issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

pieroit and others added 20 commits December 1, 2023 17:24
`cat/data` folder to store dbs and more easily mount docker a volume
version 1.4.2: Heavy duty endpoints + smart admin connection
Better error message for noobs + rabbithole bug fix
…/rabbit_hole_read_content

Fixed an issue in the rabbit hole process
New in version 1.4.8

- fix Huggingface endpoint integration by @valentimarco 
- optimize plugins' dependencies checks by @kodaline and @Pingdred
- adapter for OpenAI compatible endpoints by @AlessandroSpallina
- optimizations for temp files and logs by @Pingdred
- Levenshtein distance utility by @horw
- customizable query param for recall functionality by @pazoff 
- alternative syntax for `@hook` by @zAlweNy26 
- `@tool` examples` by @zAlweNy26 
- ENV variable sfor Qdrant endpoint by @lucapirrone
- endpoints' final  `/` standardization by @zAlweNy26 
- logs refactoring by @giovannialbero1992
- chuck size and overlap in RabbitHole based on tokens by @nickprock 
- CustomOllama LLM adapter by @valentimarco 
- plugin upgradeability flag by @bositalia
- FatsEmbed base model and model enum by @nickprock and @valentimarco 
- bump langchain and openai versions by @Pingdred 
- new `before_cat_stores_episodic_memory` hook by @lucapirrone
- fix cat plugins folder bug in test suite by @nickprock 
- bump qdrant client version by @nickprock 

Thank you all! ❤️
Version 1.5.0: Sir Punctilious Cat, the IV
1.5.1 fastembed compatibility and model cache
New in version 1.5.2:

- reduced default chunk size and overlap - @nickprock 
- update Azure LLM and Embedding configs - @zioproto @cristianorevil 
- add timestamp to conversation history - @zAlweNy26 
- update Qdrant client and key env variable for cloud version - @valentimarco 
- update unit tests - @pieroit 
- add http endpoint to chat with the Cat (experimental) - @zAlweNy26 
- more dependencies update - @dave90
- preserve settings at plugin update - @luca.gobbi
- tool usage via JSON - @Pingdred
Tools and forms to work with small models; `cat.classify`
New in version 1.6.0:

 - New `rabbithole_instantiates_splitter` hook - @zAlweNy26 
 - Update OpenAICompatible LLMs - @dave90 
 - added `CatMessage`, `UserMessage`, `MessageWhy`, `WorkingMemory` types - @Pingdred, @pieroit 
 - dependencies version bump - @pieroit
 - add `send_chat_message`, `send_notification` and `send_error` to `StrayCat` - @Pingdred 
 - customizable `CatForm` message composition - @lucagobbi
 - Websocket stability - @Pingdred 
 - improve tests: `FakeTestLLM`, `BasemodelDict`, stray methods, rabbithole chunking - @pieroit
 - add `after_rabbithole_stored_documents` hook - @dedalo944
Copy link
Member Author

@nicola-corbellini nicola-corbellini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi guys, here a couple of questions for you @pieroit @valentimarco

core/cat/looking_glass/stray_cat.py Outdated Show resolved Hide resolved
core/cat/looking_glass/stray_cat.py Outdated Show resolved Hide resolved
core/cat/looking_glass/stray_cat.py Outdated Show resolved Hide resolved
core/cat/looking_glass/stray_cat.py Show resolved Hide resolved
core/cat/looking_glass/stray_cat.py Outdated Show resolved Hide resolved
@nicola-corbellini
Copy link
Member Author

eehy @pieroit sorry for the late response. I don't think i will be able to be back on this task any time soon, maybe @nickprock would you like to address the changes? i remember you showed interested in developing the method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants