Commit History

clean final response
0f7bfc3

Paperbag commited on

Refactor answer_message function to clean up final response handling by removing redundant print statement and trimming the response content for better formatting.
b7ddafe

Paperbag commited on

Add docstring to get_image_file function in agent.py to clarify its purpose and usage.
efd70d5

Paperbag commited on

Remove version tag from Hugging Face model repository in agent.py for consistency.
8e56b06

Paperbag commited on

Add placeholder function for image file retrieval in agent.py
ee9c753

Paperbag commited on

Fetch question data from API and update agent to use dynamic question retrieval instead of a static prompt.
2388a4d

Paperbag commited on

Update Hugging Face model repository in agent.py to use DeepSeek-R1-0528 for improved text generation.
4925b03

Paperbag commited on

fixing empty output
685b36d

Paperbag commited on

Refactor answer_message function to prepend a SystemMessage for context, handle tool calls more robustly, and ensure final responses are generated without tool invocation. This enhances the overall response accuracy and flow.
ce86dad

Paperbag commited on

Fix web search output to use 'href' instead of 'url' for result links in agent.py
13e8626

Paperbag commited on

update ddgs
d740763

Paperbag commited on

Enhance answer_message function to include tool execution and result integration. The function now processes tool calls from the AI response, executes them, and appends the results before generating the final response.
9ad9538

Paperbag commited on

update prompt
48a69ad

Paperbag commited on

Temporarily running on 5 questions
854b294

Paperbag commited on

reduce api call
186221a

Paperbag commited on

update tool calling
3b80656

Paperbag commited on

update ddgs
6a9721c

Paperbag commited on

Refactor web search tool decorator in agent.py from @tools to @tool for improved clarity and consistency.
26c24d0

Paperbag commited on

fix2
7ce37be

Paperbag commited on

web search tools
d885880

Paperbag commited on

Refine answer_message function in agent.py to improve response generation. Updated prompt structure to guide the model in providing concise answers without thought processes, ensuring clarity in responses.
2337449

Paperbag commited on

Add .cursorignore to .gitignore and load environment variables in agent.py
55f8ad2

Paperbag commited on

Enhance agent functionality by integrating message handling and graph structure. Added read_message and answer_message functions to process user input and generate responses using the chat model. Updated AgentState to support both HumanMessage and AIMessage types.
e75d735

Paperbag commited on

adding edges
5c92669

Paperbag commited on

Refactor agent.py to use HuggingFaceEndpoint for model initialization and add AgentState TypedDict for message structure
7a7a231

Paperbag commited on

doing assignment
9fb199c

Paperbag commited on

requirements2
1acb765

Paperbag commited on

Merge branch 'main' of https://github.com/jytan023/Final_Assignment_Template
fa39913

Paperbag commited on

requirements
6f7371f

Paperbag commited on

Add GitHub Actions workflow to sync with Hugging Face
301eda5
unverified

JY commited on

clone
c8abd24

Paperbag commited on

Initial commit
ba0050b

Paperbag commited on