-
Take the given test:
```php
$usage = memory()[1];
$provider = new \Yethee\Tiktoken\EncoderProvider;
$provider->setVocabCache(storage_path('app'));
$encoder = $provider->getForModel('gpt-4o-mi…
-
The AI services infrastructure should keep track of token usage, for both user prompts and model responses. The numbers should be persistently stored (e.g. in user meta or options), so that plugins ca…
-
**The following projects are not maintained by OpenAI. I cannot vouch that any of them are correct or safe to use. Use at your own risk.**
Note that if a tokeniser fails to exactly match tiktoken's…
-
Hey, thanks for porting this over! I wanted to move to PHP to remove an extra dependency (docker server exposing Python TikToken over API). I decided to do a small benchmark and it seems that PHP vers…
-
-
### Bug Description
Hello,
I was using the retriever from a vector store index that has been initialized from a Weaviate collection. I noticed that the retrieved nodes have scores in reversed orde…
-
I've been using the yethee/tiktoken package successfully until yesterday. However, starting today, it no longer works with the gpt-3.5-turbo model. I am receiving the following error:
```php
[2024…
-
I am having basic problem of setting ontology2smw with my wiki. I have installed ontolong2smw and it directly created wikidetails.yml with some predefine things:
`host: 192.168.100.100
path: /w/
sc…
-
I installed go, did the build and when I try to run righthand at terminal, it says command not found: righthand. I opened the README.md and followed instructions. There is nothing about env requiremen…
-
### Bug Description
Hello,
I was using the retriever from a vector store index that has been initialized from a Weaviate collection. I noticed that the retrieved nodes have scores in reversed orde…