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

Added the Project Tools #281

Merged
merged 8 commits into from
Jul 16, 2023
Merged

Conversation

amjadraza
Copy link
Contributor

Project Tools

  1. Added CONTRIBUTING.md guide
  2. Added CI/CD pipeline with GitHub
  3. PR template
  4. Pr-Commit Hooks
  5. Added Project Environment Management via poetry.toml
  6. Added version in package

@taranjeet
Copy link
Member

@deshraj : since you were collaborating on this, can you review this?

.env.example Show resolved Hide resolved
.github/workflows/cd.yml Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
@@ -0,0 +1,3 @@
[virtualenvs]
in-project = true
path = "."
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
path = "."
path = "."

pyproject.toml Outdated Show resolved Hide resolved
mock_retrieve.assert_called_once_with("Test query")
mock_answer.assert_called_once()
# mock_retrieve.assert_called_once_with("Test query")
# mock_answer.assert_called_once()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tests are not passing. I have found few other tests failing too. Needed review.

  1. TestChromaDbHostsInit
  2. TestApp

I have commented out these for further review.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please paste the error that you are seeing?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Just tried locally. If you rebase with main branch, it should start working. Works on my local.

We can merge your PR once you resolve the conflicts.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

FAILED tests/vectordb/test_chroma_db.py::TestChromaDbHostsInit::test_init_with_host_and_port - AssertionError: None != 'test-host'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

for test TestChromaDbHostsInit

Copy link
Collaborator

Choose a reason for hiding this comment

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

@cachho can you please take a look at the issue of failing test whenever you get time?

@deshraj
Copy link
Collaborator

deshraj commented Jul 16, 2023

Looks good overall. Please resolve the conflicts and incorporate minor comments. ❤️

Copy link
Collaborator

@deshraj deshraj left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks for adding!

@deshraj deshraj merged commit ac68986 into mem0ai:main Jul 16, 2023
cachho pushed a commit to cachho/embedchain that referenced this pull request Jul 26, 2023
@amjadraza amjadraza deleted the feature/project_tools_v1 branch May 2, 2024 23:16
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.

3 participants