Skip to content

Ability to check the amount of tokens remaining using the API? #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
proudmuslim-dev opened this issue Mar 22, 2021 · 1 comment
Closed

Comments

@proudmuslim-dev
Copy link

proudmuslim-dev commented Mar 22, 2021

I couldn't find any reference to this in the docs and the slack chatroom is quite dead, so I'm opening an issue here to suggest it if it's not implemented yet.

pull bot referenced this issue in mcx/openai-python Oct 10, 2021
* Add support for modifying files and file_set support (#4)

* Add support for modifying files and file_set support

* Bump version

* Updated file sets to use name everywhere

* Bump to 0.4.0

* Added cli support for file and fileset (#5)

* Added cli support for file and fileset

* Back to .4.0

* Typo

* Add some basic tests to confirm that array stuff works

* Added a test for multiple prompts.

* refactor retriever endpoint (#6)

* Make higherlevel have class methods so you can call with openai.HigherLevel.answer (#7)

* refactor retriever endpoint

* Actually just make everything a classmethod so you can call it like openai.HigherLevel

* Rename file_sets to collections everywhere (#8)

* Rename file_sets to collections everywhere

* Remove collections (#10)

* Higherlevel endpoints now point to /v1 (#11)

* Higherlevel endpoints now point to v1

* new line

* Move answer and classification to top level attributes, rename higherlevel (#12)

* Move answer and classification to top level attributes

* New namespaces for answers and classifications

* Meant to make the method create

* Go up the class stack since we don't need all the things that engineapiresource gives us

* Add file support to search (#13)

* Add file support to search

* Add support for max_rerank

* Added return_metadata support

* Fixed some cherry pick issues
@hallacy
Copy link
Collaborator

hallacy commented Jan 24, 2022

Thanks for the issue and sorry it took so long to get back to you. I'm going to close this ticket since there are now usage dashboards on the playground: https://beta.openai.com/account/usage. Feel free to reopen if you think this is in error.

@hallacy hallacy closed this as completed Jan 24, 2022
cgayapr pushed a commit to cgayapr/openai-python that referenced this issue Dec 14, 2024
* Add support for modifying files and file_set support (openai#4)

* Add support for modifying files and file_set support

* Bump version

* Updated file sets to use name everywhere

* Bump to 0.4.0

* Added cli support for file and fileset (openai#5)

* Added cli support for file and fileset

* Back to .4.0

* Typo

* Add some basic tests to confirm that array stuff works

* Added a test for multiple prompts.

* refactor retriever endpoint (openai#6)

* Make higherlevel have class methods so you can call with openai.HigherLevel.answer (openai#7)

* refactor retriever endpoint

* Actually just make everything a classmethod so you can call it like openai.HigherLevel

* Rename file_sets to collections everywhere (openai#8)

* Rename file_sets to collections everywhere

* Remove collections (openai#10)

* Higherlevel endpoints now point to /v1 (openai#11)

* Higherlevel endpoints now point to v1

* new line

* Move answer and classification to top level attributes, rename higherlevel (openai#12)

* Move answer and classification to top level attributes

* New namespaces for answers and classifications

* Meant to make the method create

* Go up the class stack since we don't need all the things that engineapiresource gives us

* Add file support to search (openai#13)

* Add file support to search

* Add support for max_rerank

* Added return_metadata support

* Fixed some cherry pick issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants