389 Commits

Author SHA1 Message Date
Kylin
ec37389005
[bugfix]Fix chunk.choices[0].delta.content is None in query response (#520)
fix llm response content is None in query
2024-07-11 22:17:30 -06:00
s106916
ff7ac0512c
[bug] fix chunk.choices[0].delta NoneType (#509)
* fix chunk.choices[0].delta NoneType

* Fix delta none on query calls

---------

Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
2024-07-11 20:50:57 -06:00
Alonso Guevara
53fcafd57f
Fix Mixed LLM settings for completions and embeddings (#517)
* Fixed an issue where base OpenAI embeddings can't work with Azure OpenAI LLM

* Removed redundant None from else

* Format

---------

Co-authored-by: Kenny Stryker <nggkenny@gmail.com>
2024-07-11 17:09:04 -06:00
wangJm
af74cae191
Modify the URL comment to make it correct. (#482)
Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
2024-07-11 16:19:54 -06:00
Alonso Guevara
a0caadb320
Fix encoding model parameter in prompt auto templating (#500)
* Fix encoding model parameter in prompt tune

* Format changes
2024-07-11 16:12:25 -06:00
Kylin
c7da7f1afb
[compatibility issue] Support open source LLM model to prompt-tune (#505)
Compatibility update: support non-open ai model to prompt-tune

Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
2024-07-11 12:03:30 -06:00
Alonso Guevara
7a9c9071c1
Change defaults for CHUNK_SIZE, CHUNK_OVERLAP and GLEANINGS (#499)
* enlarge the chunk size to reduce the cost and time greatly to 1/4

* Change default gleanings, chunk_size and chunk_overlap

* Update patch-20240710114442871595.json

---------

Co-authored-by: KylinMountain <kose2livs@gmail.com>
2024-07-11 10:22:27 -06:00
Alonso Guevara
c3852b0749
Fix/prompt tuning report rating (#496)
* add community report ranking to cli

* use tuned ratings in generated community report rankings

* update report generation template

* add new import paths to init

* add community report generation prompt and util function

* add rating generator, update init paths

* add report rating generation prompt

* update report generation template

* typo

* add semantic release

* Add missing docstring

* Format

* is is

* Format ruff

---------

Co-authored-by: Julian Whiting <j2whitin@gmail.com>
2024-07-10 15:55:21 -06:00
Alonso Guevara
aff2f79ae2
Feat/language in autotemplating (#468)
* Add language parameter on prompt tuning

* Semver and docs

* Fix typo
2024-07-10 13:56:54 -06:00
dependabot[bot]
607344022c
Bump textual from 0.70.0 to 0.72.0 (#462)
Bumps [textual](https://github.com/Textualize/textual) from 0.70.0 to 0.72.0.
- [Release notes](https://github.com/Textualize/textual/releases)
- [Changelog](https://github.com/Textualize/textual/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Textualize/textual/compare/v0.70.0...v0.72.0)

---
updated-dependencies:
- dependency-name: textual
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 12:20:47 -06:00
dependabot[bot]
5f34d2d153
Bump JamesIves/github-pages-deploy-action from 4.6.1 to 4.6.3 (#425)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.6.1 to 4.6.3.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.6.1...v4.6.3)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 11:55:17 -06:00
dependabot[bot]
cf4ac7fb13
Bump ruff from 0.5.0 to 0.5.1 (#422)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.5.1)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 11:33:50 -06:00
YangJiaqi
b1d1cb9b4b
Update auto_prompt_tuning.md (#406)
Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
2024-07-09 07:40:18 -06:00
dependabot[bot]
b53b91e849
Bump pyright from 1.1.369 to 1.1.370 (#421)
Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.369 to 1.1.370.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.369...v1.1.370)

---
updated-dependencies:
- dependency-name: pyright
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 07:36:47 -06:00
Kylin
e2572c7fab
[bug fix]Fix community_report config doesn't work in settings.yaml (#405)
* fix community_report doesn't work in settings.yaml

* add semversioner

* fix unittest about community report to community reports of env

---------

Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
2024-07-08 22:48:02 -06:00
dependabot[bot]
f46d5d5743
Bump pydantic from 2.8.0 to 2.8.2 (#420)
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.8.0 to 2.8.2.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic/compare/v2.8.0...v2.8.2)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 19:26:29 -06:00
dependabot[bot]
64c2e72b64
Bump certifi from 2024.6.2 to 2024.7.4 (#391)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 18:54:34 -06:00
Steven Truitt
2f5330497b
Update README.md (#439)
Added additional disclaimer about the potential costs of the indexing stage given some feedback that the costs were surprising.

Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
2024-07-08 17:49:15 -06:00
Alonso Guevara
dd113422d4
Add issue templates (#448) 2024-07-08 17:34:18 -06:00
Alonso Guevara
b912081f1b
Add N parameter support (#390)
* Add N parameter support

* Fix unit tests

* Add new env vars to param testing
2024-07-08 14:04:49 -06:00
AbdulHamid Merii
a22003c302
Fix/syntax error in overview.md (#364)
Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
2024-07-05 13:50:36 -06:00
glide-the
6865d60133
Fix/feat: Implementation of Minute-Based Rate Limiting in CommunityReportsExtractor Using asyncio and async_mode (#373)
* RateLimiter: The original TpmRpmLLMLimiter strategy did not account for minute-based rate limiting when scheduled. The RateLimiter was introduced to ensure that the CommunityReportsExtractor could be scheduled to adhere to rate configurations on a per-minute basis.

RateLimiter scheduled: using asyncio and async_mode

Additionally, some key loading issues for rpm = "REQUESTS_PER_MINUTE" and tpm = "TOKENS_PER_MINUTE" were fixed. Configuration loading was also enhanced to include temperature = "TEMPERATURE" and top_p = "TOP_P" settings.

* RateLimiter scheduled: using asyncio and async_mode

* Additionally, some key loading issues for rpm = "REQUESTS_PER_MINUTE" and tpm = "TOKENS_PER_MINUTE" were fixed. Configuration loading was also enhanced to include temperature = "TEMPERATURE" and top_p = "TOP_P" settings.

* Format

* Semversioner

* Format and cleanup

---------

Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
2024-07-05 13:41:11 -06:00
Alonso Guevara
daca75ff79
Fix/autotuning limit overflow (#363)
* Fix when limit exceeds the df length

* Semversioner
2024-07-04 14:37:18 -06:00
Alonso Guevara
88dd444dcb
Fix/333 broken link (#352)
* Fix broken link on docs to prompt tuning

* Semversioner
2024-07-03 12:38:36 -06:00
Josh Bradley
04159f46b3
Update indexing cli (#332) 2024-07-03 12:32:51 -04:00
Alonso Guevara
bea9e5da8c
Update README.md (#348) 2024-07-03 10:13:16 -06:00
Alonso Guevara
f0843b2bec
Update index.md (#349) 2024-07-03 10:12:44 -06:00
Alonso Guevara
ffeadc6d9c
Update dictionary.txt (#350) 2024-07-03 10:01:18 -06:00
Alonso Guevara
751e0caa4a
Add paper links and badges to Readme. (#326) 2024-07-02 16:08:13 -06:00
Zi Nean Teoh
f865e66fa2
Fix dead link due to typo (#320)
Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
2024-07-02 15:23:41 -06:00
Alex Chao
63a2b9639b
[Documentation] Add bullet point directing people to the Github Discussions tab (#324)
Update README.md

Add bullet point directing people to the Github Discussions tab
2024-07-02 14:53:19 -06:00
Alonso Guevara
a81efe58c7
Fix docsite base url (#319)
* Fix docsite base url

* Semversioner
v0.1.1
2024-07-01 23:40:54 +00:00
Alonso Guevara
c556fbb795
Fix versioning (#318) 2024-07-01 16:55:22 -06:00
Alonso Guevara
7f88f1eb58
Fix publishing (#317) 2024-07-01 16:41:11 -06:00
Alonso Guevara
cc492327e6
Fix publishing (#316) 2024-07-01 16:35:42 -06:00
Alonso Guevara
1aaa8c49fb
Fix publishing (#315) 2024-07-01 16:28:32 -06:00
Alonso Guevara
7879bfb795
Fix publishing (#314)
* Fix publishing

* Cleanup
2024-07-01 16:20:35 -06:00
Alonso Guevara
3093251148
Release v0.1.0 (#313) 2024-07-01 15:54:44 -06:00
Alonso Guevara
81b81cf60b Initial Release 2024-07-01 15:25:30 -06:00