-
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.
Merge pull request #10 from turboflo/8-add-documentation
chore: Update project name from horizon-match to horizon-scope
- Loading branch information
Showing
33 changed files
with
202 additions
and
115 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# horizon-match custom | ||
# horizon-scope custom | ||
horizon_projects_embeddings.pkl | ||
.DS_Store | ||
.vscode | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from src.horizon_match.presentation.streamlit_app import main | ||
from src.horizon_scope.presentation.streamlit_app import main | ||
|
||
if __name__ == "__main__": | ||
main() |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
horizon-match: | ||
horizon-scope: | ||
comparison-service: | ||
type: openai | ||
api_key: "{OPENAI_API_KEY}" | ||
|
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[tool.poetry] | ||
name = "horizon-match" | ||
name = "horizon-scope" | ||
version = "0.0.1" | ||
description = "" | ||
authors = ["Florian Hegenbarth <[email protected]>"] | ||
readme = "README.md" | ||
packages = [{ include = "horizon_match", from = "src" }] | ||
packages = [{ include = "horizon_scope", from = "src" }] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.11" | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...lication/interfaces/comparison_service.py → ...lication/interfaces/comparison_service.py
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
2 changes: 1 addition & 1 deletion
2
...ation/interfaces/vector_search_service.py → ...ation/interfaces/vector_search_service.py
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...h/domain/entities/horizon_match_result.py → ...e/domain/entities/horizon_scope_result.py
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import streamlit as st | ||
from horizon_match.presentation.horizon_match_client import HorizonMatchClient | ||
from horizon_scope.presentation.horizon_scope_client import HorizonScopeClient | ||
import os | ||
|
||
|
||
|
@@ -34,7 +34,7 @@ def main(): | |
# Sidebar | ||
with st.sidebar: | ||
st.markdown("### ℹ️ About") | ||
st.markdown("🌐 [GitHub Repository](https://github.com/turboflo/horizon-match)") | ||
st.markdown("🌐 [GitHub Repository](https://github.com/turboflo/horizon-scope)") | ||
st.markdown( | ||
"📧 Contact: [[email protected]](mailto:[email protected])" | ||
) | ||
|
@@ -47,7 +47,7 @@ def main(): | |
config_path = os.path.join( | ||
os.path.dirname(__file__), "..", "..", "..", "config.yml" | ||
) | ||
client = HorizonMatchClient.from_config(config_path) | ||
client = HorizonScopeClient.from_config(config_path) | ||
|
||
# User input form | ||
with st.form(key="input_form"): | ||
|
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 |
---|---|---|
@@ -0,0 +1,87 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 2, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"horizon_match/\n", | ||
" __init__.py\n", | ||
" application/\n", | ||
" __init__.py\n", | ||
" use_cases/\n", | ||
" __init__.py\n", | ||
" compare_projects.py\n", | ||
" interfaces/\n", | ||
" comparison_service.py\n", | ||
" vector_search_service.py\n", | ||
" __init__.py\n", | ||
" infrastructure/\n", | ||
" __init__.py\n", | ||
" config/\n", | ||
" config_manager.py\n", | ||
" __init__.py\n", | ||
" services/\n", | ||
" pinecone_search_service.py\n", | ||
" openai_comparison_service.py\n", | ||
" __init__.py\n", | ||
" domain/\n", | ||
" __init__.py\n", | ||
" entities/\n", | ||
" __init__.py\n", | ||
" horizon_match_result.py\n", | ||
" comparison.py\n", | ||
" project.py\n", | ||
" presentation/\n", | ||
" __init__.py\n", | ||
" streamlit_app.py\n", | ||
" horizon_match_client.py\n" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"import os\n", | ||
"\n", | ||
"package_path = \"src/horizon_scope\"\n", | ||
"\n", | ||
"# Display the project structure with .py files\n", | ||
"\n", | ||
"for root, dirs, files in os.walk(package_path):\n", | ||
" level = root.replace(package_path, '').count(os.sep)\n", | ||
" indent = ' ' * 4 * (level)\n", | ||
" if '__pycache__' not in root:\n", | ||
" print('{}{}/'.format(indent, os.path.basename(root)))\n", | ||
" subindent = ' ' * 4 * (level + 1)\n", | ||
" for f in files:\n", | ||
" if not f.endswith('.pyc'):\n", | ||
" print('{}{}'.format(subindent, f))\n", | ||
" " | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": ".venv", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.11.9" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
} |
Oops, something went wrong.