-
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.
- Loading branch information
Showing
8 changed files
with
2,769 additions
and
20 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
**env.sh |
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,2 +1,15 @@ | ||
# octoai-solutions | ||
# OctoAI Solutions | ||
A collection of reference solutions built on top of OctoAI SaaS | ||
|
||
## Project setup | ||
Some of the solutions are implemented as poetry projects. | ||
|
||
### Creating requirements.txt from poetry | ||
```bash | ||
poetry export --without-hashes --format=requirements.txt > requirements.txt | ||
``` | ||
|
||
### Synching requirements.txt to poetry | ||
```bash | ||
cat requirements.txt | xargs poetry add | ||
``` |
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,17 @@ | ||
# NER Playground | ||
|
||
## Running locally | ||
First input your different api keys in `env.sh`. Then: | ||
```bash | ||
source env.sh | ||
``` | ||
|
||
### With Poetry | ||
First setup via: | ||
```bash | ||
poetry install --no-root | ||
``` | ||
Now run via: | ||
```bash | ||
poetry run streamlit run ner_solution.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export LLAMA_CLOUD_API_KEY= | ||
export OCTOAI_API_KEY= | ||
export FIRECRAWL_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
Oops, something went wrong.