Merge pull request #293140 from natsukium/guidance/update
python311Packages.guidance: 0.1.6 -> 0.1.11
This commit is contained in:
commit
9eaee4bf13
1 changed files with 14 additions and 5 deletions
|
@ -8,22 +8,24 @@
|
||||||
, wheel
|
, wheel
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, diskcache
|
, diskcache
|
||||||
|
, fastapi
|
||||||
, gptcache
|
, gptcache
|
||||||
, msal
|
, msal
|
||||||
, nest-asyncio
|
|
||||||
, numpy
|
, numpy
|
||||||
, openai
|
, openai
|
||||||
, ordered-set
|
, ordered-set
|
||||||
, platformdirs
|
, platformdirs
|
||||||
|
, protobuf
|
||||||
, pyformlang
|
, pyformlang
|
||||||
, requests
|
, requests
|
||||||
, tiktoken
|
, tiktoken
|
||||||
, torch
|
, torch
|
||||||
|
, uvicorn
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "guidance";
|
pname = "guidance";
|
||||||
version = "0.1.6";
|
version = "0.1.11";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -32,28 +34,33 @@ buildPythonPackage rec {
|
||||||
owner = "guidance-ai";
|
owner = "guidance-ai";
|
||||||
repo = "guidance";
|
repo = "guidance";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-Z3EuHAQPPXf/i0HnbDhGv5KBUBP0aZDHTwpff7g2E3g=";
|
hash = "sha256-dvIJeSur3DdNBhrEPNPghxqmDEEig59Iz83LWksim6U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pybind11
|
pybind11
|
||||||
|
];
|
||||||
|
|
||||||
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
wheel
|
wheel
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
aiohttp
|
aiohttp
|
||||||
diskcache
|
diskcache
|
||||||
|
fastapi
|
||||||
gptcache
|
gptcache
|
||||||
msal
|
msal
|
||||||
nest-asyncio
|
|
||||||
numpy
|
numpy
|
||||||
openai
|
openai
|
||||||
ordered-set
|
ordered-set
|
||||||
platformdirs
|
platformdirs
|
||||||
|
protobuf
|
||||||
pyformlang
|
pyformlang
|
||||||
requests
|
requests
|
||||||
tiktoken
|
tiktoken
|
||||||
|
uvicorn
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
@ -86,6 +93,8 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
pythonImportsCheck = [ "guidance" ];
|
pythonImportsCheck = [ "guidance" ];
|
||||||
|
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A guidance language for controlling large language models";
|
description = "A guidance language for controlling large language models";
|
||||||
homepage = "https://github.com/guidance-ai/guidance";
|
homepage = "https://github.com/guidance-ai/guidance";
|
||||||
|
|
Loading…
Reference in a new issue