Comments (4)
我这边没有这问题啊,说不定 chatgpt 就返回的这个结果。
from chatgpt-vercel.
我这边没有这问题啊,说不定 chatgpt 就返回的这个结果。
是的,chatgpt返回的就是这,第一次遇见这情况
from chatgpt-vercel.
格式仍然有问题,而且跟 chatgpt 无关,下面是我输入的内容:
我正在解力扣215. 数组中的第K个最大元素,下面是我的代码,问题出在哪里
public int findKthLargest(int[] nums, int k) {
int target = nums.length - k;
int l = 0, r = nums.length - 1;
while (true) {
int pivotIndex = partition(nums, l, r);
if (target == pivotIndex) {
return nums[target];
} else if (pivotIndex > target) {
r = pivotIndex - 1;
} else {
l = pivotIndex + 1;
}
}
}
private int partition(int[] nums, int l, int r) {
int middle = l + (r - l) / 2;
int pivot = nums[middle];
while (l < r) {
while (nums[l] < pivot) {
l++;
}
while (nums[r] > pivot) {
r--;
}
if (l <= r) {
int tmp = nums[l];
nums[l] = nums[r];
nums[r] = tmp;
l++;
r--;
}
}
return r;
}
而且最近chatgpt 的回复渲染出来的代码,有挺高几率都会出现代码错乱,可能跟 chatgpt 返回的代码包含缩进有关,渲染的时候识别错误。
from chatgpt-vercel.
markdown 换行的要求是空格+回车
from chatgpt-vercel.
Related Issues (20)
- OpenAI ChatGPT 免费 账号汇总(经测试全部可用)
- AlmaLinux8 私有部署脚本
- pnpm build后卡住 HOT 3
- 已经在env设置了key,打包后还是会提示没有填写 API key,或者 key 填写错误。
- 宝塔系统部署 HOT 1
- You exceeded your current quota, please check your plan and billing details. HOT 1
- 回答问题出现乱码 如何修复 HOT 1
- 使用wrangler部署到cloudflare wokers报错 HOT 1
- 怎么添加一个模型 HOT 1
- 建议加上”支持更长上下文的gpt-3.5.turbo-16k模型" HOT 1
- Spanish translation to documents and strings HOT 3
- 还是一样的问题,npm run dev有流式输出,但是在npm run start却没有!
- 自动返回识别Token返回对应的模板报错4096
- 上下文太长的时候发送回答在 mobile 上会卡顿 HOT 1
- 初次请求后,首页文字不加载,加载速度会很慢 HOT 3
- 切换模型没有效果,选择的 Gpt4,key 也升级到了 4,但是在对话中问当前是什么版本,还是回答 gpt3 HOT 1
- GPT4调用 HOT 3
- 大佬还有空更新支持Gemini吗
- Unexpected end of JSON input
- 如今部署会出错😂
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 chatgpt-vercel.