Comments (3)
This conversation discusses various approaches. https://community.openai.com/t/chatgpt-api-maximum-token/83321
from betterchatgpt.
This may be tricky, but I wonder if there is a way to keep user-defined strings assigned in earlier prompts in their entirety if and when the prior conversation in the thread is being summarized to save tokens.
{stringObject} = '"""blah, blah, for multiple lines"""
Then I refer to that string in future prompts in that thread (I suspect until the 4090 token limit is reached):
What are the main concepts that are presented in {stringObject}?
What metaphysical, epistemological, and ethical frameworks can be used to analyze the concepts presented in {stringObject}?
Ideally, I want to be able to use the {stringObject} for as long as I can in that particular conversation.
from betterchatgpt.
Well, it can be made with chapGpt. If we came to token limit - then just ask gpt to compress early messages. Then, system can store both. and real chat history, and compressed history, that also can be edited.
from betterchatgpt.
Related Issues (20)
- Allows user to put their API key in the server side HOT 1
- Assistants API: Any plans to add support?
- A normal simulation of the OpenAI interface returns normally, but the page fails to parse and display correctly without any error messages. The interface also returns a status code of 200.
- FR: ($100 Bounty) Add JavaScript based plugin
- NetworkError when attempting to fetch resource. HOT 1
- After compilation in Linux, it does not support text search, which is indeed quite inconvenient.
- Q: Are there any plans to add DALL-3 image generation to this repository? HOT 1
- Impossibile recuperare
- Vision Support, Dalle-3, Code Interpreter
- Add HTTP/SOCKS5 proxy support HOT 1
- Title generation takes the full message, which could exceed GPT 3.5 prompt window HOT 1
- Add new features in the interface.
- It is recommended to add the following models
- Feature Request: Message Active Toggle
- Latex/Mathjax Formula Support
- Feature Request: Web History API, persistent chat/mesage links HOT 1
- Can you please add support for google gemini in bettergpt or add another similar frontend repo for google gemini
- Error 1033 HOT 1
- support azure-openai gpt-35-turbo models (1106 and 0125) HOT 5
- Add the new GPT4 model 0125 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from betterchatgpt.