Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

I’m working with MCP server tools and have run into a question about the ordering of prompts and tool calls: In my workflow I use a tool (for example split_task_raw) to decompose a task. After the ...
uania's user avatar
  • 3
0 votes
0 answers
32 views

I'm trying to run the following prompt on Gemini Nano, the on-device AI. I'm running the prompt on the sample app Google provided: TASK: Extract entities from the input text into a single JSON object. ...
da Rocha Pires's user avatar
-2 votes
1 answer
112 views

I want to customize my zsh prompt so that when I open the terminal, it shows a normal prompt without a timestamp, like: ABIR~ ❯ When I type a command (for example, ls), the prompt still shows no ...
Abir Ahsan's user avatar
  • 3,089
1 vote
0 answers
299 views

I failed to use apply_chat_template when using function calling. Is there something I missed? Example I downloaded tokenizer.json and tokenizer_config.json for testing function calling to see its full ...
happycat's user avatar
0 votes
1 answer
55 views

After a windows update, I suddenly got this error today when starting the Anaconda Prompt: "input line is too long, the syntax of the command is incorrect". Seems like there is something ...
user1363251's user avatar
0 votes
0 answers
67 views

I have been trying to change my prompt in sys.ps1 with PYTHONSTARTUP. My idea was that I will show some information on first line (time, path) and the prompt on the second. When I tried changing ps1 ...
AnikeiPS's user avatar
1 vote
1 answer
395 views

I'm using the following code to send a prompt to the "google/gemma-2-2b" model via Hugging Face's Transformers pipeline: from transformers import AutoTokenizer, AutoModelForCausalLM, ...
hanugm's user avatar
  • 1,427
0 votes
0 answers
296 views

Below are the important variables defined in order to call prompt from CLI or Firebase Web. Schema & Function export const OperationSchema = z.object({ a: z.number(), b: z.number(), }); ...
Anupam Haldkar's user avatar
0 votes
1 answer
617 views

I am using invoke_model function of boto3 library for aws bedrock for Claude sonnet 3.5 v2, i am trying to use prompt caching by using the InvokeModel API of bedrock for claude, according to the ...
Anchit Rana's user avatar
0 votes
1 answer
441 views

In VSCode, I can run Python code from a .py file by selecting the code in the editor then typing shift+enter. It runs without error and opens a Python terminal (prompt turns to >>>). However, ...
socialscientist's user avatar
0 votes
0 answers
21 views

my chat application which uses panels on serving using Bokeh server does not show chat interface. to me it appears to be some bokeh compatibility with python packages. to solve I made separate app to ...
Amit bhardwaj's user avatar
0 votes
0 answers
250 views

I tried to create a prompt with two variants. I could not get it working, even when I mentioned two variants, it only created the first one and completely ignored the other. The sample of the program ...
Rajib Deb's user avatar
  • 1,866
0 votes
1 answer
16 views

Set-ExecutionPolicy-Scope : The term 'Set-ExecutionPolicy-Scope' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was ...
Ivy Mumbua's user avatar
2 votes
1 answer
89 views

Model selection confusion and some errors while trying to parse a resume with the following codes Trying to do a few shot prompting with a google flan t5 base model While Doing so I am getting an ...
sarthak basnet's user avatar
0 votes
1 answer
4k views

I see that codellama 7B Instruct has the following prompt template: <s>[INST] <<SYS>>\n{context}\n<</SYS>>\n\n{question} [/INST] {answer} </s> But I could not find ...
Md Golam Rassel Lincoln's user avatar
0 votes
1 answer
108 views

I am having trouble setting the dracula theme for zsh. I am NOT using oh-my-zsh. I have downloaded the theme and I have placed it in the correct folder. When I run ~/ prompt -l dracula adam1 adam2 ...
Alex Barbosa's user avatar
1 vote
0 answers
329 views

I want to instruct fine tune the base pretrained llama3.1 model. But base model do not have chat template in Huggingface. So can I use chat template of my interest to fine tune the model for my ...
Snegha's user avatar
  • 41
0 votes
0 answers
61 views

I am able to give a prompt to the user using powershell script but the issue is that the user is able to ignore it. What I mean is the user is able to open other programs and file even when the prompt ...
user26675830's user avatar
0 votes
0 answers
263 views

Hope someone can help. The sample code shows how to send multimodal prompt requests with locally stored images: import vertexai from vertexai.generative_models import GenerativeModel, Part, Image ...
user26612066's user avatar
0 votes
1 answer
45 views

I am producing a QC check script for my job. In it, I have set it up where you define a year, then it prompts the user with a question about what quality control types and lakes they want to run the ...
Matt Schaaf's user avatar
0 votes
1 answer
56 views

I am developing a QC check script for my job. I want it to be all within one function, and therefore prompts are asked to the user to determine the arguments used within the function. Here is an ...
Matt Schaaf's user avatar
0 votes
1 answer
494 views

I am currently working on a project where I utilize the Semantic Kernel with a plugins directory and multiple skills. My ultimate goal is to develop a GitHu. workflow to evaluate my prompts using the ...
Ta Abd's user avatar
  • 39
0 votes
1 answer
178 views

When I run a compilation command from batch file, the command did execute but after it completed, the command window close immediately I'm expecting the result shows in the command window after ...
zarul_88yahoocom's user avatar
1 vote
0 answers
310 views

I was trying to create a chatbot using a LLM and Chat Prompt Template. But I am facing this error :type error: object of type Chat Prompt Value has no len(). Could someone let me know where this error ...
Porselvan Prakash's user avatar
0 votes
1 answer
15k views

I'm working with Langchain and CrewAI libraries to gain an in-depth understanding of system prompting. Currently, I'm running the Ollama server manually (ollama serve) and trying to intercept the ...
Max Zemsky's user avatar

1
2 3 4 5
48