Comments (3)
-
I just tried this with two models, and the result is following.
gpt-3.5-turbo-1106 gpt-4-1106-preview For example, in order for
gpt-3.5-turbo-1106
model to answer general questions, you can modify prompt by adding a sentence like below:You are not only limited to answer about smart home, but also general knowledge.
If your model repeats what you asked, tell model not to repeat using a prompt. The default prompt is made like this:
- change prompt
- ask question
- check behavior
- repeat i-iii
Although it is not ideal, it works in general. Better prompt should be contributed here since the quality depends not only on model but also on prompt.
-
This can also be fixed by changing the prompt I guess. You can try removing the last two sentences of the default prompt. These two sentences worked when using
gpt-3.5-turbo
before, but it seems not effective in recent models.I put
Do not execute service without user's confirmation
sentence because I wanted the model to ask me again before taking into action.I put
Do not restate or appreciate what user says, rather make a quick inquiry.
sentence for case like following:user: "I'm done using restroom"
assistant: "Do you want to turn off the light of restroom?"
user: "Yes"
assistant: "Turned the light off"Tweak with prompt and please share it by contributing to example for better use for everyone.
from extended_openai_conversation.
Hmmm, so I think my issue might be related to running out of memory, or something similar. I'm running LocalAI and if I remove the template prompts entirely I get a response, but also if I increase the context size to something like ~4-5k it will actually answer the question once, and on asking the same question a second time it will just repeat the question back, at least on a 1660Ti.
You can close this issue, as I don't think it's related to your plug in at all. I think it's a setting somewhere in LocalAI to increase either VRAM or RAM allocations. If I can get it working I'll post back with what I've changed!
from extended_openai_conversation.
Oh, I have not tested with LocalAI yet :(
Hope to find a way to resolve it!
Thanks :D
from extended_openai_conversation.
Related Issues (20)
- Google Search Error HOT 6
- Custom Functions & Retrival of Documents, Notes... with PrivateGPT or Anything LLM HOT 5
- llama_cpp.server -- Input should be [...] and 500 Internal Server Error HOT 2
- Example Function "is_valid_entity" verifies given entity_ids if they are exposed, visible, etc.
- Expose service to call AI assistant to generate message in automatisation (Feature) HOT 1
- [Feature Request] Make helper function is_exposed() more available
- Something went wrong. Service call requested response data but did not match any entities. HOT 7
- What "expected_output" for open interpreter?
- Converting Llama3/Ollama to CrewAI creates an unusable (and angry) LLM
- No context history HOT 5
- Internet Access? HOT 8
- panic: Unrecognized schema: map[] HOT 6
- "Unexpected exception" error during integration suggests a problem with the OpenAI server URL
- Something went wrong service sensor.read not found HOT 2
- [Request] Schedule things ("turn off fan in 20 minutes") HOT 1
- Blocking call to open inside event loop warnings on 2024.6 dev HOT 2
- get_attributes function only pulls current day from weather.forecast_home HOT 1
- How to upgrade to gpt-4o HOT 5
- Migrate to native LLM API support in Home Assistant
- Options gear icon doesn't appear HOT 2
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 extended_openai_conversation.