Comments (1)
I am getting the same error but I am getting this in generate_test_cases
.
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
[<ipython-input-18-9088abbc351a>](https://localhost:8080/#) in <cell line: 1>()
----> 1 generate_optimal_prompt(description, input_variables, NUMBER_OF_TEST_CASES, NUMBER_OF_PROMPTS, use_wandb)
1 frames
[<ipython-input-15-46e678895f92>](https://localhost:8080/#) in generate_test_cases(description, input_variables, num_test_cases)
227 message = response.json()
228
--> 229 response_text = message['content'][0]['text']
230
231 test_cases = json.loads(response_text)
KeyError: 'content'
from gpt-prompt-engineer.
Related Issues (20)
- Multi-line prompts are difficult to retrieve from the result table
- Shall we add a function to calculate Elo scores of its generations and the prompts which we write HOT 1
- Is it possible to reduce the computational complexity? HOT 4
- Fresh clone, can't npm install HOT 1
- suggestion
- steam table
- Openai ChatCompletion no longer supported? HOT 1
- JSONDecodeError HOT 4
- KeyError when accessing 'content' in API response at 12% progress
- requests not sufficiently defined in opus-to-haiku part
- Got error when running the sample notebook
- Add LiteLLM support so that we can use different LLM for prompt generation
- Can we add Gemini api support
- Running generate_optimal_prompt when the variables can hold a null value cause it to crash
- Integrate with R2R to generate optimized RAG pipelines?
- Getting KeyError: 'content' at Step 4 HOT 1
- MODEL GPT-3.5 IS NOT FOUND
- RATE LIMIT EXCEEDED WITH GPT-3.5-TURBO
- Create a version for LobeChat.com
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 gpt-prompt-engineer.