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

Remove csv agent abstraction #123

Conversation

Anirudh31415926535
Copy link
Collaborator

No description provided.

Anirudh31415926535 and others added 29 commits June 10, 2024 20:51
* feat: support multi hop tool calling

* refactor: deprecate create_cohere_tools_agent

* test: add unit tests for multi hop tool calling

* version: bump version to 0.1.7rc0

* fix: lint

* fix: lint fix

* fix: lint

* fix: lint fix

* fix: minor error message fix

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* nit: cohere to Cohere

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* nit: change deprecation alternative link source and desc

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* chore: Ignore E501 lint fixes

* chore: merge conflicrts

* nit: reformat line

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* fix: lint and tests

* nit: Add comments

* fix: fix lints

* fix: remove unecessary if-else check

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* fix: add comments and minor code cleaning

* fix: small nit pick bug fixed

* fix: Resolve bug where tool_results was calculated for all messages instead of just current conversation turn

* fix: fix unit tests

* nit: minor code cleanup and lint fixes

* fix: lint fixes

* chore: complete implementation of chat_history private attribute and fix tests

* fix: minor code cleaning

* fix: Remove chat history parameter and calculate chat history before each request

* fix: linting and minor err handling

* fix: nit on failing tests

* nit: add comment

* fix: update pending to removal in deprecated function decoration

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* fix: update poetry lock

---------

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>
* feat: support multi hop tool calling

* refactor: deprecate create_cohere_tools_agent

* test: add unit tests for multi hop tool calling

* version: bump version to 0.1.7rc0

* fix: lint

* fix: lint fix

* fix: lint

* fix: lint fix

* fix: minor error message fix

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* nit: cohere to Cohere

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* nit: change deprecation alternative link source and desc

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* chore: Ignore E501 lint fixes

* chore: merge conflicrts

* nit: reformat line

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* fix: lint and tests

* nit: Add comments

* fix: fix lints

* fix: remove unecessary if-else check

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* fix: add comments and minor code cleaning

* fix: small nit pick bug fixed

* fix: Resolve bug where tool_results was calculated for all messages instead of just current conversation turn

* fix: fix unit tests

* nit: minor code cleanup and lint fixes

* fix: lint fixes

* chore: complete implementation of chat_history private attribute and fix tests

* fix: minor code cleaning

* fix: Remove chat history parameter and calculate chat history before each request

* fix: linting and minor err handling

* fix: nit on failing tests

* nit: add comment

* fix: update pending to removal in deprecated function decoration

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* chore: Update replay tests and increase unit test coverage

* fix: lint fixes

* fix: update react agent tests

* fix: update tests

* update test script

* fix: update pyproject.toml

* fix: ignore missing import

* nit: fix import statement

* fix: remove googleapi from replay tests

* lint: fix lint

* fix: move langgraph imports to inside function

* lint: fix poetry lock file

* lint: ignore import error mypy

* fix: poetry lock changes

---------

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>
…angchain-ai#8)

Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4.
- [Commits](certifi/python-certifi@2024.06.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* support streaming for tool calling

* nit

* Add streaming for tool call

* nit

* replace cassettes
* add langchain standard tests

* add model params to unit test

* nit
* feat: add cohere csv agent

* remove print statements

* fix: run poetry lock

* nit: remove 'f' char

* fix: use tool_calling_agent instead of cohere_react_agent

* fix: add csv agent to import check tests

* fix: ignore missing imports

* fix: add prompt parameter

* fix: function nits

* nits: minor updates

* Update csv agent

* Update poetry lock
…langchain-ai#5)

* Make the model parameters compulsory for embedding and rerankers

* Update version

* Update lock file

* fix: update tests

* feat: update tests

* fix: langgraph fix in poetry

* Bump poetry version

* fix breaking test

* update poetry lock
* fix nits and small bugs

* nits

* nits

* update func tool name

* update tests
* Add load summarize chain

* Update beta reasoning

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* lint fix

* minor code cleanups

---------

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>
* Fix broken CohereEmbeddings integration

* lint

* code nits
* fix embed documents bug

* Update libs/cohere/langchain_cohere/embeddings.py

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* Update libs/cohere/langchain_cohere/embeddings.py

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* Update libs/cohere/langchain_cohere/embeddings.py

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* Update libs/cohere/langchain_cohere/embeddings.py

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* Update libs/cohere/langchain_cohere/embeddings.py

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* Update libs/cohere/langchain_cohere/embeddings.py

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* Update typings

---------

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>
* fix incorrect tool call formatting

* Remove embeddings standard test - EmbeddingsIntegrationTests removed from standard test

* Add unit test for fix

* Update libs/cohere/langchain_cohere/chat_models.py

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* Bump version

* Nit and format

* lint fix

---------

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>
* Add deprecation banner

* Add deprecation message
* Add json mode with_structured_output

* Update libs/cohere/langchain_cohere/chat_models.py

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* Update libs/cohere/langchain_cohere/chat_models.py

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* Add docs and update tests

* update test

* Update libs/cohere/langchain_cohere/chat_models.py

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* Update libs/cohere/langchain_cohere/chat_models.py

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>

* Update lock file

* Bump version

---------

Co-authored-by: harry-cohere <127103098+harry-cohere@users.noreply.github.com>
* Remove the csv agent

* update poetry lock file

* Update poetry toml version

* Remove dependencies on pandas and tabulate

* Update poetry lock

* Update tests
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.

2 participants