-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial version for langchain migration * format and sort some imports * format the rest of the files * disable some tests * add a test mocking ollama server * clean up the test * add diff to black check * upgrade black version * clean up history.py * fix bug and improve settings * add missing file ollama.py * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * improve output format * add openai support * fix type error * install types-requests * fix type errors * fix tests * add prompt-toolkit as dependency * add simple-term-menu as dependency * update gif * Update README.md * update gif * Update README.md * Update README.md * Update README.md * Update README.md * update versioning options * remove comments
- Loading branch information
1 parent
e4e5566
commit d1d838c
Showing
19 changed files
with
530 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,6 @@ __pycache__ | |
.python-version | ||
dist | ||
.env | ||
.DS_Store | ||
.DS_Store | ||
.ipynb_checkpoints | ||
experiments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,10 @@ build-backend = "hatchling.build" | |
[project] | ||
name = "comai" | ||
dynamic = ["version"] | ||
authors = [ | ||
{ name="Pedro Rico", email="[email protected]" }, | ||
] | ||
authors = [{ name = "Pedro Rico", email = "[email protected]" }] | ||
description = "AI powered console assistant" | ||
readme = "README.md" | ||
license = {file = "LICENSE"} | ||
license = { file = "LICENSE" } | ||
requires-python = ">=3.7" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
|
@@ -20,9 +18,13 @@ classifiers = [ | |
"Operating System :: Unix", | ||
] | ||
dependencies = [ | ||
"typer[all]==0.9.0", | ||
"openai==0.27.5", | ||
"cryptography==40.0.2", | ||
"typer-slim==0.12.3", | ||
"rich==13.7.1", | ||
"prompt-toolkit==3.0.43", | ||
"simple-term-menu==1.6.4", | ||
"langchain==0.1.17", | ||
"langchain-openai==0.1.6", | ||
"ollama==0.1.9", | ||
] | ||
|
||
[project.urls] | ||
|
@@ -34,10 +36,12 @@ issues = "https://github.com/ricopinazo/comai/issues" | |
comai = "comai.cli:app" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
dev = [ | ||
"pytest", | ||
"hatchling", | ||
"python-dotenv" | ||
"types-requests==2.31.0.20240406", | ||
"mypy==1.9.0", | ||
"black==24.4.0", | ||
] | ||
|
||
[tool.hatch.version] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.