Skip to content

Commit cc6f8d1

Browse files
committed
More metadata
1 parent d590f5c commit cc6f8d1

3 files changed

Lines changed: 12 additions & 27 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
cache: poetry
1919

2020
- name: Install dependencies
21-
run: poetry install --no-dev
21+
run: poetry install --only main
2222

2323
- name: Publish to PyPI
2424
run: poetry publish --build --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ system_messages = [{"role": "system", "content": r.content} for r in results] #
6565
user_message = {
6666
"role": "system",
6767
"content": f"""
68-
Do not hallucinate. Only answer the question based on the provided results data.
69-
If there is no data in the provided data for the question, do not try to generate an answer that does not make sense.
70-
This is the question: {prompt}
68+
Do not hallucinate. Only answer the question based on the provided results data.
69+
If there is no data in the provided data for the question, do not try to generate an answer that does not make sense.
70+
This is the question: {prompt}
7171
""",
7272
}
7373

@@ -92,6 +92,6 @@ Needle API helps you with hassle-free contextualization however does not limit y
9292

9393
If a request to Needle API fails, `needle.v1.models.Error` object will be thrown. There you can see a `message` and more details about the error.
9494

95-
# Support 📞
95+
## Support 📞
9696

9797
If you have questions you can contact us in our [Discord channel](https://discord.gg/JzJcHgTyZx).

pyproject.toml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,9 @@
22
requires = ["poetry-core"]
33
build-backend = "poetry.core.masonry.api"
44

5-
[project]
6-
name = "needle"
7-
version = "0.0.1"
8-
authors = [
9-
{ name = "Onur Eken", email = "m.onureken@gmail.com" },
10-
{ name = "Jan Heimes", email = "heimesjan9@gmail.com" },
11-
]
12-
description = "Needle client library for Python"
13-
readme = "README.md"
14-
requires-python = ">=3.8"
15-
classifiers = [
16-
"Programming Language :: Python :: 3",
17-
"License :: OSI Approved :: MIT License",
18-
"Operating System :: OS Independent",
19-
]
20-
21-
[project.urls]
22-
Homepage = "https://github.com/oeken/needle-python"
23-
Issues = "https://github.com/oeken/needle-python/issues"
24-
25-
265
[tool.poetry]
276
name = "needle-python"
28-
version = "0.1.0"
7+
version = "0.1.2"
298
description = "Needle client library for Python"
309
authors = [
3110
"Onur Eken <m.onureken@gmail.com>",
@@ -34,6 +13,12 @@ authors = [
3413
readme = "README.md"
3514
packages = [{ include = "needle" }]
3615

16+
[tool.poetry.urls]
17+
homepage = "https://needle-ai.com"
18+
documentation = "https://docs.needle-ai.com"
19+
repository = "https://github.com/oeken/needle-python"
20+
issues = "https://github.com/oeken/needle-python/issues"
21+
3722
[tool.poetry.dependencies]
3823
python = "^3.8"
3924
requests = "^2.32.3"

0 commit comments

Comments
 (0)