-
### System Info
I have used the SemanticSimilarityExampleSelector and created a prompt. When I try to pass this to agent it fails saying: **ValueError: Saving an example selector is not currently s…
-
**NOTE:** IF YOU DO NOT ATTACH YOUR LOG FILES, THEN THERE IS A HIGHER PROBABILITY THE ISSUE WON'T BE RESOLVED. (Steps at end)
# Please answer the following:
**FPP Version and Hardware**:
FPP v7.…
-
Sample Code -
```
llm = OpenAI(temperature=0.7, model_name="text-curie-001")
llm_predictor = LLMPredictor(llm)
prompt_helper = PromptHelper.from_llm_predictor(self.llm_predictor)
index = GPTLi…
-
guide: `https://gpt-index.readthedocs.io/en/latest/guides/building_a_chatbot.html`
This is code
```
from langchain import OpenAI
from pathlib import Path
from llama_index import GPTSimpleVect…
-
Trying to peel back some layers of abstraction, and `langchain.chains.question_answering.load_qa_chain`, and possibly simplify the chat-your-docs pattern. It feels pretty straightforward, so reduced m…
-
I run into the following error when using gpt2 from huggingface -
ValueError: Error raised by inference API: Input is too long for this model, shorten your input or use 'parameters': {'truncation'…
-
微博内容精选
-
Seeing a bunch of errors coming back from the OpenAI API:
> This model's maximum context length is 4097 tokens, however you requested 4303 tokens (4047 in your prompt; 256 for the completion). Plea…
-
I use chatgptllm to build index
llm_predictor = ChatGPTLLMPredictor(prepend_messages=CUSTOM_MESSAGE, model_name="gpt-3.5-turbo-0301",
temperature=0,max_toke…
-
With the recent success of ChatGPT, it seems possible to start including some nice helpers in Chamilo. This feature request for a plugin goes in that direction.
### ai_helper
To maintain the neu…