Skip to content

Commit

Permalink
Add requirements for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chucheria committed Mar 4, 2024
1 parent 7978c24 commit 9d9555a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/source/definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LLMs have the capability to address various tasks when provided with specific in

Firstly, prompts typically encapsulate application logic in their definition, yet they are treated merely as input arguments. This means that a poorly formulated prompt input has the potential to disrupt the application.

Secondly, crafting concrete prompts for each task is not only a laborious task but also a complex one. Minor alterations in the input prompt can result in different outcomes, rendering them highly error-prone. Additionally, when composing prompts, considerations extend beyond the task itself to include factors such as the specific LLM being used, the model's capacity, and other relevant aspects.
Secondly, crafting specific prompts for each task is not only a laborious task but also a complex one. Minor alterations in the input prompt can result in different outcomes, rendering them highly error-prone. Additionally, when composing prompts, considerations extend beyond the task itself to include factors such as the specific LLM being used, the model's capacity, and other relevant aspects.

🚀 How do we do it?
------
Expand Down
15 changes: 11 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ dependencies = [
"pydantic == 1.10.11",
"faiss-cpu == 1.7.4",
"tiktoken==0.4.0",
"boto3==1.34.23"
]

[tool.setuptools_scm]
Expand Down Expand Up @@ -53,17 +52,25 @@ dev = [
"pylint",
"flake8",
]
docs = [
"sphinx==7.2.6",
"furo==2024.1.29",
"numpydoc==1.6.0",
]
openai = [
"openai==0.27.8",
]
huggingface = [
"torch == 2.0.1",
"transformers ==4.31.0",
"torch==2.0.1",
"transformers==4.31.0",
"sentence-transformers==2.2.2",
]
google = [
"google-cloud-aiplatform>=1.30.1",
]
aws = [
"boto3==1.34.23",
]
examples = [
"bumpver",
"jupyter",
Expand All @@ -72,5 +79,5 @@ examples = [
"scikit-learn",
]
all = [
"promptmeteo[dev, examples, openai, huggingface, google]",
"promptmeteo[dev, examples, openai, huggingface, google, aws]",
]

0 comments on commit 9d9555a

Please sign in to comment.